Koskamo

MCP SSH Gateway

An MCP server providing SSH terminals for AI agents. It features stateful shells that preserve context between calls, immediate exit code reporting, and support for router CLIs like Keenetic. It handles interactive prompts and long outputs efficiently without relying on sleep-based polling.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

MCP SSH Gateway logo, by d00musCommunity listingLocal stdioSource reviewed; not executedPublished by d00mus
You need:You need uv (or Python 3.11+ and pip ) and SSH access to a host you control.
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 3 GitHub stars

What you can do with it

  • Execute commands on remote SSH hosts and retrieve exit codes
  • Maintain stateful shell sessions for variables and virtualenvs
  • Interact with router CLIs such as Keenetic
  • Handle interactive prompts like passwords or confirmations

Source and maintenance

Community listingRegistry 7.0.0MIT
Last repository push
Latest release
v7.0.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-ssh-gateway 7.0.0

pypi
mcp-ssh-gateway package definition
{
  "version": "7.0.0",
  "transport": "stdio",
  "identifier": "mcp-ssh-gateway",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "SSH_SERVERS_CONFIG",
      "description": "Path to the JSON file with SSH server targets, or an inline JSON string. Overridden by --servers-config."
    },
    {
      "name": "SSH_MCP_CACHE_DIR",
      "description": "Where logs and known_hosts are kept. Default: the user cache directory."
    },
    {
      "name": "SSH_READ_ONLY",
      "description": "Set to true/1 to force the global read-only guardrail."
    },
    {
      "name": "SSH_COMMAND_BLACKLIST",
      "description": "Comma-separated global prohibited command patterns."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-ssh-gateway": {
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway==7.0.0"
      ],
      "env": {
        "SSH_SERVERS_CONFIG": "<YOUR_SSH_SERVERS_CONFIG>",
        "SSH_MCP_CACHE_DIR": "<YOUR_SSH_MCP_CACHE_DIR>",
        "SSH_READ_ONLY": "<YOUR_SSH_READ_ONLY>",
        "SSH_COMMAND_BLACKLIST": "<YOUR_SSH_COMMAND_BLACKLIST>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-ssh-gateway": {
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway==7.0.0"
      ],
      "env": {
        "SSH_SERVERS_CONFIG": "<YOUR_SSH_SERVERS_CONFIG>",
        "SSH_MCP_CACHE_DIR": "<YOUR_SSH_MCP_CACHE_DIR>",
        "SSH_READ_ONLY": "<YOUR_SSH_READ_ONLY>",
        "SSH_COMMAND_BLACKLIST": "<YOUR_SSH_COMMAND_BLACKLIST>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-ssh-gateway": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway==7.0.0"
      ],
      "env": {
        "SSH_SERVERS_CONFIG": "<YOUR_SSH_SERVERS_CONFIG>",
        "SSH_MCP_CACHE_DIR": "<YOUR_SSH_MCP_CACHE_DIR>",
        "SSH_READ_ONLY": "<YOUR_SSH_READ_ONLY>",
        "SSH_COMMAND_BLACKLIST": "<YOUR_SSH_COMMAND_BLACKLIST>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-ssh-gateway": {
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway==7.0.0"
      ],
      "env": {
        "SSH_SERVERS_CONFIG": "<YOUR_SSH_SERVERS_CONFIG>",
        "SSH_MCP_CACHE_DIR": "<YOUR_SSH_MCP_CACHE_DIR>",
        "SSH_READ_ONLY": "<YOUR_SSH_READ_ONLY>",
        "SSH_COMMAND_BLACKLIST": "<YOUR_SSH_COMMAND_BLACKLIST>"
      }
    }
  }
}

Let your agent find its tools

Find servers like MCP SSH Gateway from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.