image-gen3-google-mcp-server

image-gen3-google-mcp-server

0

Gemini Imagen 3.0 MCP Server is an MCP server implementation leveraging Google's Imagen 3.0 model via the Gemini API for generating high-quality images. It's built with TypeScript and supports integration with AI agent hosts like Claude Desktop, featuring automatic file management and HTML preview capabilities.

Gemini Imagen 3.0 MCP Server

A professional Model Context Protocol (MCP) server implementation that harnesses Google's Imagen 3.0 model through the Gemini API for high-quality image generation. Built with TypeScript and designed for seamless integration with Claude Desktop and other MCP-compatible hosts.

🌟 Features

  • Leverage Google's state-of-the-art Imagen 3.0 model via Gemini API
  • Generate up to 4 high-quality images per request
  • Automatic file management with intelligent naming
  • HTML preview generation with file:// protocol support
  • Built on MCP protocol for AI agent compatibility
  • TypeScript implementation with robust error handling

🚀 Quick Start

Prerequisites

  • Node.js 18 or higher
  • Google Gemini API key
  • Claude Desktop or another MCP-compatible host

Installation

  1. Clone the repository
  2. Install dependencies
  3. Build the TypeScript code

⚙️ Configuration

Configure Claude Desktop by adding specific settings. Replace placeholders with your project path and Gemini API key.

🛠️ Available Tools

1. generate_images

  • Generates images using Google's Imagen 3.0 model with options for prompt and number of images.

2. create_image_html

  • Creates HTML preview tags for generated images.