Skip to content
Gemini CLI

SSH MCP Server for Gemini CLI

io.github.yawlabs/ssh-mcp

MCP server for SSH operations with built-in diagnostics

client:Gemini CLI transport:stdio runtime:npm

Install SSH MCP Server in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/ssh-mcp"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

SSH MCP Server in other clients