pwsh exec mcp for Cursor
io.github.jason26214/pwsh-exec-mcp
A minimal, transparent PowerShell 7 MCP for Windows — one tool: raw exit code, stdout, stderr.
client:Cursor
transport:stdio
runtime:pypi
Install pwsh exec mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"pwsh-exec-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"pwsh-exec"
],
"env": {
"PWSH_EXEC_DEFAULT_DIR": "<PWSH_EXEC_DEFAULT_DIR>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs