loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

win-cli-mcp-server

MCP Tool

mhprol/win-cli-mcp-server

Hardened MCP server for Windows CLI (PowerShell, CMD, Git Bash) and SSH. Maintained fork of @simonb97/server-win-cli.

Install

$ npx loaditout add mhprol/win-cli-mcp-server

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "win-cli-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "win-cli-mcp-server"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

win-cli-mcp-server

Hardened MCP server for Windows CLI and SSH interactions. Provides controlled access to PowerShell, CMD, Git Bash, and remote systems via SSH from MCP clients like Claude Desktop.

Fork Lineage

This is a maintained, hardened fork:

[SimonB97/win-cli-mcp-server](https://github.com/SimonB97/win-cli-mcp-server) (original, development stalled) -> [delorenj/super-win-cli-mcp-server](https://github.com/delorenj/super-win-cli-mcp-server) (super-win-cli variant) -> this repo (bug fixes, hardening, dependency updates)

The original project is no longer actively maintained. This fork fixes critical bugs, updates dependencies, and is used in production daily.

What This Fork Fixes
Critical
  • GUI window popups -- Added windowsHide: true to child_process.spawn(). Shell windows no longer flash on screen during MCP execution.
  • SSH event listener leak -- Reconnection cycles accumulated duplicate handlers on the ssh2 Client instance, causing memory leaks. Fixed by creating a fresh Client on each reconnect and using .once() for connection-scoped events.
  • SSH stderr silently dropped -- When stdout had content, stderr was discarded (output || errorOutput). Now both streams are combined.
  • Silent config fallback on BOM -- UTF-8 BOM in config.json caused JSON.parse() to throw, silently falling back to restrictive defaults. BOM is now stripped before parsing.
High
  • Dead dependency removed -- @modelcontextprotocol/server-memory-dynamic pointed to file:../servers/src/memory (author's local dev path). Removed.
  • SSH agent auth support -- Config validation required password or privateKeyPath. If neither was specified, the entire config load failed. Now optional -- ssh2 falls back to ssh-agent automatically.
  • SIGTERM handler -- Only SIGINT triggered cleanup. When the parent process sends SIGTERM (common wh

Tags

claudeclimcpmcp-servermodelcontextprotocolpowershellsshwindows

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated17 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit4/2/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/mhprol/win-cli-mcp-server)](https://loaditout.ai/skills/mhprol/win-cli-mcp-server)