pwsh exec mcp for VS Code
io.github.jason26214/pwsh-exec-mcp
A minimal, transparent PowerShell 7 MCP for Windows — one tool: raw exit code, stdout, stderr.
client:VS Code
transport:stdio
runtime:pypi
Install pwsh exec mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "pwsh-exec-default-dir",
"description": "PWSH_EXEC_DEFAULT_DIR",
"password": true
}
],
"servers": {
"pwsh-exec-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"pwsh-exec"
],
"env": {
"PWSH_EXEC_DEFAULT_DIR": "${input:pwsh-exec-default-dir}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs