
Powershell Mcp
Gives Claude direct PowerShell access on Windows without spawning visible console windows that steal focus. Every command runs hidden with structured output (stdout, stderr, exit code, duration), hard timeouts, and output capping. Beyond raw shell execution, you get first-class tools for Windows service control (start, stop, restart), system info, and remote operations. The ssh_exec and winrm_exec tools run commands on Linux and Windows boxes respectively, both in-process without shelling out to ssh.exe or requiring WSL. Includes SFTP upload and download for file transfer. Prefers PowerShell 7+ with automatic fallback to Windows PowerShell. Useful for managing Windows servers, backup systems, or any scenario where you need unattended automation running alongside interactive work.
- GitHub stars
- 1
- tools
- 13
- transport
- STDIO
- last updated
- Nov 10, 2026
Tools
13 toolsPublic tool metadata for what this MCP can expose to an agent.
run_powershellRun any PowerShell script/command (hidden).
Run any PowerShell script/command (hidden).
No parameter schema in public metadata yet.
runtime_capabilitiesRead-only package/protocol version, supported and detected available engines, engine policy, transports and input/output/timeout limits.
Read-only package/protocol version, supported and detected available engines, engine policy, transports and input/output/timeout limits.
No parameter schema in public metadata yet.
run_programRun a native executable directly (no shell) and capture its stdout/stderr and exit code with direct argument passing.
Run a native executable directly (no shell) and capture its stdout/stderr and exit code with direct argument passing.
No parameter schema in public metadata yet.
list_servicesList services, optional filter wildcard.
List services, optional filter wildcard.
No parameter schema in public metadata yet.
get_serviceDetailed status of one service by name.
Detailed status of one service by name.
No parameter schema in public metadata yet.
control_serviceStart, stop, restart or status a service.
Start, stop, restart or status a service.
No parameter schema in public metadata yet.
system_infoOS, CPU, memory, and per-drive disk summary.
OS, CPU, memory, and per-drive disk summary.
No parameter schema in public metadata yet.
ssh_execRun a command on a remote host over SSH, fully in-process.
Run a command on a remote host over SSH, fully in-process.
No parameter schema in public metadata yet.
winrm_execRun a command on a remote Windows host via PowerShell Remoting (WinRM / Invoke-Command).
Run a command on a remote Windows host via PowerShell Remoting (WinRM / Invoke-Command).
No parameter schema in public metadata yet.
sftp_uploadUpload a local file to a remote host over SFTP, in-process.
Upload a local file to a remote host over SFTP, in-process.
No parameter schema in public metadata yet.
sftp_downloadDownload a remote file to this host over SFTP, in-process.
Download a remote file to this host over SFTP, in-process.
No parameter schema in public metadata yet.
read_output_logRead a protected output log by handle, stream, byte offset and length.
Read a protected output log by handle, stream, byte offset and length.
No parameter schema in public metadata yet.
delete_output_logRemove an output log.
Remove an output log.
No parameter schema in public metadata yet.
Sponsors
Readme
powershell-mcp
A Model Context Protocol server that gives AI agents real, non-intrusive access to Windows PowerShell.
Most tools that let an agent run Windows commands spawn a visible console window for every call — which steals focus and interrupts whatever you're typing. powershell-mcp runs everything in a hidden process (windowsHide: true / no CreateWindow), captures structured output, enforces hard timeouts, and exposes purpose-built tools for service and system management. Built for running unattended next to a human at the keyboard.
Why
Details
- Repository
- github.com/imrrd/powershell-mcp
- Category
- Web & Browser Automation
- Package
@imrrd/powershell-mcp- Transport
- STDIO
- Registry
- MCP registry, active