mcp-win-stdio
Windows-optimized Model Context Protocol (MCP) suite and non-invasive CLI hub (mws) for local stdio execution and secure remote tunneling across major AI IDEs, CLI agents, and desktop apps (Gemini, Antigravity, Claude, ChatGPT Desktop / Codex, Cursor, Kiro, OpenCode, Windsurf, and Copilot).

🌟 Highlights (233+ Audited Tools Across 10 Modular Servers)
- Unified On-Demand Gateway & Workflow Engine (
mws server): Configure just mws server (or python -m mcp_win_stdio.server) in Claude Desktop, Cursor, Gemini, or Antigravity. Dynamic discovery, routing, workflows, and lazy child-server startup avoid loading all 200+ tools into the agent context upfront.
- Secure Remote Tunneling & OAuth 2.0 PKCE (
mws tunnel): Expose local Windows tools to remote and web-based agents (Claude Web, ChatGPT Custom GPTs, Cursor, MCP Inspector) over encrypted tunnels (cloudflare, ngrok) or Direct HTTPS (direct) with terminal-generated 6-digit Host-Owner Approval PINs, PKCE (S256), and strict permission ceilings.
- MCP Resources & Prompts Gateway: Discover and read child-server resources, resource templates, and rendered prompts through
mws, with cursor-based pagination and large-result artifact handling.
- Agent-Synthesized Workflows (
.mws/workflows/): AI agents and developers can chain multiple MCP tools into named composite pipelines with argument templating and error halting.
- 100% Dynamic & Zero-Env Architecture: All configurations (databases, TypeScript projects, SSH hosts, Git repositories) are managed interactively and stored in
~/.mcp-win-stdio/. No environment variables required in client configs!
- Universal Multi-Agent Guide (
mws guide): Generates tailored copy-paste configuration snippets and exact configuration file paths for 10 major AI agents without mutating user files.
- Cascading Clean Uninstallation (
mws uninstall self): Dynamically discovers and purges all installed mcp-win-stdio-* distributions in one atomic batch.
- Git & GitHub MCP (46 Tools): Unified local Git management (init, remotes, restore, bookmarks, branches, commits, diffs) and remote GitHub CLI (
gh) operations (PR checks, releases, issues, Actions).
- Excel MCP (44 Tools): High-speed Pandas queries, multi-column reconciliation with RapidFuzz, native Excel Tables, row/col mutations, formulas, cell merging, workbook diffing, and Office COM automation.
- Polyglot Database MCP (36 Tools): PostgreSQL & MySQL manager with dynamic connection hub, lexical-validated safe read queries, transaction boundaries, schema diffing with migration SQL, Mermaid ERD, slow queries, and lock trees.
- Multi-SSH MCP (34 Tools): Multi-host connection pooling, auto-discovery of
~/.ssh/config, interactive PTY terminal sessions, detached background jobs, systemd/docker services, SFTP file management, and port forwarding.
- Word MCP (20 Tools): Multi-unit geometry (in, cm, mm, pt), multi-column layout, typography, document authoring, template placeholder filling, and native Word COM PDF export.
- Workspace Explorer MCP (16 Tools): Token-safe directory exploration, collapsible heavy folders,
.gitignore resolution, in-file regex grep, RapidFuzz fuzzy search, Python/TypeScript code outlines, and targeted file authoring (replace_in_file, write_file).
- TypeScript Diagnostic Watcher MCP (12 Tools): Persistent background
tsc compiler watchers maintaining an in-memory cache for instantaneous (0ms latency) error inspection and actionable fixes.
- RAG MCP (11 Tools): Multi-collection web crawling, incremental local and remote repository indexing, hybrid BM25 + TF-IDF search, and knowledge trees.
- Excel & DB Power Engine MCP (9 Tools): Zero-context streaming from database to Excel, chunked upserting, in-memory cross-source SQL joins, automated reconciliation diffs, and migration planning.
- Architecture Knowledge Graph MCP (5 Tools): Full-stack vertical blueprint flowcharts, execution trace down to storage entities, ERD diagrams, and blast-radius impact analysis.
- Extensible User Plugins: Drop any standalone Python MCP script into
~/.mcp-win-stdio/plugins/ and it is immediately discovered and proxied.
📦 Modular Architecture & Installation
Each server is published as an independent, lightweight PyPI package. Installing any standalone package automatically installs the mws CLI orchestrator.
| Server |
Standalone Package |
Tools |
Primary Capabilities |
| mws Server / Hub |
pip install mcp-win-stdio |
Gateway |
Unified On-Demand Gateway, Composite Workflow Engine, & Remote Tunnel Bridge |
| Git & GitHub |
pip install mcp-win-stdio-git |
46 |
Local Git init/remotes/restore/bookmarks/branches, commits, diffs + GitHub PR checks, releases, issues, Actions |
| Excel |
pip install mcp-win-stdio-excel |
44 |
Native Excel Tables, row/col mutations, formulas, Pandas queries, RapidFuzz reconciliation, Office COM automation |
| Database |
pip install mcp-win-stdio-db |
36 |
PostgreSQL & MySQL dynamic pooling, lexical query defense, cross-schema resolution, index audits, schema diffs, Mermaid ERD |
| SSH |
pip install mcp-win-stdio-ssh |
34 |
Multi-host pooling, ~/.ssh/config discovery, PTY shells, background jobs, systemd/docker, package management, SFTP, tunnels |
| Word |
pip install mcp-win-stdio-word |
20 |
Margins (in, cm, mm, pt), multi-column layout, typography, document authoring, template filling, Office COM PDF export |
| Explorer |
pip install mcp-win-stdio-explorer |
16 |
Token-safe collapsible tree, .gitignore resolution, in-file grep, AST outlines, fuzzy search, targeted edits (replace_in_file, write_file) |
| TypeScript |
pip install mcp-win-stdio-tsc |
12 |
0ms in-memory compilation error cache, dynamic multi-project config (add_project/use_project), multi-tsconfig watchers |
| RAG |
pip install mcp-win-stdio-rag |
11 |
Web crawling, local/remote repo indexing, hybrid BM25 + TF-IDF search, context and collection lifecycle |
| Excel & DB |
pip install mcp-win-stdio-excel-db |
9 |
Zero-context streaming, cross-joins, master reconciliation with tolerance, transactional migration plan, dry-run sync |
| Arch |
pip install mcp-win-stdio-arch |
5 |
Vertical full-stack blueprint flowcharts, execution trace down to storage entities, ERD, blast-radius analysis |
Install Individual Servers:
pip install mcp-win-stdio-git
pip install mcp-win-stdio-excel
pip install mcp-win-stdio-db
pip install mcp-win-stdio-ssh
pip install mcp-win-stdio-word
pip install mcp-win-stdio-explorer
pip install mcp-win-stdio-tsc
pip install mcp-win-stdio-rag
pip install mcp-win-stdio-excel-db
pip install mcp-win-stdio-arch
Or Install the Complete Suite:
pip install "mcp-win-stdio[all]"
For Local Development:
git clone https://github.com/indala/mcp-win-stdio.git
cd mcp-win-stdio
pip install -e .
🚀 Quick Start
1. Launch the Interactive Dashboard
mws
Output:
============================================================================
🚀 mcp-win-stdio — Windows Model Context Protocol Suite (v0.5.5)
============================================================================
Single-Source Hub: C:\Users\admin\.mcp-win-stdio
Claude Desktop Config: C:\Users\admin\AppData\Roaming\Claude\claude_desktop_config.json
Claude Code CLI Config: C:\Users\admin\.claude.json
----------------------------------------------------------------------------
SERVER STATUS TOOLS DESCRIPTION
----------------------------------------------------------------------------
git [Installed] 46 46 tools: Local Git branching, commits, GitHub PRs...
excel [Installed] 44 44 tools: Pandas queries, RapidFuzz reconciliation...
db [Installed] 36 36 tools: Polyglot multi-server pooling, lexical defense...
ssh [Installed] 34 34 tools: Multi-host SSH pooling, PTY, SFTP...
word [Installed] 20 20 tools: Multi-unit margins, tables, typography...
explorer [Installed] 16 16 tools: Token-safe collapsible tree, grep, file edits...
tsc [Installed] 12 12 tools: Background tsc compiler watchers...
rag [Installed] 11 11 tools: Web crawling, local & remote repo indexing...
excel-db [Installed] 9 9 tools: Zero-context streaming, cross-joins...
arch [Installed] 5 5 tools: Full-stack blueprints, execution tracing...
----------------------------------------------------------------------------
💡 Quick Commands:
mws guide -> Universal setup instructions & config snippets
mws server -> Run Unified On-Demand Gateway (anti-bloat)
mws tunnel -> Expose tools securely to Claude/ChatGPT Web
mws doctor -> Run diagnostic health checks (COM, Python, DB, Git)
============================================================================
2. Configure Your AI Client
Use mws guide to inspect tailored configuration snippets without modifying any files:
# Global overview across all agents:
mws guide
# Tailored for a specific client:
mws guide gemini
mws guide claude
mws guide cursor
mws guide openai # ChatGPT Desktop & Codex shared MCP configuration
Simply copy and paste the snippet provided into your AI IDE or desktop agent configuration.
🌐 Remote Access & Secure Tunnels (mws tunnel)
Expose local Windows tools safely to web-based AI platforms like Claude Web, ChatGPT Custom GPTs, Cursor, and MCP Inspector without opening router ports or exposing static IP addresses.
1. Launch with OAuth 2.0 PKCE (Default & Recommended)
mws tunnel
- Host-Owner Proof: When an authorized web client connects,
mws displays a one-time 6-digit approval PIN in your terminal. Enter the PIN in the web browser consent window to approve access.
- Permission Clamping: Defaults to
--mode read_only. Mutating actions (file writes, database updates, Git commits) are blocked automatically.
2. Launch with a Bearer Token
# Auto-generate a secure 32-byte cryptographic token:
mws tunnel --auth bearer
# Or pass a pre-shared secret:
mws tunnel --auth bearer --token "my-secure-token"
3. Allow Read-Write Access
mws tunnel --mode read_write
For complete documentation on OAuth 2.0 flows, PKCE verification, and connecting web clients, see:
👉 Remote Access & Secure Tunneling Guide (Cloudflare, ngrok, Direct HTTPS)
👉 Security Architecture & Defense-in-Depth
📖 CLI Commands Reference
mws follows a zero-mutation, non-invasive philosophy: it never automatically modifies your agent's configuration files behind your back.