Generate MCP Server

MCP server for AI image generation and repaint with vision analysis

Local serverstdio

What is the Generate MCP server?

MCP server for AI image generation and repaint with vision analysis. The generate mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 5 defined tools rather than through you.

What it actually does

  • Text-to-Image — Generate images from text prompts
  • Image-to-Image (Repaint) — Edit existing images using natural language descriptions
  • Vision Analysis — Intelligent image understanding and prompt optimization
  • Multi-provider support — Works with Agnes, OpenAI DALL-E, Stability AI, and more
  • Metadata tracking — Automatic metadata storage for all generated/edited images
  • Multi-platform support — Works with OpenCode, Claude Desktop, Cursor, Windsurf, and more

Its toolset

Everything the assistant can do here goes through one of these:

  • generate_image — The generate_image tool exposed by this server
  • repaint_image — The repaint_image tool exposed by this server
  • OpenCode — The OpenCode tool exposed by this server
  • Cursor — The Cursor tool exposed by this server
  • Windsurf — The Windsurf tool exposed by this server

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at generate-image-mcp-setup on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Configuration

You will need 8 environment variables: IMAGE_PROVIDER, IMAGE_API_KEY, IMAGE_API_URL, IMAGE_MODEL, VISION_PROVIDER, VISION_API_KEY, VISION_API_URL, VISION_MODEL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Generate's toolset — generate_image, repaint_image, OpenCode and 2 more — is a fair guide to whether it matches your workflow. It is maintained by jjjjjack; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the generate mcp server does with a few real requests.

Available tools

ToolWhat it does
generate_imageThe generate_image tool exposed by this server.
repaint_imageThe repaint_image tool exposed by this server.
OpenCodeThe OpenCode tool exposed by this server.
CursorThe Cursor tool exposed by this server.
WindsurfThe Windsurf tool exposed by this server.

How to install the Generate MCP server

{
  "mcpServers": {
    "generate-image": {
      "command": "npx",
      "args": ["-y", "generate-image-mcp-setup"],
      "env": {
        "IMAGE_PROVIDER": "your-value",
        "IMAGE_API_KEY": "your-value",
        "IMAGE_API_URL": "your-value",
        "IMAGE_MODEL": "your-value",
        "VISION_PROVIDER": "your-value",
        "VISION_API_KEY": "your-value",
        "VISION_API_URL": "your-value",
        "VISION_MODEL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
IMAGE_PROVIDERConfiguration value read at startup.Optional
IMAGE_API_KEYCredential the server authenticates with.Yes
IMAGE_API_URLEndpoint or connection string the server talks to.Yes
IMAGE_MODELConfiguration value read at startup.Optional
VISION_PROVIDERConfiguration value read at startup.Optional
VISION_API_KEYCredential the server authenticates with.Yes
VISION_API_URLEndpoint or connection string the server talks to.Yes
VISION_MODELConfiguration value read at startup.Optional

Example prompts to try

  • Use Generate to generate image.
  • Use Generate to repaint image.
  • Use Generate to OpenCode.

Frequently asked questions

It connects Generate to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (generate_image, repaint_image, OpenCode, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Generate directly.