Gemini Image Generation MCP
@collactivelabs
Gemini Image Generation MCP について
A Model Calling Protocol (MCP) server that allows Claude and other LLMs to generate images using Google's Gemini AI model.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"openai-image-generation": {
"command": "node",
"args": [
"/full/path/to/openai-image-gen-mcp/src/mcp-server.js"
],
"env": {
"OPENAI_API_KEY": "your-openai-api-key-here"
}
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Gemini Image Generation MCP?
Gemini Image Generation MCP is an MCP server that enables LLMs like Claude to generate images using Google's Gemini AI model (gemini-2.0-flash-preview-image-generation). It saves generated images locally and includes an interactive web interface for testing and demonstration.
How to use Gemini Image Generation MCP?
Install Node.js 18+, clone the repository, install dependencies (npm install), and set your GEMINI_API_KEY in the .env file. Run the MCP server with node src/mcp-server.js or use Docker. Configure Claude or another MCP client to connect via the MCP protocol—either through JSON configuration or the Claude console’s MCPs section.
Key features of Gemini Image Generation MCP
- Generate images from text prompts using Google’s Gemini model.
- Save generated images locally.
- Configure generation parameters like temperature, topK, and topP.
- Interactive web interface for testing and demonstration.
- Docker support for easy deployment.
- Simple MCP standard implementation.
Use cases of Gemini Image Generation MCP
- Enable Claude to generate images as part of conversations.
- Automate image creation for content generation pipelines.
- Test and demo Gemini image generation capabilities via the web interface.
- Integrate image generation into custom applications using the MCP protocol.
FAQ from Gemini Image Generation MCP
What do I need to run this server?
You need Node.js 18 or higher and a Google API key with access to the Gemini API (specifically the image generation preview model). Docker is optional but supported.
How do I configure the server?
Create a .env file from .env.example and set GEMINI_API_KEY (required). Optional settings include MCP_AUTH_TOKEN, PORT, OUTPUT_DIR, and LOG_LEVEL.
How does the server integrate with Claude?
You can add the MCP server configuration in Claude’s settings via JSON or through the Claude console’s MCPs section, specifying the server URL and any authentication token.
Where are generated images saved?
By default, images are saved in the ./generated-images directory, configurable via the OUTPUT_DIR environment variable.
What Gemini model is used for generation?
The server uses the gemini-2.0-flash-preview-image-generation model, which is optimized for image generation tasks.
「AI とエージェント」の他のコンテンツ
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
mcp-hfspace MCP Server 🤗
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
コメント