Skip to main content

mcp-win-stdio-ssh

Advanced Multi-SSH Connection & Remote Management Model Context Protocol (MCP) Server for Windows & Claude Desktop / Claude Code CLI: 34 Tools for stateful SSH connection pooling, background execution, interactive PTYs, SFTP, and port tunnels. Zero mandatory environment variables (persists dynamically to ~/.mcp-win-stdio/ssh_hosts.json).

Part of the mcp-win-stdio suite.


🌟 Key Features

  • Multi-Host Connection Pooling & Persistence: Connect to unlimited remote servers. Automatically parses ~/.ssh/config (aliases, identity files, JumpHosts) and persists active host preferences.
  • Sticky Active Host: Run commands against an active default host or specify host="server_name" per tool call.
  • Remote Execution & Elevated Commands: Non-interactive command execution (ssh_exec), sudo password automation (ssh_exec_sudo), multi-line script execution (ssh_exec_script), and detached background jobs (ssh_exec_background).
  • Interactive PTY Shell Sessions: Start stateful pseudo-terminals (ssh_pty_start, ssh_pty_send, ssh_pty_read) for interactive REPLs, prompts, and long-running interactive tools.
  • Remote Diagnostics & Services: System health stats (ssh_system_overview), process monitoring (ssh_list_processes), systemd / docker / pm2 services (ssh_list_services, ssh_service_action), and live log tailing (ssh_tail_logs).
  • High-Performance SFTP: Explore remote file systems (sftp_list_dir), read/write files (sftp_read_file, sftp_write_file), inspect metadata (sftp_stat), and sync local/remote folders (sftp_upload, sftp_download).
  • Port Forwarding & Tunnels: Create background local-to-remote SSH port forwarding tunnels (ssh_tunnel_open, ssh_tunnel_list, ssh_tunnel_close) to securely access remote databases or web services.

📦 Installation

# Standalone package installation:
pip install mcp-win-stdio-ssh

# Or with full mcp-win-stdio suite:
pip install "mcp-win-stdio[all]"

🚀 Quick Start & Claude Configuration

Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json)

{
  "mcpServers": {
    "ssh": {
      "command": "mws-ssh",
      "args": ["run"]
    }
  }
}

Claude Code CLI

claude mcp add ssh mws-ssh run

🛠️ CLI Utilities

# Open interactive diagnostic CLI & host manager
mws-ssh

# List configured SSH hosts and test latency
mws-ssh test

# Launch MCP stdio server
mws-ssh run

# View comprehensive prompt recipes & tool documentation
mws-ssh guide

Metadata

Release files for mcp-win-stdio-ssh 0.5.5

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-ssh 0.5.5
File Size Uploaded Provenance Actions
mcp_win_stdio_ssh-0.5.5.tar.gz 25.6 kB With provenance Details for mcp_win_stdio_ssh-0.5.5.tar.gz

Built distribution (wheel)

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

Total release size: 56.2 kB

Release files / mcp_win_stdio_ssh-0.5.5.tar.gz

Download URL mcp_win_stdio_ssh-0.5.5.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
40c1437525a03b2dc4ac60699c65d44cd8e7acfc2460a40a512b492198b40e7e
BLAKE2b-256 checksum
How to use checksums
e532339340ab25b612a77cd2ba71fcb4a73b9bd43910ef68af47b5015c44385e
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 27, 2026.

Transparency log

Release files / mcp_win_stdio_ssh-0.5.5-py3-none-any.whl

Download URL mcp_win_stdio_ssh-0.5.5-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9629b10894517c4207f669df6ea9d2c7546e40d66fe4d1372344da2348db98e
BLAKE2b-256 checksum
How to use checksums
b75f8983be92fd93e01febd4b815c287c2d7b607d069b53823ef9f48b133b700
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 27, 2026.

Transparency log

Security for mcp-win-stdio-ssh 0.5.5

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_ssh-0.5.5.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 27, 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