Skip to content
Grok

remote ssh mcp for Grok

io.github.the-nine-nation/remote-ssh-mcp

Persistent stateful remote SSH sessions for AI agents via MCP + OpenSSH.

client:Grok transport:stdio runtime:npm

Install remote 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": {
    "remote-ssh-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zyluo/remote-ssh-mcp"
      ],
      "env": {
        "SSH_MCP_ALLOWED_HOSTS": "<SSH_MCP_ALLOWED_HOSTS>",
        "SSH_MCP_CONFIG": "<SSH_MCP_CONFIG>"
      }
    }
  }
}

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

remote ssh mcp in other clients