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.
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) andrich(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
configtool - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imagine_mcp-1.0.0.tar.gz.
File metadata
- Download URL: imagine_mcp-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
469fb7f4338fa3b4dc42b7584c9a32fb3a172f1dc8563bd9f17b2afb30d770b0
|
|
| MD5 |
1e46405c56018fc3d67c8f8d7002fe7b
|
|
| BLAKE2b-256 |
5aa16abf6fc7e0a19bb4a7f9af2a08925a93b6bdba1e9743364a2054efa2d4eb
|
File details
Details for the file imagine_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: imagine_mcp-1.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e52f82712a3ba03cd76a65ee522c5335e445d58b9a7644167b5cff4a88bec8a
|
|
| MD5 |
34a2c96486e4c2ff6a879d90c9db236b
|
|
| BLAKE2b-256 |
589c87a093b524a9328a3bcf5591201293dad6eed8c05ccab4d413e05902ea85
|