Skip to content
MCP server

Pwsh Exec MCP

A minimal, transparent PowerShell 7 MCP for Windows — one tool: raw exit code, stdout…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
5 days ago

About Pwsh Exec MCP

Pwsh Exec MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add pwsh-exec-mcp -- uvx pwsh-exec

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "pwsh-exec-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pwsh-exec"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PWSH_EXEC_DEFAULT_DIRDefault working directory for commands (defaults to %TEMP%/pwsh-exec).

Pricing

Open source

Pwsh Exec MCP FAQ

Is Pwsh Exec MCP free?

Yes. Pwsh Exec MCP is open source, so you can use and self-host it for free.

How do I add Pwsh Exec MCP to Claude Code?

Run this command in your terminal: claude mcp add pwsh-exec-mcp -- uvx pwsh-exec

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers