gemini mcp for Grok
io.github.chrischall/gemini-mcp
Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models.
client:Grok
transport:stdio
runtime:npm
Install gemini mcp in Grok
.mcp.json (in your project root)
{
"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>"
}
}
}
}
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