{
  "slug": "io-github-chrischall-gemini-mcp",
  "name": "io.github.chrischall/gemini-mcp",
  "title": "gemini-mcp",
  "description": "Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models.",
  "version": "2.4.2",
  "publishedAt": "2026-10-20T22:27:36.93796Z",
  "updatedAt": "2026-10-20T22:27:36.93796Z",
  "repoUrl": "https://github.com/chrischall/gemini-mcp",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "chrischall"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@chrischall/gemini-mcp",
      "version": "2.4.2",
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "GEMINI_API_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Your Google Gemini API key (aistudio.google.com/apikey)"
    },
    {
      "name": "GEMINI_IMAGE_MODEL",
      "isSecret": false,
      "isRequired": false,
      "description": "Override the default image model (default: gemini-nano-banana-2.1)"
    },
    {
      "name": "GEMINI_OUTPUT_DIR",
      "isSecret": false,
      "isRequired": false,
      "description": "Default directory for generated images (default: ~/Downloads/gemini-mcp). When set, a per-call output_dir must be inside it."
    },
    {
      "name": "GEMINI_INPUT_DIR",
      "isSecret": false,
      "isRequired": false,
      "description": "Directory to resolve bare input-image filenames against"
    },
    {
      "name": "GEMINI_UPLOAD_DIR",
      "isSecret": false,
      "isRequired": false,
      "description": "Restrict local-file uploads to the Gemini Files API to these directories (path.delimiter-separated; unset = unrestricted)"
    },
    {
      "name": "GEMINI_REFERENCE_DIR",
      "isSecret": false,
      "isRequired": false,
      "description": "Restrict local reference images (images / image paths sent to Gemini) to these directories (path.delimiter-separated), plus GEMINI_OUTPUT_DIR. Unset: GEMINI_UPLOAD_DIR applies; if that is unset too, unrestricted locally, and $MCP_DATA_DIR/uploads when MCP_DATA_DIR is set (hosted)"
    },
    {
      "name": "GEMINI_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Upstream request timeout in ms (default: 60000, or 120000 for image_size: \"4K\"); each generation tool also takes a per-call timeout_ms"
    },
    {
      "name": "GEMINI_HEARTBEAT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Progress-notification cadence in ms while a generation runs (default: 10000; 0 disables) — keeps MCP hosts that reset their timeout on progress from timing out long generations"
    },
    {
      "name": "GEMINI_CHAIN_RETRY_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "How long to wait out interactions-store lag when a chained call 404s (default: 120000; 0 disables retrying)"
    },
    {
      "name": "GEMINI_DEBUG",
      "isSecret": false,
      "isRequired": false,
      "description": "When set, emit heartbeat diagnostics to stderr. Off by default."
    },
    {
      "name": "GEMINI_RATE_CARD",
      "isSecret": false,
      "isRequired": false,
      "description": "Override/extend the shipped USD-per-1M-token rates used by gemini_token_usage's cost estimate, e.g. {\"gemini-3-pro-image\":{\"input\":2,\"text_output\":12,\"image_output\":120}}. Malformed JSON is ignored (a bad card must not fail generations)."
    }
  ],
  "category": "ai-media",
  "subcategory": "image",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/chrischall/gemini-mcp"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "info",
      "detail": "Asks for 1 secret: GEMINI_API_KEY"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account chrischall"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "@chrischall/gemini-mcp@2.4.2 runs nothing at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "warn",
      "detail": "Reads SSH or cloud credentials (dist/tools/_confirm.js:28: \"/.ssh/id_\"); Reads SSH or cloud credentials (dist/images.js:107: \"/.ssh/id_\")"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 48 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (npm)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"gemini-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@chrischall/gemini-mcp@2.4.2\"\n      ]\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 0,
  "archived": false,
  "pushedAt": "2026-10-25T19:34:25Z",
  "health": {
    "score": 58,
    "parts": {
      "popularity": 0.3091265881188801,
      "activity": 0.6,
      "issues": 0.9777777777777777,
      "security": 0.8
    },
    "fail": 0,
    "warn": 1,
    "raw": {
      "stars": 0,
      "forks": 0,
      "downloads": 1893,
      "hn": null,
      "issuesOpen": 1,
      "issuesClosed": 44,
      "prsMerged": 262,
      "commits90": 0,
      "release": "2026-10-20T22:23:32Z",
      "pushed": "2026-10-25T19:34:25Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:35:52.424Z"
  }
}
