Skip to main content

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).

PyPI Version License: MIT Python: 3.10+


🌟 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.6)
============================================================================

 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.

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.

Command Usage Description
mws — Home dashboard showing suite health, supported agents, server statuses, and quick commands.
mws server mws server Runs the Unified On-Demand Gateway MCP server (loads 233+ tools dynamically, anti-bloat).
mws tunnel mws tunnel [--type cloudflare|ngrok|direct] [--auth oauth|bearer|none] [--mode read_only|read_write] Exposes local MWS tools to web agents via Cloudflare Tunnel, ngrok (auto-login), or Direct HTTPS (~/.mcp-win-stdio/certs/) with OAuth 2.0 PKCE.
mws guide mws guide [server] [client] Universal Multi-Agent Guide: copy-paste snippets, tool specs, and Windows config file paths.
mws workflow mws workflow [list|run|view|delete] Composite Workflows: execute multi-step tool pipelines in zero LLM turns.
mws run <server> mws run tsc Launches an individual MCP server directly over stdio.
mws mcp mws mcp [view|add|edit|enable|disable|remove] Manage external stdio MCP servers in ~/.mcp-win-stdio/foreign_mcp.json with automatic handshake validation.
mws config [domain] mws config db Interactive terminal wizard to configure databases, SSH hosts, TypeScript projects, and Gateway/Foreign MCP settings.
mws doctor mws doctor [--fix-path] Diagnostic health checks (Python, COM, DB, Git CLI, SSH, PATH). Pass --fix-path to auto-repair PATH.
mws list — Focused inventory of built-in servers and custom plugins with tool counts.
mws status — Reports server environment readiness without modifying any files.
mws update [server] mws update all Checks PyPI for new versions and upgrades the suite or specific server package.
mws install <server> mws install excel Installs standalone server packages from PyPI into your Python environment.
mws uninstall <server> mws uninstall self Uninstalls packages (use self to atomically purge all mcp-win-stdio* packages).

🛠️ Complete Server Inventory

For full parameter details, schemas, and usage examples for all 233+ tools, refer to: 👉 Complete MCP Servers & Tools Reference

  • Git & GitHub (46 tools): Comprehensive local git state machine, commits, branches, stashes, diffs, blame, and full GitHub CLI actions (PRs, releases, issues).
  • Excel (44 tools): Pandas dataframe queries, RapidFuzz 3-tab reconciliation, openpyxl styling, charts, and native Excel COM PDF export.
  • Polyglot Database (36 tools): PostgreSQL & MySQL pools, lexical-guarded read_query, transaction isolation, index audits, schema diffs with migration scripts.
  • Multi-SSH (34 tools): Connection pooling, ~/.ssh/config parsing, interactive PTY terminal emulation, background jobs, SFTP file transfer.
  • Word (20 tools): Physical margin geometry (in, cm, mm, pt), typography, tables, template placeholder substitution, and COM PDF export.
  • Workspace Explorer (16 tools): Collapsible heavy trees (node_modules), in-file regex grep, RapidFuzz filename search, code outlines, and targeted file edits (replace_in_file, write_file).
  • TypeScript (12 tools): Instant 0ms cached error queries, multi-tsconfig compilation watchers, and suggested diagnostic fixes.
  • RAG (11 tools): Documentation web crawling, local/remote codebase chunking, and hybrid BM25 + TF-IDF knowledge base querying.
  • Excel & DB Power Engine (9 tools): Zero-context streaming from SQL to Excel, cross-source joins, master reconciliation, and migration plans.
  • Architecture Knowledge Graph (5 tools): Full-stack blueprint flowcharts, execution trace down to storage entities, and blast-radius impact analysis.

🔌 Custom Plugins

Drop any custom standalone Python MCP script into:

%USERPROFILE%\.mcp-win-stdio\plugins\my_custom_mcp.py

mcp-win-stdio automatically discovers it:

  • View it in mws list (or use mws for the full dashboard)
  • Run it directly via mws run my_custom_mcp
  • Access it on-demand through the Gateway (mws server)

🌍 Foreign / External MCP Servers (mws mcp)

Register any external stdio MCP server (e.g., npx, uvx, node, or python servers) into the MWS Gateway so its tools are discovered and spawned on demand alongside built-in servers.

  • Configuration file: %USERPROFILE%\.mcp-win-stdio\foreign_mcp.json (uses the standard mcpServers JSON schema with command, args, optional env, cwd, description, and disabled).
  • Interactive manager: Run mws mcp (alias mws foreign) or open mws config -> Unified Gateway Settings -> Manage Foreign MCP Servers.
  • CLI subcommands:
    mws mcp view
    mws mcp add <name> --command npx --args -y @modelcontextprotocol/server-filesystem C:\projects
    mws mcp edit <name>
    mws mcp enable <name>
    mws mcp disable <name>
    mws mcp remove <name>
    
  • Automatic validation & safety: Every add and edit spawns the server and runs initialize + tools/list before saving. If validation fails or the canonicalized name collides with a built-in, plugin, or existing foreign server, saving is aborted.
  • Gateway usage: Enabled foreign MCPs appear in list_servers and are invoked on demand via search_tools, describe_tool, call_tool, call_server, and stop_server (remote tunnels require --mode read_write to invoke foreign MCP tools).

⚡ MCP Handshake Startup Instructions (mws server)

When an AI client connects to mws server, the MCP initialize handshake automatically includes dynamic instructions generated from all currently discovered built-in servers, custom plugins, and enabled foreign MCPs:

  • Zero-bloat server awareness: Clients immediately receive the list of installed servers and short descriptions at startup without loading 233+ full tool schemas into context.
  • Built-in workflow guidance: The handshake instructions guide agents through on-demand discovery (search_tools, list_servers), session context pinning (manage_context), lazy execution (call_tool), and multi-step workflows (save_workflow, run_workflow).

📚 Detailed Documentation Index


📜 License

MIT License. Copyright (c) 2026 Mohan Kumar Indala.

Metadata

Release files for mcp-win-stdio 0.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-win-stdio 0.5.6
File Size Uploaded Provenance Actions
mcp_win_stdio-0.5.6.tar.gz 1.0 MB With provenance Details for mcp_win_stdio-0.5.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-win-stdio 0.5.6
File Interpreter ABI Platform Actions
mcp_win_stdio-0.5.6-py3-none-any.whl Python 3 none any Details for mcp_win_stdio-0.5.6-py3-none-any.whl

Total release size: 1.2 MB

Release files / mcp_win_stdio-0.5.6.tar.gz

Download URL mcp_win_stdio-0.5.6.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
da95d9d7cff420c7dcb949eddffa0477c4ddf5a84e89c757d2e2f7469f3059f8
BLAKE2b-256 checksum
How to use checksums
edf293f4937c926ea942e315864b3d64cafc81df879906699daf3c7e9e4b26e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / mcp_win_stdio-0.5.6-py3-none-any.whl

Download URL mcp_win_stdio-0.5.6-py3-none-any.whl
Size 220.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d627f91f71b801e1493aa512143ebc37a4bfb1914228ed39f9d5c2eb9aac387
BLAKE2b-256 checksum
How to use checksums
114b85476bb9b96b3e67d2f62fbcbc36cab4295a0e575cd0aa6646de73882649
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for mcp-win-stdio 0.5.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_win_stdio-0.5.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page