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.

コメント

「開発者ツール」の他のコンテンツ