S

ssh-mcp

MCP server · by gelse

Developer Tools Docker v0.3.0

MCP gateway for controlled SSH access with per-client auth, command policies, and audit logging.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

unavailable — the image reference already carries a tag

Docker
docker run -i --rm ghcr.io/gelse/ssh-mcp:0.3.0

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "ssh-mcp-2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gelse/ssh-mcp:0.3.0"
      ],
      "env": {
        "CONFIG_API_TOKEN": "<YOUR_CONFIG_API_TOKEN>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • CONFIG_DIR — Directory containing ssh-mcp-config.json
  • LOG_DIR — Directory for JSONL audit logs
  • CONFIG_API_ENABLED — Enable the configuration REST API and web dashboard
  • CONFIG_API_TOKEN secret — Bearer token for the configuration API

GitHub

⭐ 8 stars · 最近更新于 57 天前 · MIT license

About this server

ssh mcp A centralized MCP gateway that gives AI agents controlled SSH access over Streamable HTTP. What problem does this solve? Most MCP SSH servers run as local stdio processes — one per client, with no shared state, no centralized authorization, and no audit trail. When multiple AI agents need SS…

Summary from the project README — github.com/gelse/ssh-mcp

Distributed as Docker, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the ssh-mcp MCP server do?

ssh mcp A centralized MCP gateway that gives AI agents controlled SSH access over Streamable HTTP. What problem does this solve? Most MCP SSH servers run as local stdio processes — one per client, with no shared state, no centralized authorization, and no audit trail. When multiple AI agents need SS

How do I install ssh-mcp?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is ssh-mcp free to use?

The MCP server itself is free to install. The source is public on https://github.com/gelse/ssh-mcp. Any third-party service it calls may require its own API key and account.

Which clients support ssh-mcp?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/ssh-mcp-2.svg)](https://mcpnav.net/server/ssh-mcp-2/)

HTML

<a href="https://mcpnav.net/server/ssh-mcp-2/"><img src="https://mcpnav.net/badge/ssh-mcp-2.svg" alt="Listed on MCPNav" height="20"></a>