powershell mcp for VS Code
io.github.imrrd/powershell-mcp
Headless Windows ops over MCP: hidden PowerShell plus in-process SSH, WinRM and SFTP.
client:VS Code
transport:stdio
runtime:npm
Install powershell mcp in VS Code
.vscode/mcp.json
{
"servers": {
"powershell-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@imrrd/powershell-mcp"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs