Poshmcp MCP Server

A Model Context Protocol (MCP) server that exposes PowerShell cmdlets as tools for AI assistants like Claude or Github Copilot. Built with security

Local serverstdioGo

What is the Poshmcp MCP Server?

A Model Context Protocol (MCP) server that exposes PowerShell cmdlets as tools for AI assistants like Claude or Github Copilot. Built with security in mind through

The short version

This MCP server dynamically loads PowerShell cmdlets from modules and scripts, automatically generating tool schemas from cmdlet documentation. Unlike traditional PowerShell remoting, this server uses a whitelist approach - only explicitly configured cmdlets are exposed, making it safer for AI interactions.

  • Declarative Configuration — Define available tools in a simple JSON config file
  • Automatic Schema Generation — Uses PowerShell reflection to generate MCP tool schemas from cmdlet help documentation
  • Security by Whitelisting — Only explicitly listed cmdlets are exposed as tools
  • Dynamic Loading — Supports both PowerShell modules (.psm1) and script files (.ps1)
  • Type Conversion — Automatically handles parameter type conversions (DateTime, switch parameters, etc.)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Frequently asked questions

A Model Context Protocol (MCP) server that exposes PowerShell cmdlets as tools for AI assistants like Claude or Github Copilot. Built with security in mind through Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.