PowerShell.MCP

1.4.1

Enables AI assistants (such as Claude Desktop) to execute PowerShell commands and CLI tools within a persistent PowerShell console. Supports Windows, Linux, and macOS.

Minimum PowerShell version

7.2

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PowerShell.MCP

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PowerShell.MCP

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Yoshifumi Tsuda. All rights reserved.

Package Details

Author(s)

  • Yoshifumi Tsuda

Tags

MCP AI Assistant PowerShell Automation Enterprise Windows Linux macOS Cross-Platform

Cmdlets

Show-TextFile Add-LinesToFile Update-LinesInFile Update-MatchInFile Remove-LinesFromFile

Functions

Get-MCPProxyPath

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

PowerShell.MCP v1.4.1 - Cross-Platform MCP Server

=== Cross-Platform Support ===
Now available on Windows, Linux, and macOS!
• Windows: x64
• Linux: x64 (gnome-terminal, konsole, xfce4-terminal, xterm, and more)
• macOS: x64 (Intel), arm64 (Apple Silicon)

=== Key Features ===
• 🤝 Shared Console Experience
• 🔄 Persistent Session State
• ⚡ Instant Response, Zero Overhead
• 🔍 Comprehensive Output Stream Capture
• 📝 LLM-Optimized Text File Operations
• 🔗 PowerShell Pipeline Composability
• 🌐 Universal Modules & CLI Tools Integration
• 📚 No RAG or Context Grounding Required
• 🎯 Ready-to-Use Built-in Prompts
• 🔐 Enterprise-Ready Security

=== First-Time Demo ===
• "Show what PowerShell.MCP can do in a colorful, dynamic, and fun demo"
• "Try out different styles of notifications using the BurntToast module"
• "Automate Notepad: type text and smoothly move the window in a circle"
• "Tell me how to use Git in PowerShell"
• "How does it feel now that you have a tool like PowerShell.MCP?"

=== Popular Examples ===
• "Review git changes and suggest a commit message"
• "Generate system performance HTML report and open in browser"
• "Show processes consuming more than 100MB memory, sorted by CPU usage"
• "Create colorful disk usage analysis charts and visualizations"
• "Export installed programs to CSV and open in Excel"
• "Review code files and generate development documentation"

=== Quick Setup (Windows) ===
1. Install PowerShell 7.2+
2. Install-Module PowerShell.MCP
3. Get proxy path: Get-MCPProxyPath -Escape
4. Add to Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json):
  {
    "mcpServers": {
      "PowerShell": {
        "command": "C:\\Users\\YourName\\...\\PowerShell.MCP.Proxy.exe"
      }
    }
  }
  Replace "command" value with output from step 3.
5. Restart Claude Desktop

=== Quick Setup (Linux / macOS) ===
1. Install PowerShell 7.2+
2. pwsh -Command "Install-Module PowerShell.MCP -Scope CurrentUser -Force"
3. chmod +x $(pwsh -Command "Import-Module PowerShell.MCP; Get-MCPProxyPath")
4. Get proxy path: Get-MCPProxyPath
5. Add to Claude Desktop config (~/.config/Claude/claude_desktop_config.json):
  {
    "mcpServers": {
      "PowerShell": {
        "command": "/home/yourname/.local/.../PowerShell.MCP.Proxy"
      }
    }
  }
  Replace "command" value with output from step 4.
6. Restart Claude Desktop

=== Requirements ===
PowerShell 7.2+, PSReadLine 2.3.4+ (Windows only, auto-loaded)

=== Documentation ===
Full examples & setup guide: https://github.com/yotsuda/PowerShell.MCP#examples
Security policy: https://github.com/yotsuda/PowerShell.MCP/blob/main/SECURITY.md

⚠  Provides complete PowerShell access. Use in trusted environments only.

FileList

Version History

Version Downloads Last updated
1.4.1 (current version) 31 12/25/2025
1.4.0 20 12/22/2025
1.3.9 21 12/20/2025
1.3.8 120 12/4/2025
1.3.7 21 11/30/2025
1.3.6 57 11/13/2025
1.3.5 10 11/12/2025
1.3.4 9 11/10/2025
1.3.3 19 11/7/2025
1.3.2 22 11/1/2025
1.3.0 21 10/21/2025
1.2.9 14 10/19/2025
1.2.8 14 10/13/2025
1.2.7 7 10/11/2025
1.2.6 8 10/9/2025
1.2.5 18 10/4/2025
1.2.4 16 10/2/2025
1.2.3 18 9/29/2025
1.2.2 9 9/28/2025
1.2.1 21 9/23/2025
1.2.0 21 9/17/2025
1.1.7 75 6/27/2025
1.1.6 18 6/14/2025
1.1.5 6 6/14/2025
1.1.4 6 6/14/2025
1.1.3 6 6/13/2025
1.1.2 20 5/30/2025
1.1.1 7 5/29/2025
1.1.0 8 5/29/2025
1.0.4 6 5/28/2025
1.0.3 8 5/27/2025
1.0.2 11 5/27/2025
1.0.1 6 5/27/2025
1.0.0 9 5/24/2025
Show more