MCP.so
Sign In

PowerShell MCP Server

@gunjanjp

About PowerShell MCP Server

PowerShell MCP Server

Basic information

Category

Developer Tools

License

MIT license

Runtime

node

Transports

stdio

Publisher

gunjanjp

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "powershell-mcp": {
      "command": "node",
      "args": [
        "recovery.js",
        "status",
        "#",
        "Check",
        "current",
        "state"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is PowerShell MCP Server?

A Model Context Protocol (MCP) server that enables Claude and other LLM applications to execute PowerShell commands, scripts, and perform system operations on Windows systems.

How to use PowerShell MCP Server?

Clone the repository, install dependencies with npm install, and run complete-setup.bat for automated setup or follow manual configuration steps. After setup, ask Claude natural language commands like “Execute PowerShell: Get-Date” or “Check my system information”.

Key features of PowerShell MCP Server

  • Execute PowerShell commands, run scripts, and create new files
  • Monitor system info, processes, services, and disk space
  • List directories, get file info, and search files with pattern matching
  • One-command installation with automatic Claude Desktop configuration
  • Safe execution with input validation, session management, and error handling

Use cases of PowerShell MCP Server

  • Query Windows system information or running processes via chat
  • Monitor disk usage and service status on demand
  • Search and manage files in specified directories
  • Create and run PowerShell scripts for automation tasks

FAQ from PowerShell MCP Server

What are the prerequisites?

Windows 10/11 or Windows Server 2016+, Node.js 18.0.0+, PowerShell 5.1+ or PowerShell Core 7+, and the Claude Desktop application.

How does the server ensure security?

It uses -ExecutionPolicy Bypass and -NoProfile for safe PowerShell execution, validates all inputs with Zod schemas, disposes sessions after use, and logs operations to stderr without interfering with JSON-RPC.

Where is the Claude Desktop configuration stored?

The configuration file is located at %APPDATA%\Claude\claude_desktop_config.json. The setup script automatically applies the required settings and creates backups.

How can I troubleshoot if the server won't start?

Check Node.js version (must be 18+), run npm install to ensure dependencies, or test components with node test-server.js. For Claude integration issues, use setup.bat or manually verify the config file.

What's new in recent updates?

Recent versions (v1.1.2) introduced safe configuration management with automatic backups, a recovery tool, and merge capability for multiple MCP server configs. Previous fixes resolved JSON parsing errors and simplified setup.

Comments

More Developer Tools MCP servers