GP

gunjanjp/powershell-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

27 stars 8 forks 품질 66 트렌드 11MIT

PowerShell MCP 서버

개요

Entext Protocol (MCP) 서버는 Claude 및 기타 LLM 응용 프로그램을 활성화하여 PowerShell 명령, 스크립트를 실행하고 Windows 시스템에 시스템 작업을 수행합니다. - : 명령을 실행하고, 스크립트를 실행하고, 새로운 PowerShell 파일을 만들 - : 시스템 정보, 모니터 프로세스, 검사 서비스 및 디스크 공간 - : 목록 디렉토리, 파일 정보를 얻을, 패턴 매칭과 파일 검색 - : 자동 Claude 데스크톱 구성이있는 One-command 설치 - : 적절한 오류 처리 및 세션 관리와 안전한 실행 - 실행-powershell - 선택적 작업 디렉토리와 PowerShell 명령 - 실행-powershell-script - 매개 변수와 PowerShell 스크립트 파일을 실행 - 생성-powershell-script - 새로운 PowerShell 스크립트 생성 - get-system-info - 포괄적 인 Windows 시스템 정보 - get-process-list - CPU / 메모리 사용 (sortable/filterable)과 실행 프로세스 - get-service-status - 필터링이있는 Windows 서비스 상태 - 체크-disk-space - Disk ...

개요(AI 번역)

Entext Protocol (MCP) 서버는 Claude 및 기타 LLM 응용 프로그램을 활성화하여 PowerShell 명령, 스크립트를 실행하고 Windows 시스템에 시스템 작업을 수행합니다.

! 키 기능**

  • ** PowerShell Execution**: 명령 실행, 스크립트 실행, 새로운 PowerShell 파일을 생성
  • ► 시스템 모니터링: 시스템 정보, 모니터링 프로세스, 검사 서비스 및 디스크 공간 -s File Operations: 목록 디렉토리, 파일 정보 및 패턴 매칭 파일 검색
  • ♨️ Simple Setup: 자동 Claude 데스크톱 구성을 가진 One-command 설치 -️️ 보안: 적절한 오류 처리 및 세션 관리와 안전한 실행

672️Available 도구

PowerShell 도구

  • execute-powershell - 선택적 작업 디렉토리와 PowerShell 명령 실행
  • execute-powershell-script - 매개변수와 PowerShell 스크립트 파일을 실행
  • create-powershell-script - 새로운 PowerShell 스크립트 생성

시스템 도구

  • get-system-info - 종합 Windows 시스템 정보
  • get-process-list - CPU/memory 사용과 실행 프로세스 (sortable/filterable)
  • get-service-status - 필터링과 Windows 서비스 상태

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

PowerShell MCP Server

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

🌟 Key Features

  • 🔧 PowerShell Execution: Execute commands, run scripts, and create new PowerShell files
  • 🖥️ System Monitoring: Get system info, monitor processes, check services and disk space
  • 📁 File Operations: List directories, get file info, and search files with pattern matching
  • ⚙️ Simple Setup: One-command installation with automatic Claude Desktop configuration
  • 🛡️ Secure: Safe execution with proper error handling and session management

🛠️ Available Tools

PowerShell Tools

  • execute-powershell - Execute PowerShell commands with optional working directory
  • execute-powershell-script - Run PowerShell script files with parameters
  • create-powershell-script - Create new PowerShell scripts

System Tools

  • get-system-info - Comprehensive Windows system information
  • get-process-list - Running processes with CPU/memory usage (sortable/filterable)
  • get-service-status - Windows services status with filtering
  • check-disk-space - Disk space usage for all or specific drives

File Tools

  • list-directory - Enhanced directory listing with filtering
  • get-file-info - Detailed file and directory metadata
  • search-files - Recursive file search with pattern matching

📋 Prerequisites

  • Windows 10/11 or Windows Server 2016+
  • Node.js 18.0.0 or higher
  • PowerShell 5.1+ or PowerShell Core 7+
  • Claude Desktop application

🚀 Quick Setup

# Clone and setup with configuration management
git clone https://github.com/gunjanjp/powershell-mcp.git
cd powershell-mcp
complete-setup.bat

Option 2: Configuration Recovery (If you had existing settings)

# If previous setup overwrote your existing configuration
node recovery.js status      # Check current state
node recovery.js scan        # Find backup configurations
node recovery.js restore 1   # Restore from backup
# OR
node recovery.js merge 1     # Merge backup with current config

Option 3: Manual Setup

# Clone the repository
git clone https://github.com/gunjanjp/powershell-mcp.git
cd powershell-mcp

# Install dependencies
npm install

# Safely add to existing configuration
node recovery.js add-powershell

# Restart Claude Desktop

📖 Usage Examples

Ask Claude:

  • “Execute PowerShell: Get-Date”
  • “Check my system information”
  • “Show me the top 10 processes by CPU usage”
  • “What’s my disk space usage?”
  • “List files in my Downloads folder”
  • “Search for all .txt files in C:\Users”
  • “Create a PowerShell script to backup my Documents folder”

🔧 Commands

Server Commands

# Start the server
npm start

# Test components
npm test

# Run diagnostics
node diagnose.bat
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "powershell": { "command": "node", "args": ["D:/claude/claude-powershell-mcp/src/server.js"], "env": {} } } }