MCP PowerShell Exec Server
Overview
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.
Features
- Accepts PowerShell scripts via string input
- Executes scripts securely in an MCP Server environment
- Returns execution results in real-time
Installation
Clone the repository and set up the server:
git clone https://github.com/yourusername/mcp-powershell-exec.git
cd mcp-powershell-exec
In Action
Watch the video to see MCP PowerShell Exec Server in action:
Usage
Integration with GitHub Copilot in VSCode Insiders
To use this MCP server with GitHub Copilot in VSCode Insiders, follow these steps:
-
Install VSCode Insiders
- Download and install the latest version of VSCode Insiders
-
Install GitHub Copilot Extension
- Open VSCode Insiders
- Go to the Extensions marketplace
- Search for and install "GitHub Copilot"
-
Configure MCP Server
- Open .vscode/mcp.json
{ "servers": { "powershell-integration": { "command": "py", // Python executable "args": [ "drive:/yourpath/server.py" ], "env": {} } } }
Replace the path with the actual path to your
server.pyfile. -
Enable Agent Mode
- Open Copilot chat in VSCode Insiders
- Click on "Copilot Edits"
- Choose "Agent mode"
- Click the refresh button in the chat input to load the available tools
System Requirements
- Python: Version 3.10 or higher (required for optimal performance)
- PowerShell: Version 5.1
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For issues and questions:
- Create an issue in this GitHub repository
Metadata
Release files for iflow-mcp_dfinke-mcp-powershell-exec 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_dfinke_mcp_powershell_exec-0.1.0.tar.gz | 3.1 kB | Without provenance | Details for iflow_mcp_dfinke_mcp_powershell_exec-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_dfinke_mcp_powershell_exec-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_dfinke_mcp_powershell_exec-0.1.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / iflow_mcp_dfinke_mcp_powershell_exec-0.1.0.tar.gz
| Download URL | iflow_mcp_dfinke_mcp_powershell_exec-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcc6d2193355661fe76e90343be94733310fa44f88e656d67536c074576745b9
|
|
BLAKE2b-256 checksum How to use checksums |
f93a1584b3b495aa29ac155ec8852e49b4b4ab55e7137467943b2a60c59cd5cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / iflow_mcp_dfinke_mcp_powershell_exec-0.1.0-py3-none-any.whl
| Download URL | iflow_mcp_dfinke_mcp_powershell_exec-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04c46f15e85f2205f568ceea81fb02a71314fffc0b3dffd3228b0dd67c797af0
|
|
BLAKE2b-256 checksum How to use checksums |
0f6951c766350e5ae4c905069ba5a7ce07303580f5fd8bedc05fecac60f053f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for iflow-mcp_dfinke-mcp-powershell-exec 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.