A minimal, transparent PowerShell 7 MCP for Windows โ one tool: raw exit code, stdout, stderr.
Connect Runs on your machine
claude mcp add pwsh-exec-mcp -e PWSH_EXEC_DEFAULT_DIR=<PWSH_EXEC_DEFAULT_DIR> -- uvx pwsh-exec==1.0.1
{
"mcpServers": {
"pwsh-exec-mcp": {
"command": "uvx",
"args": [
"pwsh-exec==1.0.1"
],
"env": {
"PWSH_EXEC_DEFAULT_DIR": "<PWSH_EXEC_DEFAULT_DIR>"
}
}
}
}
{
"mcpServers": {
"pwsh-exec-mcp": {
"command": "uvx",
"args": [
"pwsh-exec==1.0.1"
],
"env": {
"PWSH_EXEC_DEFAULT_DIR": "<PWSH_EXEC_DEFAULT_DIR>"
}
}
}
}
{
"servers": {
"pwsh-exec-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"pwsh-exec==1.0.1"
],
"env": {
"PWSH_EXEC_DEFAULT_DIR": "<PWSH_EXEC_DEFAULT_DIR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
PWSH_EXEC_DEFAULT_DIROptional | Default working directory for commands (defaults to %TEMP%/pwsh-exec). |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 13 Jun 2026 |
| Last updated | 13 Jun 2026 |
| Registry name | io.github.Jason26214/pwsh-exec-mcp |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
