Skip to content
Gemini CLI

shaft-mcp for Gemini CLI

io.github.shafthq/shaft-mcp

SHAFT browser automation, capture, and offline deterministic failure diagnosis

client:Gemini CLI transport:stdio runtime:oci

Install shaft-mcp in Gemini CLI

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

{
  "mcpServers": {
    "shaft-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/shafthq/shaft-engine-mcp:10.3.20260911"
      ]
    }
  }
}

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

shaft-mcp in other clients