Powershell.MCP
@yotsuda
关于 Powershell.MCP
Enables PowerShell console to function as an MCP server for Claude Desktop.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"PowerShell": {
"command": "C:\\Users\\YourName\\Documents\\PowerShell\\Modules\\PowerShell.MCP\\1.3.3\\bin\\PowerShell.MCP.Proxy.exe"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Powershell.MCP?
Powershell.MCP is a tool that enables AI assistants (such as Claude Desktop) to execute any PowerShell commands and CLI tools within a persistent PowerShell console. It is built for users who want to collaborate with AI in a shared, stateful PowerShell session across Windows, Linux, or macOS.
How to use Powershell.MCP?
Install the PowerShell module via Install-Module PowerShell.MCP, then obtain the proxy path with Get-MCPProxyPath. Configure your MCP client (e.g., Claude Desktop) to use that proxy as an MCP server. Restart the client to start interacting with the PowerShell console.
Key features of Powershell.MCP
- Shared PowerShell console between user and AI
- Persistent session state (directory, modules, variables)
- Instant command execution with no process startup delay
- Real-time streaming output with separated streams
- Access to thousands of PowerShell Gallery modules and CLI tools
- LLM‑optimized text file operations up to 100× faster
- 7 built‑in prompts for common workflows
- Local‑only communication via named pipes
Use cases of Powershell.MCP
- Automating repetitive system administration tasks
- Collaborative script development with AI assistance
- Managing cloud resources (Azure, AWS, Google Cloud) via PowerShell modules
- Exploring and learning PowerShell through interactive demos
- Processing large text files efficiently with specialized cmdlets
FAQ from Powershell.MCP
What are the security implications of using Powershell.MCP?
Powershell.MCP provides complete PowerShell access to your system. Malicious use could result in severe damage. It is designed for trusted environments only, with every executed command visible in the console and no network exposure.
What are the prerequisites for Powershell.MCP?
PowerShell 7.2 or higher is required on all platforms. A compatible GUI desktop is needed on Linux, and Windows requires Windows 10/11 or Server 2016+. Claude Desktop is strongly recommended as the MCP client.
Does Powershell.MCP work cross‑platform?
Yes, it supports Windows, Linux (Ubuntu 22.04+, Debian 11+, RHEL 8+), and macOS 12+. The proxy binary is platform‑specific (win‑x64, linux‑x64, osx‑arm64, osx‑x64).
How does Powershell.MCP handle session state?
The current directory, imported modules, authenticated sessions, variables, functions, and mounted PSDrives persist throughout the entire session without needing re‑initialization between commands.
Does Powershell.MCP require a RAG system or context grounding?
No. You can gather necessary documents in a folder and tell the AI to check that folder. The AI instantly accesses all the knowledge without complex RAG infrastructure.
开发工具 分类下的更多 MCP 服务器
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
评论