MCP Server that dynamically creates tools from PowerShell modules and commands.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"poshmcp": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Transform PowerShell into AI-consumable tools with zero code changes.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Deployment GuideDeployment guide documentation
poshmcp://resources/deployment-guide
ProcessesLive system processes
poshmcp://resources/running-processes
check-serviceReusable template for checking service status
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
App framework, testing framework, and inspector for MCP Apps.
MCP Security Weekly
Get CVE alerts and security updates for PoshMcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Transform PowerShell into AI-consumable tools with zero code changes.
PoshMcp is a Model Context Protocol (MCP) server that dynamically exposes PowerShell scripts, cmdlets, and modules as secure, discoverable tools for AI agents and automation platforms. Built for PowerShell experts who want to extend their automation capabilities to AI-powered workflows.
PoshMcp bridges the gap between traditional PowerShell automation and modern AI interfaces. It provides:
Perfect for: DevOps engineers, system administrators, and PowerShell toolmakers who want to democratize access to their automation scripts.
Full documentation at https://usepowershell.github.io/PoshMcp/
Expose a PowerShell command to an AI agent:
# Your PowerShell command - no changes needed
Get-Service -Name "wuauserv"
PoshMcp automatically:
Get-Service and its parametersGet-ServiceResult: AI agents can now check Windows service status using natural language.
Get-Help and Get-Command (description precedence)/health and /health/ready endpoints for Kubernetes# Install the CLI tool
dotnet tool install -g poshmcp
# Create a default config in the current directory
poshmcp create-config
# Run stdio server (for MCP clients)
poshmcp serve --transport stdio
# Run HTTP server (for web integration)
poshmcp serve --transport http --port 8080
Preview builds: To install the latest preview from GitHub Packages, see Installing Preview Builds in the Getting Started guide.
From source:
git clone https://github.com/microsoft/poshmcp.git
cd poshmcp
# Build the project
dotnet build
# Run stdio server (for MCP clients)
dotnet run --project PoshMcp.Server -- serve --transport stdio
# Run HTTP server (for web integration)
dotnet run --project PoshMcp.Server -- serve --tr
... [View full README on GitHub](https://github.com/usepowershell/PoshMcp#readme)