Image Generator MCP Server

This is an MCP (Model Context Protocol) server that generates images from text prompts using HuggingFace models (Stable Diffusion, FLUX, and more).

✨ FREE TIER AVAILABLE!

Quick Installation:
claude mcp add image-generator -- npx -y mcp-hf-images --api-key YOUR_HF_TOKEN

Get Your FREE HuggingFace Token

  1. Visit HuggingFace Token Settings
  2. Click "New token"
  3. Give it a name (e.g., "MCP Image Generator")
  4. Select "Read" access
  5. Click "Generate token"
  6. Copy your token and use it in the installation command above

Available Tools

Example Usage

After installation, you can use prompts like:

Error Handling

The server provides detailed error messages for common issues:

Why HuggingFace?