Skip to content
Gemini CLI

SandboxAPI for Gemini CLI

io.github.michielderuiter/sandboxapi-mcp

Execute code in 8 languages (Python, JS, TS, Go, Java, C++, C, Bash) in gVisor sandboxes.

client:Gemini CLI transport:streamable-http

Install SandboxAPI in Gemini CLI

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

{
  "mcpServers": {
    "sandboxapi-mcp": {
      "httpUrl": "https://mcp.sandboxapi.dev/mcp"
    }
  }
}

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

SandboxAPI in other clients