MCP PowerShell 执行服务器

MCP PowerShell 执行服务器

用于执行 PowerShell 脚本的轻量级服务器,支持实时返回结果。

快速入门

  1. 克隆仓库: git clone https://github.com/dfinke/mcp-powershell-exec.git cd mcp-powershell-exec
  2. 配置 MCP 服务器: 修改 .vscode/mcp.json 文件,指定 Python 和 server.py 的路径。
  3. 启用 Agent 模式: 在 VSCode Insiders 中安装 GitHub Copilot 插件,启用 Agent 模式并加载工具。
  4. 系统要求:
    • Python 3.10 或更高版本
    • PowerShell 5.1 或更高版本
  5. 查看示例视频:YouTube 视频