MCP.so
登录

PowerShell MCP Server

@gunjanjp

关于 PowerShell MCP Server

PowerShell MCP Server

基本信息

分类

开发工具

许可证

MIT license

运行时

node

传输方式

stdio

发布者

gunjanjp

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

开发工具 分类下的更多 MCP 服务器