Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"gemini-image": {
"env": {
"GEMINI_API_KEY": "${GEMINI_API_KEY}"
},
"args": [
"-y",
"@jimothy-snicket/gemini-image-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for Google Gemini image generation, editing, and processing. Two tools, no bloat.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@jimothy-snicket/gemini-image-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @jimothy-snicket/gemini-image-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / design
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
MCP server for accessing Figma plugin console logs and screenshots via Cloudflare Workers or local mode
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
MCP Security Weekly
Get CVE alerts and security updates for io.github.JimothySnicket/gemini-image and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for Google Gemini image generation, editing, and processing. Two tools, no bloat.
Built on Gemini's native image generation API (generateContent), not the deprecated Imagen API. If you're migrating from Imagen (shutting down June 2026), this is what you move to — multi-turn editing, reference images, and all the features Imagen didn't have.
npm install -g @jimothy-snicket/gemini-image-mcp
Or use directly with npx:
npx -y @jimothy-snicket/gemini-image-mcp
Claude Code (one command):
claude mcp add gemini-image -- npx -y @jimothy-snicket/gemini-image-mcp
Requires a GEMINI_API_KEY environment variable — see Setup for details.
Set up a config file (optional):
npx @jimothy-snicket/gemini-image-mcp --init
Creates ~/.gemini-image-mcp.json with commented defaults. For project-specific overrides:
npx @jimothy-snicket/gemini-image-mcp --init --local
generations.jsonl logs every generation with prompt, params, costGo to Google AI Studio and create an API key. It's free to start with generous rate limits.
The server reads your key from the GEMINI_API_KEY environment variable. Set it once so it's available in every session:
Windows (PowerShell — run as admin):
[System.Environment]::SetEnvironmentVariable('GEMINI_API_KEY', 'your-key-here', 'User')
Then restart your terminal.
macOS / Linux:
echo 'export GEMINI_API_KEY="your-key-here"' >> ~/.bashrc
source ~/.bashrc
(Use ~/.zshrc if you're on zsh.)
Verify it's set:
echo $GEMINI_API_KEY
Pick the method that matches how you use MCP:
claude mcp add gemini-image -- npx -y @jimothy-snicket/gemini-image-mcp
Claude Code will pick up GEMINI_API_KEY from your environment automatically.
.mcp.json)Add to .mcp.json in your project root or ~/.claude/.mcp.json for global access:
{
"mcpServers": {
"gemini-image": {
"command": "npx",
"args": ["-y", "@jimothy-snicket/gemini-image-mcp"],
"env": {
"GEMINI_API_KEY": "${GEMINI_API_KEY}"
}
}
}
}
The ${GEMINI_API_KEY} syntax reads the value from your shell environment — your actual key never gets written into config files.