gemini-image-generation-mcp

gemini-image-generation-mcp

8

The project provides a Model Context Protocol (MCP) server to facilitate image generation using Google's Gemini 2.0 Flash model. It is designed for integration with AI assistants like Roo Code, offering full support for API parameters and a simple web interface for testing.

Overview

This project provides a Model Context Protocol (MCP) server for connecting to Google's Gemini 2.0 Flash image generation model. It supports AI assistants like Roo Code in generating images. Key features include:

  • Text-to-image generation using Google's Gemini 2.0 Flash model
  • Full API parameter support
  • Simple web interface for testing
  • Easy installation for Roo Code and Claude Desktop
  • Comprehensive documentation

Installation

  • Requires Node.js 18 or higher and a Google AI Studio API key.
  • Install globally using npm and configure with your API key.

Usage

  • Generate images using the generate_image tool with various parameter options.