MCP PowerShell 执行服务器
用于执行 PowerShell 脚本的轻量级服务器,支持实时返回结果。
快速入门
- 克隆仓库: git clone https://github.com/dfinke/mcp-powershell-exec.git cd mcp-powershell-exec
- 配置 MCP 服务器: 修改 .vscode/mcp.json 文件,指定 Python 和 server.py 的路径。
- 启用 Agent 模式: 在 VSCode Insiders 中安装 GitHub Copilot 插件,启用 Agent 模式并加载工具。
- 系统要求:
- Python 3.10 或更高版本
- PowerShell 5.1 或更高版本
- 查看示例视频:YouTube 视频