Skip to content
MCP server

ssh-mcp

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

Install
Pricing
Open source
Runs
Remotely
Version
0.3.0
Listing updated
5 days ago

About ssh-mcp

ssh-mcp is an open-source MCP server. It runs as a hosted remote server, so there is nothing to install locally.

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

Install

Run in a terminal

claude mcp add ssh-mcp --env CONFIG_API_TOKEN='<CONFIG_API_TOKEN>' -- docker run -i --rm -e CONFIG_API_TOKEN ghcr.io/gelse/ssh-mcp:0.3.0

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "ssh-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CONFIG_API_TOKEN",
        "ghcr.io/gelse/ssh-mcp:0.3.0"
      ],
      "env": {
        "CONFIG_API_TOKEN": "<CONFIG_API_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CONFIG_DIRDirectory containing ssh-mcp-config.json
  • LOG_DIRDirectory for JSONL audit logs
  • CONFIG_API_ENABLEDEnable the configuration REST API and web dashboard
  • CONFIG_API_TOKENBearer token for the configuration API

Pricing

Open source

ssh-mcp FAQ

Is ssh-mcp free?

Yes. ssh-mcp is open source, so you can use and self-host it for free.

How do I add ssh-mcp to Claude Code?

Run this command in your terminal: claude mcp add ssh-mcp --env CONFIG_API_TOKEN='<CONFIG_API_TOKEN>' -- docker run -i --rm -e CONFIG_API_TOKEN ghcr.io/gelse/ssh-mcp:0.3.0

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers