IM

imagine MCP Server

Published by n24q02m

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

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.11.6
SOURCE CHECKED
Nov 28, 2026

Quick answers

How do I add imagine MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'GEMINI_API_KEY=<your-gemini-api-key>' --env 'OPENAI_API_KEY=<your-openai-api-key>' --env 'XAI_API_KEY=<your-xai-api-key>' --transport stdio imagine -- uvx imagine-mcp

Replace the <your-…> placeholder with your own GEMINI_API_KEY and OPENAI_API_KEY and XAI_API_KEY.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "imagine": {
      "command": "uvx",
      "args": [
        "imagine-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<your-gemini-api-key>",
        "OPENAI_API_KEY": "<your-openai-api-key>",
        "XAI_API_KEY": "<your-xai-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own GEMINI_API_KEY and OPENAI_API_KEY and XAI_API_KEY.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add imagine --env 'GEMINI_API_KEY=<your-gemini-api-key>' --env 'OPENAI_API_KEY=<your-openai-api-key>' --env 'XAI_API_KEY=<your-xai-api-key>' -- uvx imagine-mcp

Replace the <your-…> placeholder with your own GEMINI_API_KEY and OPENAI_API_KEY and XAI_API_KEY.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "imagine": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "imagine-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<your-gemini-api-key>",
        "OPENAI_API_KEY": "<your-openai-api-key>",
        "XAI_API_KEY": "<your-xai-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own GEMINI_API_KEY and OPENAI_API_KEY and XAI_API_KEY.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "imagine": {
      "command": "uvx",
      "args": [
        "imagine-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<your-gemini-api-key>",
        "OPENAI_API_KEY": "<your-openai-api-key>",
        "XAI_API_KEY": "<your-xai-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own GEMINI_API_KEY and OPENAI_API_KEY and XAI_API_KEY.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use imagine MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does imagine MCP Server need an API key?

To run it on your computer, set GEMINI_API_KEY, OPENAI_API_KEY and XAI_API_KEY first, with values from the publisher.

Is imagine MCP Server official?

It's published by n24q02m. The Official MCP Registry accepts names under io.github.n24q02m only from the GitHub account or organisation n24q02m. We last checked its listing on Nov 28, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

pypi · imagine-mcp@1.11.6
oci · docker.io/n24q02m/imagine-mcp:latest
View source repository