Windows CLI MCP Server Configuration & Usage Guide

📦
Installationnpx
⚠️
Risk LevelHigh Risk
🔑
API KeyNot Required
💻
Clients3 supported

Windows PowerShell 和 CMD 命令执行,支持在 Windows 环境中运行脚本

High Risk Category: File & Local System Verified: 2026-05-18 状态:部分核验

Supported Clients

Installation Command

npx -y win-cli-mcp-server

Configuration Example

{
  "mcpServers": {
    "windows-cli": {
      "command": "npx",
      "args": [
        "-y",
        "win-cli-mcp-server"
      ]
    }
  }
}

Permission Scope & Security Notes

可执行任意 Windows 命令(PowerShell/CMD),风险极高,仅在完全信任的环境中使用

Risk Score:9/10

Common Errors

命令执行超时
长时间运行的命令可能超时,尝试拆分为多个短命令
权限不足
部分命令Required管理员权限,以管理员身份运行Clients

Sources

Recently Verified:2026-05-18。Client versions and configuration formats may change. Please refer to official documentation before use.

Related Tools