Skip to main content

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

Project description

imagine-mcp

Production-grade MCP server for image/video understanding and generation across Gemini, OpenAI, and Grok.

CI codecov PyPI License

Python FastMCP semantic-release Renovate

Features

  • 4 MCP tools: understand, generate, config, help
  • 3 providers: Google Gemini, OpenAI, xAI Grok — same interface, switch via param
  • 2 tiers: poor (cheap/fast) and rich (high quality) per provider
  • Image + video: understanding (Gemini native multimodal) and generation
  • Zero-config onboarding: browser-based credential setup via relay (no .env)
  • Degraded mode: server starts with 0 credentials; configure via config tool
  • Cache: automatic caching of understand responses (configurable TTL)
  • Leaderboard-ranked models: provider ordering auto-refreshed weekly from Artificial Analysis + LMArena

Quick start

# With uvx
uvx imagine-mcp

# Or via MCP client config (Claude Desktop / Cursor / etc.)
{
  "mcpServers": {
    "imagine": {
      "command": "uvx",
      "args": ["imagine-mcp"]
    }
  }
}

On first run, open the relay URL from stderr and submit your API keys.

See docs/setup-with-agent.md and docs/setup-manual.md for onboarding details.

Model IDs

See docs/models.md (auto-generated, leaderboard-sorted) and CLAUDE.md for the full provider × action × tier → model ID mapping.

Development

git clone https://github.com/n24q02m/imagine-mcp
cd imagine-mcp
mise run setup    # install tools, deps, pre-commit hooks
mise run test     # run test suite
mise run dev      # run server in dev mode

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imagine_mcp-1.0.0b3.tar.gz (100.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imagine_mcp-1.0.0b3-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file imagine_mcp-1.0.0b3.tar.gz.

File metadata

  • Download URL: imagine_mcp-1.0.0b3.tar.gz
  • Upload date:
  • Size: 100.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for imagine_mcp-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 4f1e61f3736dfd40c9116086be0db96e74e2d091fde020b1ed3ea0fad85d9128
MD5 3367387daa4a52771029898e62131cbe
BLAKE2b-256 3670cca5b03d3ec0a544ccd8ec7e4de89362b8b944b1860ac93af76db9677d29

See more details on using hashes here.

File details

Details for the file imagine_mcp-1.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: imagine_mcp-1.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for imagine_mcp-1.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 5df77567470ba1e0a750755f4952a47b77c3168029884333ce3cd2a5de9a85d2
MD5 4b459ca59826c835e62a5ee6b6826303
BLAKE2b-256 66d148ded3f9d2a033c5e8249cccbca40c45a9fab2f2f1266e3a347aefdfd5fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page