Skip to main content

MCP SSH Gateway

io.github.d00mus/mcp-ssh-gateway

v7.0.0Updated Sep 29, 2026stdio · PyPI

SSH terminals for AI agents: stateful shells, exit codes the moment a command ends, router CLIs.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mcp-ssh-gateway -- uvx mcp-ssh-gateway==7.0.0

Configuration

4 settings.

  • SSH_SERVERS_CONFIG
    Env var· optional
    Path to the JSON file with SSH server targets, or an inline JSON string. Overridden by --servers-config.
  • SSH_MCP_CACHE_DIR
    Env var· optional
    Where logs and known_hosts are kept. Default: the user cache directory.
  • SSH_READ_ONLY
    Env var· optional
    Set to true/1 to force the global read-only guardrail.
  • SSH_COMMAND_BLACKLIST
    Env var· optional
    Comma-separated global prohibited command patterns.

Listed in the official MCP Registry since Sep 29, 2026. Mirrored daily; last checked Nov 26, 2026.