PowerShell.MCP v1.7.5 - PromptAI Companion Module, Closed-Console Detection & MSIX Fix
PromptAI Companion Module, Closed-Console Detection & MSIX Fix
New companion module PromptAI brings Invoke-Claude, Invoke-GPT, and Invoke-Gemini to the console. Closed-console detection is overhauled so errors surface immediately and clearly. Register-PwshToClaudeDesktop now works correctly on MSIX (Microsoft Store) installs of Claude Desktop.
🐛 Bug Fixes
MSIX Detection in Register-PwshToClaudeDesktop
- Previously always wrote to
%APPDATA%\Claude\, which MSIX (Microsoft Store) installs of Claude Desktop don't read - Now detects MSIX by checking for the package directory (
%LOCALAPPDATA%\Packages\Claude_*) and writes to the correct virtualized path
Closed-Console Detection Overhaul
- Closed consoles are now reported immediately when pipe communication fails, not deferred
- Fixed duplicate closed-console messages in
AllPipesStatusInfo - Fixed
start_consolenot reporting closed consoles when reusing a standby pipe - Fixed duplicate message when active pipe PID was in
KnownBusyPids - Error messages now show the console display name (e.g.,
#1234 MyFolder) instead of raw pipe names
📦 PromptAI Module
A new companion module PromptAI adds Invoke-Claude, Invoke-GPT, and Invoke-Gemini cmdlets for calling AI APIs directly from PowerShell. Responses stream to the console in real time, pipe cleanly to other cmdlets, and are returned to the MCP client without duplication. This also enables AI-to-AI communication — an MCP client can call other AI models through the console and use their responses as part of its own workflow:
Install-PSResource PromptAI🔧 Improvements
- PlatyPS help migrated to v2 (
Microsoft.PowerShell.PlatyPS 1.0.1) - Fixed flaky macOS test: isolated agent ID to prevent parallel test class interference
📊 What's Changed Since v1.7.4
- 📦 New companion module PromptAI:
Invoke-Claude/Invoke-GPT/Invoke-Geminicmdlets - 🐛
Register-PwshToClaudeDesktopnow correctly detects MSIX installs without existing config file - 🐛 Closed-console detection: immediate reporting, no duplicates, display names in errors
- 🔧 PlatyPS v2 migration
- 🔧 Test stability fix for macOS CI
🔄 Installation & Upgrade
Windows
# New installation
Install-PSResource PowerShell.MCP
# Upgrade existing
Update-PSResource PowerShell.MCPLinux / macOS
# Install
Install-PSResource PowerShell.MCP
# Set execute permission
chmod +x (Get-MCPProxyPath)Update MCP Configuration
For Claude Code:
Register-PwshToClaudeCodeFor Claude Desktop:
Register-PwshToClaudeDesktopFor other MCP clients: Run Get-MCPProxyPath -Escape to get the JSON-escaped executable path, then add it to your client's configuration file manually.
Restart your MCP client after updating.
📖 Full Documentation: https://github.com/yotsuda/PowerShell.MCP
💬 Questions? GitHub Discussions | 🐞 Report Issues: GitHub Issues