Gemini MCP Server logo

Gemini MCP Server

by Garblesnarff

The Gemini MCP Server enables Claude Desktop to generate images using Google's Gemini AI models. It integrates with Claude Desktop's MCP server system for seamless image generation.

View on GitHub

Last updated: N/A

What is Gemini MCP Server?

The Gemini MCP Server is a Model Context Protocol (MCP) server that allows Claude Desktop to generate images using Google's Gemini AI models. It acts as a bridge between Claude Desktop and the Gemini API, enabling image generation directly from Claude's interface.

How to use Gemini MCP Server?

First, install the server globally or locally using npm. Then, run the setup wizard to configure your Google Gemini API key and other settings. Restart Claude Desktop, and you can then ask Claude to generate images using natural language prompts. The server will handle the communication with the Gemini API and provide the path to the generated image.

Key features of Gemini MCP Server

  • Generate images directly from Claude Desktop using Google's Gemini models

  • Easy setup wizard for configuration

  • Customizable image generation parameters

  • Integration with Claude Desktop's MCP server system

Use cases of Gemini MCP Server

  • Generating images based on textual descriptions within Claude Desktop

  • Creating visual content for presentations or documents directly from Claude

  • Experimenting with different image styles and parameters using natural language commands

  • Automating image creation workflows within Claude Desktop

FAQ from Gemini MCP Server

How do I get a Google Gemini API key?

You can obtain a Google Gemini API key from the Google AI Studio website (https://ai.google.dev/).

What are the system requirements for the server?

The server requires Node.js 16.x or higher, the Claude Desktop application, and a Google Gemini API key.

How do I customize image generation parameters?

You can specify parameters like style and temperature in your prompts to Claude. For example: 'Generate an image of a cyberpunk city with neon lights in a realistic style with temperature 0.7'

Where are the generated images saved?

The images are saved in the directory specified during the setup wizard or in the configuration file. The default directory is ~/Claude/gemini-images.

What if the server doesn't start or Claude can't connect?

Check the log file at ~/Claude/logs/gemini-image-mcp.log, verify your API key, ensure directories exist and have proper permissions, and restart Claude Desktop.