P

Pwsh Exec Mcp

MCP server · by Jason26214

Developer Tools Python v1.0.1

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

View source ↗ Generate config for multiple servers More servers

Install

registry version 1.0.1

Python
uvx pwsh-exec

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

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

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

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

GitHub

⭐ 1 stars · 最近更新于 152 天前 · MIT license

About this server

pwsh exec A minimal, transparent PowerShell 7 MCP for Windows — one tool: run a command, get raw exit code / stdout / stderr back. pwsh exec is a minimal, transparent PowerShell 7 MCP server for Windows. It exposes a single tool, run command , that runs a command in a fresh pwsh process and returns…

Summary from the project README — github.com/Jason26214/pwsh-exec-mcp

Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the Pwsh Exec Mcp MCP server do?

pwsh exec A minimal, transparent PowerShell 7 MCP for Windows — one tool: run a command, get raw exit code / stdout / stderr back. pwsh exec is a minimal, transparent PowerShell 7 MCP server for Windows. It exposes a single tool, run command , that runs a command in a fresh pwsh process and returns

How do I install Pwsh Exec Mcp?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Pwsh Exec Mcp free to use?

The MCP server itself is free to install. The source is public on https://github.com/Jason26214/pwsh-exec-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Pwsh Exec Mcp?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/pwsh-exec-mcp.svg)](https://mcpnav.net/server/pwsh-exec-mcp/)

HTML

<a href="https://mcpnav.net/server/pwsh-exec-mcp/"><img src="https://mcpnav.net/badge/pwsh-exec-mcp.svg" alt="Listed on MCPNav" height="20"></a>