Imagine MCP Server

MCP server for image/video understanding & generation (Gemini/OpenAI/Grok)

Remote serverstreamable-httpPython

What is the Imagine MCP server?

Connect Imagine to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for image/video understanding & generation (Gemini/OpenAI/Grok). The imagine mcp server is what makes that connection.

What the server does

  • Multimodal understanding — -- Describe, classify, or reason over images and videos (Gemini handles mixed image + video in one call)
  • Image generation — -- Text-to-image and image-to-image (edit / inpaint) across Gemini Imagen, OpenAI gpt-image, Grok Imagine
  • Video generation — -- Text-to-video and image-to-video (Gemini Veo 3.1, Grok Imagine Video)
  • 3 providers x 2 tiers — -- Same interface for gemini / openai / grok at poor (cheap/fast) or rich (high quality); swap via parameter
  • Open model passthrough — -- Understanding routes through litellm; pass any provider/model, or configure an ordered model chain (no hardcoded catalog)
  • Degraded mode — -- Server starts with zero credentials and surfaces remaining providers as you add keys

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • understand — --
  • generate — --
  • config — setup_status, setup_skip, setup_reset, setup_complete, warmup, status, set, cache_clear (relay_status/relay_skip/relay_reset/relay_complete honored
  • help — --
  • config__open_relay — --

Credentials and setup notes

Configuration is passed through the environment: GEMINI_API_KEY, UNDERSTAND_MODELS, OPENAI_API_KEY, PUBLIC_URL, MCP_DCR_SERVER_SECRET, XAI_API_KEY, YOUR_ACCOUNT_ID, ACCOUNT_ID. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

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. Imagine's toolset — understand, generate, config and 2 more — is a fair guide to whether it matches your workflow. It is maintained by n24q02m; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
understand--
generate--
configsetup_status, setup_skip, setup_reset, setup_complete, warmup, status, set, cache_clear (relay_status/relay_skip/relay_reset/relay_complete honored as deprecated aliases)
help--
config__open_relay--

How to install the Imagine MCP server

{
  "mcpServers": {
    "imagine": {
      "command": "uvx",
      "args": ["imagine-mcp"],
      "env": {
        "UNDERSTAND_MODELS": "gemini/<model-id>,openai/<model-id>",
        "GEMINI_API_KEY": "AIza...",
        "OPENAI_API_KEY": "sk-..."
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GEMINI_API_KEYCredential the server authenticates with.Yes
UNDERSTAND_MODELSConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
PUBLIC_URLEndpoint or connection string the server talks to.Yes
MCP_DCR_SERVER_SECRETCredential the server authenticates with.Yes
XAI_API_KEYCredential the server authenticates with.Yes
YOUR_ACCOUNT_IDConfiguration value read at startup.Optional
ACCOUNT_IDConfiguration value read at startup.Optional

Example prompts to try

  • Use Imagine to understand.
  • Use Imagine to generate.
  • Use Imagine to config.

Frequently asked questions

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