gemini
v2.10.1Model Context Protocol server for Google Gemini AI with chat, research, and grounding
Values you need
| Variable | What it is | |
|---|---|---|
GEMINI_API_KEY | required 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.1Add 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
- Ask the user for: GEMINI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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