# io.github.IMRRD/powershell-mcp (npm · powershell-mcp)

Headless Windows ops over MCP: hidden PowerShell + in-process SSH, WinRM & SFTP.

- Trust score: 70/100 (medium)
- Change this week: +24
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `powershell-mcp`: 70/100 (this document), [markdown](https://verifymcp.io/servers/imrrd-powershell-mcp/powershell-mcp.md), [page](https://verifymcp.io/servers/imrrd-powershell-mcp/powershell-mcp)

## Channel facts

- Registry: `npm`
- Package: `powershell-mcp`
- Version: `0.3.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (103 of 107), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (103 of 107), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 61 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1004 tokens (~111/item across 9 items; 9 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add imrrd-powershell-mcp -- npx -y powershell-mcp
```

### Codex

```bash
codex mcp add imrrd-powershell-mcp -- npx -y powershell-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "imrrd-powershell-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "powershell-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add imrrd-powershell-mcp --command npx --arg -y --arg powershell-mcp
```

### Hermes

```yaml
mcp_servers:
  imrrd-powershell-mcp:
    command: "npx"
    args: ["-y", "powershell-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "imrrd-powershell-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "powershell-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 70, +1)

- [functional regression] Security disclosure: unverified → fail

### 2026-08-02 (score 69, +48)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional] First check of Schema quality: unverified
- [functional] Licence: MIT

### 2026-07-31 (score 21, −25)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (9)

### `run_powershell` (~91 tokens)

Run a PowerShell script/command on this Windows host in a hidden process (no console window appears). Returns stdout, stderr and exit code. Use for any Windows command, file, or system task.

Input parameters:

- `cwd` (string): Working directory.
- `script` (string, required): PowerShell script or command to execute.
- `timeoutMs` (integer): Hard timeout in ms (default 60000).

### `list_services` (~50 tokens)

List Windows services, optionally filtered by a name pattern. Returns Name, DisplayName, Status.

Input parameters:

- `filter` (string): Wildcard name filter, e.g. 'Sql*' or '*backup*'.

### `get_service` (~32 tokens)

Get detailed status of one Windows service by name.

Input parameters:

- `name` (string, required): Exact service name (not display name).

### `control_service` (~48 tokens)

Start, stop, or restart a Windows service (requires the MCP host process to have sufficient privileges).

Input parameters:

- `action` (string, required): Action to perform.
- `name` (string, required): Exact service name.

### `system_info` (~22 tokens)

Return OS, CPU, memory and disk summary for this Windows host.

### `ssh_exec` (~246 tokens)

Run a command on a remote host over SSH, fully in-process (no ssh.exe, no WSL — works headless). Use for Linux hosts or any OpenSSH target. Auth via privateKeyPath or password. Returns stdout, stderr, exit code.

Input parameters:

- `command` (string, required): Command to run on the remote host.
- `host` (string, required): Remote host or IP.
- `maxOutputBytes` (integer): Cap captured stdout/stderr per stream (bytes, default 1 MiB).
- `passphrase` (string): Passphrase for the private key, if any.
- `password` (string): Password auth (used if no key).
- `port` (integer): SSH port (default 22).
- `privateKeyPath` (string): Path to a private key file on this Windows host, e.g. C:\\Users\\isak\\.ssh\\id_ed25519.
- `tail` (boolean): Keep the LAST maxOutputBytes instead of the first (tail) — useful for long logs.
- `timeoutMs` (integer): Hard timeout in ms (default 60000). Also bounds the connection handshake.
- `username` (string, required): SSH username.

### `winrm_exec` (~167 tokens)

Run a command on a remote Windows host via PowerShell Remoting (WinRM / Invoke-Command). Native to Windows Server — no SSH server or agent needed on the target, only WinRM enabled. Output captured in-process (no console window).

Input parameters:

- `authentication` (string): WinRM auth mechanism.
- `command` (string, required): PowerShell command/scriptblock body to run remotely.
- `computerName` (string, required): Remote Windows host name or IP.
- `password` (string): Credential password.
- `timeoutMs` (integer): Hard timeout in ms (default 120000).
- `useSsl` (boolean): Use HTTPS/5986 WinRM.
- `username` (string): Credential username (DOMAIN\\user or host\\user). Omit to use the host process identity.

### `sftp_upload` (~178 tokens)

Upload a local file to a remote host over SFTP, in-process (ssh2 — no scp.exe, no WSL, headless). Use to deploy scripts/configs to Linux hosts.

Input parameters:

- `host` (string, required): Remote host or IP.
- `localPath` (string, required): Local file path on this Windows host.
- `passphrase` (string): Passphrase for the private key, if any.
- `password` (string): Password auth (used if no key).
- `port` (integer): SSH port (default 22).
- `privateKeyPath` (string): Path to a private key file on this Windows host.
- `remotePath` (string, required): Destination path on the remote host.
- `timeoutMs` (integer): Hard timeout in ms (default 120000).
- `username` (string, required): SSH username.

### `sftp_download` (~170 tokens)

Download a file from a remote host to this Windows host over SFTP, in-process (ssh2 — no scp.exe, no WSL, headless).

Input parameters:

- `host` (string, required): Remote host or IP.
- `localPath` (string, required): Destination path on this Windows host.
- `passphrase` (string): Passphrase for the private key, if any.
- `password` (string): Password auth (used if no key).
- `port` (integer): SSH port (default 22).
- `privateKeyPath` (string): Path to a private key file on this Windows host.
- `remotePath` (string, required): Source path on the remote host.
- `timeoutMs` (integer): Hard timeout in ms (default 120000).
- `username` (string, required): SSH username.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/imrrd-powershell-mcp/powershell-mcp#diagnostics

## Score history

- 2026-08-03: 70
- 2026-08-02: 69
- 2026-08-01: 21
- 2026-07-31: 21
- 2026-07-30: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/powershell-mcp
- Socket report: https://socket.dev/npm/package/powershell-mcp
- Repository: https://github.com/IMRRD/powershell-mcp
- Changelog RSS feed: https://verifymcp.io/servers/imrrd-powershell-mcp/powershell-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/imrrd-powershell-mcp/powershell-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/imrrd-powershell-mcp/powershell-mcp
