MCP.so
ログイン

Gemini Image Generation MCP Server

@collactivelabs

基本情報

カテゴリ

AI とエージェント

トランスポート

stdio

作者

collactivelabs

Gemini Image Generation MCP Server について

A Model Calling Protocol (MCP) server that allows Claude and other LLMs to generate images using Google's Gemini AI model.

Gemini Image Generation MCP Server の設定

以下の設定を使って、このサーバーを 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"
      }
    }
  }
}

Gemini Image Generation MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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.

よくある質問

1

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.

2

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`.

3

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.

4

Where are generated images saved?

By default, images are saved in the `./generated-images` directory, configurable via the `OUTPUT_DIR` environment variable.

5

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 とエージェント」の他のコンテンツ