Servers
MCP PowerShell Exec Server
@dfinke
MCP Server for executing PowerShell scripts
Overview
What is MCP PowerShell Exec Server?
MCP PowerShell Exec Server is a lightweight MCP server that accepts PowerShell scripts as string inputs, executes them securely, and returns the output in real time. It is designed to enable AI assistants to understand and work with PowerShell.
How to use MCP PowerShell Exec Server?
Clone the repository and configure the server in VSCode Insiders by editing .vscode/mcp.json with the command py and args pointing to the server.py path. Then enable Agent mode in Copilot Edits and refresh the available tools.
Key features of MCP PowerShell Exec Server
- Accepts PowerShell scripts via string input
- Executes scripts securely in an MCP Server environment
- Returns execution results in real time
- Enables AI assistants to understand and work with PowerShell
Use cases of MCP PowerShell Exec Server
- Enabling AI assistants to execute and understand PowerShell scripts
- Integrating with GitHub Copilot in VSCode Insiders to run PowerShell commands through agent mode
FAQ from MCP PowerShell Exec Server
What are the system requirements for MCP PowerShell Exec Server?
Python 3.10 or higher and PowerShell 5