Skip to content
Cursor

gemini mcp for Cursor

io.github.chrischall/gemini-mcp

Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models.

client:Cursor transport:stdio runtime:npm

Install gemini mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "gemini-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/gemini-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GEMINI_IMAGE_MODEL": "<GEMINI_IMAGE_MODEL>",
        "GEMINI_OUTPUT_DIR": "<GEMINI_OUTPUT_DIR>",
        "GEMINI_INPUT_DIR": "<GEMINI_INPUT_DIR>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

gemini mcp in other clients