NestDaddy

Pwsh Exec Mcp

io.github.Jason26214/pwsh-exec-mcp ยท v1.0.1

A minimal, transparent PowerShell 7 MCP for Windows โ€” one tool: raw exit code, stdout, stderr.

Connect Runs on your machine

Terminal
claude mcp add pwsh-exec-mcp -e PWSH_EXEC_DEFAULT_DIR=<PWSH_EXEC_DEFAULT_DIR> -- uvx pwsh-exec==1.0.1
claude_desktop_config.json
{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec==1.0.1"
      ],
      "env": {
        "PWSH_EXEC_DEFAULT_DIR": "<PWSH_EXEC_DEFAULT_DIR>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec==1.0.1"
      ],
      "env": {
        "PWSH_EXEC_DEFAULT_DIR": "<PWSH_EXEC_DEFAULT_DIR>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
PWSH_EXEC_DEFAULT_DIR
Optional
Default working directory for commands (defaults to %TEMP%/pwsh-exec).

Details

Package[email protected] (PYPI, stdio)
First published13 Jun 2026
Last updated13 Jun 2026
Registry nameio.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.