Skip to content

PowerShell.MCP v1.7.3 - Text Cmdlet Improvements, Console Naming & MarkdownPointer Hint

Choose a tag to compare

@yotsuda yotsuda released this 28 Mar 16:13
· 91 commits to main since this release

Text Cmdlet Improvements, Console Naming & MarkdownPointer Hint

Text file cmdlets get improved parameters, console display is unified, and a new one-time hint promotes the MarkdownPointer module.

✨ New Feature

One-Time MarkdownPointer Module Hint

  • When invoke_expression output contains .md file references, a hint message is appended to the response (Windows only)
  • The hint is shown once per session to avoid being noisy
  • MarkdownPointer — Vibe editing for Markdown with Mermaid/KaTeX support and MCP server integration
  • Message varies based on installation status:
    • Installed: Suggests using mdp .\README.md to render and preview, mentions MCP server integration
    • Not installed: Suggests Install-Module MarkdownPointer and Get-Command -Module MarkdownPointer to explore commands after installation

🔧 Improvements

Text File Cmdlet Enhancements

  • LineRange parameter changed from int[] to string — now supports both dash ('10-20') and comma ('10,20') formats across Show-TextFiles, Update-MatchInFile, Update-LinesInFile, and Remove-LinesFromFile
  • Update-MatchInFile: added -Contains as alias for -OldText to match Show-TextFiles naming convention

Unified Console Display Name

  • All console references now use consistent PID #xxx Title format (e.g., PID #12345 Phoenix)
  • Previously mixed formats: PID#xxx, pwsh PID: xxx, Console PID xxx
  • Closed consoles retain their friendly name in status messages

📊 What's Changed Since v1.7.2

  • ✨ One-time MarkdownPointer module hint when .md files detected in output (Windows only)
  • 🔧 LineRange parameter: int[]string, supports '10-20' and '10,20' formats
  • 🔧 Update-MatchInFile: -Contains alias for -OldText
  • 🔧 Unified console naming to PID #xxx Title format

🔄 Installation & Upgrade

Windows

# New installation
Install-PSResource PowerShell.MCP

# Upgrade existing
Update-PSResource PowerShell.MCP

Linux / macOS

# Install
Install-PSResource PowerShell.MCP

# Set execute permission
chmod +x (Get-MCPProxyPath)

Update MCP Configuration

For Claude Code:

claude mcp add PowerShell -s user -- "$(Get-MCPProxyPath)"

For Claude Desktop — Update claude_desktop_config.json:

Get-MCPProxyPath -Escape  # Returns JSON-escaped path
{
  "mcpServers": {
    "PowerShell": {
      "command": "C:\Users\YourName\Documents\PowerShell\Modules\PowerShell.MCP\1.7.3\bin\win-x64\PowerShell.MCP.Proxy.exe"
    }
  }
}

Restart your MCP client after updating.


📖 Full Documentation: https://github.com/yotsuda/PowerShell.MCP

💬 Questions? GitHub Discussions | 🐞 Report Issues: GitHub Issues