gemini

v2.10.1
io.github.houtini-ai/gemini Checked 5 days ago Published 1 month ago

Model Context Protocol server for Google Gemini AI with chat, research, and grounding

Values you need

VariableWhat it is
GEMINI_API_KEYrequired secret Google AI Studio API key (get from https://aistudio.google.com/apikey)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add gemini -e 'GEMINI_API_KEY=<GEMINI_API_KEY>' -- npx -y @houtini/gemini-mcp@2.10.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "gemini": {
      "args": [
        "-y",
        "@houtini/gemini-mcp@2.10.1"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gemini": {
      "args": [
        "-y",
        "@houtini/gemini-mcp@2.10.1"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GEMINI_API_KEY",
      "id": "gemini-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "gemini": {
      "args": [
        "-y",
        "@houtini/gemini-mcp@2.10.1"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "${input:gemini-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gemini]
command = "npx"
args = ["-y", "@houtini/gemini-mcp@2.10.1"]
env = { "GEMINI_API_KEY" = "<GEMINI_API_KEY>" }

For AI agents

  1. Ask the user for: GEMINI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: gemini_help, gemini_prompt_assistant, gemini_chat, gemini_list_models, gemini_deep_research, describe_image, analyze_image, load_image_from_path, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json