PowerShell执行器
STDIO执行PowerShell脚本的轻量级服务器
执行PowerShell脚本的轻量级服务器
MCP PowerShell Exec Server is a lightweight server that accepts PowerShell scripts as strings, executes them, and returns the output. Enabling AI assistants to understand and work with PowerShell.
Clone the repository and set up the server:
git clone https://github.com/yourusername/mcp-powershell-exec.git cd mcp-powershell-exec
Watch the video to see MCP PowerShell Exec Server in action:
To use this MCP server with GitHub Copilot in VSCode Insiders, follow these steps:
Install VSCode Insiders
Install GitHub Copilot Extension
Configure MCP Server
{ "servers": { "powershell-integration": { "command": "py", // Python executable "args": [ "drive:/yourpath/server.py" ], "env": {} } } }
Replace the path with the actual path to your server.py
file.
Enable Agent Mode
This project is licensed under the MIT License - see the LICENSE file for details.
For issues and questions: