# PowerShell MCP server

> Lets AI clients run PowerShell commands and any CLI tool in a shared, visible console session on Windows, Linux, or macOS.

- Repository: https://github.com/yotsuda/PowerShell.MCP
- Page: https://hostedmcp.org/servers/yotsuda/powershell-mcp
- Transport: —
- Stars: 110
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `POWERSHELL_MCP_TIMEOUT_CEILING` | no | no |  |

## FAQ

### What does PowerShell.MCP let an AI client do?

It gives AI assistants access to PowerShell and any CLI tool, running commands in a shared console where you can watch every command execute.

### What are the prerequisites for PowerShell.MCP?

You need PowerShell 7.4+ and an MCP client such as Claude Desktop or Claude Code. It runs on Windows, Linux, and macOS.

### How do I install PowerShell.MCP for Claude Code?

Install the module with Install-PSResource, then run Register-PwshToClaudeCode and restart your client.

### Does the AI see secrets I type at interactive prompts?

No, input from prompts like Read-Host -AsSecureString or Get-Credential stays with you and is not shown to the AI.

### Can multiple client sessions run at once?

Yes, each client instance gets its own exclusive console with a unique window title, so parallel sessions do not conflict.
