Pwsh Exec MCP Server
by jason26214io.github.Jason26214/pwsh-exec-mcpv1.0.1
A minimal, transparent PowerShell 7 MCP for Windows — one tool: raw exit code, stdout, stderr.
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install Pwsh Exec MCP server
Install in Claude Code
claude mcp add pwsh-exec -- uvx pwsh-execInstall in Cursor
{
"mcpServers": {
"pwsh-exec": {
"command": "uvx",
"args": [
"pwsh-exec"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"pwsh-exec": {
"command": "uvx",
"args": [
"pwsh-exec"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"pwsh-exec": {
"type": "stdio",
"command": "uvx",
"args": [
"pwsh-exec"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"pwsh-exec": {
"command": "uvx",
"args": [
"pwsh-exec"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| PWSH_EXEC_DEFAULT_DIR | — | — | Default working directory for commands (defaults to %TEMP%/pwsh-exec). |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-13 · 4mo ago · GitHub
Latest release
2026-06-13 · 4mo ago · GitHub · v1.0.1
Package published
no data · npm/PyPI
Registry entry updated
2026-06-13 · 4mo ago · official registry · v1.0.1
FAQ
›How do I install the Pwsh Exec MCP server in Claude Code?
Run: claude mcp add pwsh-exec -- uvx pwsh-exec. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Pwsh Exec require an API key?
No required environment variables are declared in its published metadata.
›Can I use Pwsh Exec as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Pwsh Exec in the official MCP registry?
Yes, as io.github.Jason26214/pwsh-exec-mcp.