Install Ultimate Gemini MCP for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"nikships-ultimate-image-gen-mcp": {
"command": "uvx",
"args": [
"ultimate-gemini-mcp"
],
"env": {
"GEMINI_API_KEY": "YOUR_GEMINI_API_KEY",
"OUTPUT_DIR": "~/gemini_images",
"DEFAULT_IMAGE_SIZE": "2K",
"DEFAULT_MODEL": "gemini-3.1-flash-image-preview",
"ENABLE_PROMPT_ENHANCEMENT": "false",
"ENABLE_GOOGLE_SEARCH": "false",
"REQUEST_TIMEOUT": "60",
"MAX_BATCH_SIZE": "8",
"LOG_LEVEL": "INFO"
}
}
}
}