Skip to content
Grok

ssh-mcp for Grok

io.github.gelse/ssh-mcp

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

client:Grok transport:stdio runtime:oci

Install ssh-mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

ssh-mcp in other clients