pwsh-exec-mcp

v1.0.1
io.github.Jason26214/pwsh-exec-mcp Checked 2 days ago Published 5 months ago

A minimal, transparent PowerShell 7 MCP for Windows — one tool: raw exit code, stdout, stderr.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

run_command Run Command

Execute a command in a new PowerShell (pwsh 7) process. Stateless — no state persists between calls. NOT for long-running tasks. Hard cap is 300 seconds (5 minutes); there is no background mode. Do NOT use for: installers (Ollama, VS, .NET SDK, etc.), large builds, package managers that may exceed 5 minutes (npm install on cold cache, pip install torch, etc.), dev servers, or anything interactive.

ParameterTypeDescription
command *string
timeout *integerTimeout in SECONDS (not milliseconds). Integer between 1 and 300.
working_directorystring