gemini-mcp
About
Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
GEMINI_API_KEY GEMINI_IMAGE_MODEL GEMINI_OUTPUT_DIR GEMINI_INPUT_DIRClaude Code
claude mcp add --env GEMINI_API_KEY= --env GEMINI_IMAGE_MODEL= --env GEMINI_OUTPUT_DIR= --env GEMINI_INPUT_DIR= gemini-mcp -- npx @chrischall/gemini-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"gemini-mcp","command":"npx","args":["@chrischall/gemini-mcp"],"env":{"GEMINI_API_KEY":"","GEMINI_IMAGE_MODEL":"","GEMINI_OUTPUT_DIR":"","GEMINI_INPUT_DIR":""}}'
JSON
{
"mcpServers": {
"gemini-mcp": {
"command": "npx",
"args": [
"@chrischall/gemini-mcp"
],
"env": {
"GEMINI_API_KEY": "",
"GEMINI_IMAGE_MODEL": "",
"GEMINI_OUTPUT_DIR": "",
"GEMINI_INPUT_DIR": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.