MCP.Market

Pwsh Exec MCP server

by Jason26214·io.github.Jason26214/pwsh-exec-mcp·v1.0.1·1 stars

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

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed Pwsh Exec yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Pwsh Exec tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan5 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 106 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Pwsh Exec compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 63% of 48,243 servers
GitHub stars
1
more than 65% of 28,706 servers

Install Pwsh Exec in Claude Code, Cursor or VS Code

claude mcp add pwsh-exec-mcp -- uvx pwsh-exec
Add to Cursor

What the publisher says

From the Pwsh Exec repository's README, as published. We do not edit it. Read it on GitHub

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, runcommand, that runs a command in a fresh pwsh process and returns the raw exitcode, stdout, and stderr — nothing parsed, filtered, or reformatted.

  • One tool, three inputs — command, timeout (seconds), optional working_directory.
  • Transparent — exit code + stdout + stderr returned verbatim, errors and all.
  • Stateless — every call is a new process; no session state persists.
  • Bounded — 1–300 s timeout per call; on timeout the whole process tree is killed.
  • Windows-hardened — UTF-8 output on any locale, PATH read fresh from the registry, no stdin hangs.
  • Not for — persistent shells, admin-elevated tasks, or long-running / background jobs.

It gives any AI agent on Windows a real terminal: you send a command, you get back exactly what the terminal produced.

Status — stable & complete

Feature-complete and stable. One tool, a frozen v1.0.0 API, 38 passing tests, in daily use driving real agent work since April 2026 with no known bugs. Reproducible bugs get fixed; the scope stays intentionally small — it does one thing.

Requirements

  • Windows
  • PowerShell 7 (pwsh) on PATH — this is the modern cross-platform PowerShell, not the built-in Windows PowerShell 5.1 (powershell.exe). Install it via winget install Microsoft.PowerShell or from the official install guide.
  • uv — provides the uvx runner used below.

Install

No clone required — uvx fetches and runs it on demand. Register it with your MCP client (stdio transport):

Any MCP client

Use this as the server's launch command:

uvx pwsh-exec

Claude Desktop

Edit claudedesktopconfig.json:

{
  "mcpServers": {
    "pwsh-exec": {
      "command": "cmd",
      "args": ["/c", "uvx", "pwsh-exec"]
    }
  }
}

The cmd /c wrapper is recommended on Claude Desktop: as an Electron app it has no console of its own, and launching a console program directly can leave child processes (pwsh → git and other external .exes) without a working console — flickering windows, lost stdout, PATH lookups failing. cmd.exe acquires the hidden console first and every child inherits it. This is the same pattern Desktop Commander and other Windows MCP servers use.

The tool: run_command

The output is plain text: the exit code first, then labelled stdout and stderr sections (empty ones still show, so the two streams are never ambiguous), then a diagnostic footer with a timestamp and elapsed time.

For example, calling run_command with command: "git status" returns the raw git output, untouched:

exit_code: 0

stdout:
On branch main
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   app.py

no changes added to commit (use "git add" and/or "git commit -a")

stderr:
(empty)

[2026-06-13 08:43:11 | 625ms]

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Pwsh Exec: common questions

Is Pwsh Exec MCP server safe?
Mostly: it is graded B (82/100). Read the Pwsh Exec safety report
How do I install Pwsh Exec?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Pwsh Exec need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is Pwsh Exec maintained?
The last commit was 145 days ago (2026-06-13). The latest release is v1.0.1.
How does Pwsh Exec compare with other MCP servers?
safety score 82/100 (higher than 63% of 48,243 servers); github stars 1 (more than 65% of 28,706 servers). Full comparison.

More from Jason26214 →