Skip to content
Grok

nanobanana mcp for Grok

io.github.getjoystick/nanobanana-mcp

Lean MCP server for Google's Nano Banana (Gemini) image models. Returns file paths, not base64.

client:Grok transport:stdio runtime:npm

Install nanobanana 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": {
    "nanobanana-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nanobanana/mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "NANOBANANA_MODEL": "<NANOBANANA_MODEL>",
        "NANOBANANA_OUTPUT_DIR": "<NANOBANANA_OUTPUT_DIR>"
      }
    }
  }
}

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

nanobanana mcp in other clients