NestDaddy

ssh-mcp

io.github.gelse/ssh-mcp ยท v0.3.0

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

Connect Runs on your machine

Terminal
claude mcp add ssh-mcp -e CONFIG_DIR=<CONFIG_DIR> -e LOG_DIR=<LOG_DIR> -e CONFIG_API_ENABLED=<CONFIG_API_ENABLED> -e CONFIG_API_TOKEN=<CONFIG_API_TOKEN> -- docker run -i --rm ghcr.io/gelse/ssh-mcp:0.3.0
claude_desktop_config.json
{
  "mcpServers": {
    "ssh-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gelse/ssh-mcp:0.3.0"
      ],
      "env": {
        "CONFIG_DIR": "<CONFIG_DIR>",
        "LOG_DIR": "<LOG_DIR>",
        "CONFIG_API_ENABLED": "<CONFIG_API_ENABLED>",
        "CONFIG_API_TOKEN": "<CONFIG_API_TOKEN>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "ssh-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gelse/ssh-mcp:0.3.0"
      ],
      "env": {
        "CONFIG_DIR": "<CONFIG_DIR>",
        "LOG_DIR": "<LOG_DIR>",
        "CONFIG_API_ENABLED": "<CONFIG_API_ENABLED>",
        "CONFIG_API_TOKEN": "<CONFIG_API_TOKEN>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ssh-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/gelse/ssh-mcp:0.3.0"
      ],
      "env": {
        "CONFIG_DIR": "<CONFIG_DIR>",
        "LOG_DIR": "<LOG_DIR>",
        "CONFIG_API_ENABLED": "<CONFIG_API_ENABLED>",
        "CONFIG_API_TOKEN": "<CONFIG_API_TOKEN>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

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

Details

Packageghcr.io/gelse/ssh-mcp:0.3.0 (OCI, streamable-http)
First published14 Sep 2026
Last updated14 Sep 2026
Registry nameio.github.gelse/ssh-mcp

More security servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.