maginary-mcp
io.github.maginaryai/maginary-mcp
MCP server OK 16 tools
AI image + video generation for agents: --flag prompt DSL, async generate/poll, x402 pay-per-use.
Technical sheet
- Author
- maginaryai (registry namespace)
- Repository
- github.com/maginaryai/maginary-mcp
- Site
- maginary.ai/mcp
- Version
- 0.3.18
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://mcp.maginary.ai/mcp Streamable HTTP
- Packages
- maginary-mcp 0.3.18 pypi stdio
- Tools
- 16
- Categories
- Images, audio and video, AI, agents and memory
- Last updated
- 15 Sept 2026
- Published
- 15 Sept 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.maginaryai/maginary-mcp)<a href="https://latlas.dev/en/mcp/io.github.maginaryai/maginary-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.maginaryai/maginary-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.maginaryai/maginary-mcp)<a href="https://latlas.dev/en/mcp/io.github.maginaryai/maginary-mcp"><img src="https://latlas.dev/badge/fiche/io.github.maginaryai/maginary-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.maginary.ai/mcp
- Last result
- OK 28 Nov 2026, 09:34
- Response time
- 1,618 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- maginary 1.30.0
- Tools
- 16
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:34 | OK | 1,618 ms | 16 |
Exposed tools (16, from tools/list, 28 Nov 2026)
list_parameters
List parameters
List Maginary prompt-DSL parameters. Args: category: Restrict to one category (e.g. ``composition``, ``video``, ``model``, ``outpaint``). Call with no filters once — the response's ``categories`` / ``statuses`` maps are the full taxonomy. status: Restrict to one status (``live``, ``mostly-dead``, ``unimplemented``). include_reserved: When False (default) drop ``unimplemented`` (recognized-but-blocked) parameters from the result. Returns: A dict with ``count``, ``source`` (``live`` vs. ``bundled-snapshot``), ``categories`` / ``statuses`` (the filter taxonomy), and ``parameters`` (the array of matching entries).
| Parameter | Type | Required | Description |
|---|---|---|---|
| category | string | null | no | Filter by category, e.g. composition, video, model, outpaint. |
| status | string | null | no | Filter by status: live, mostly-dead, or unimplemented. |
| include_reserved | boolean | no | Include unimplemented (blocked) parameters. |
search_parameters
Search parameters
Text-search over parameter names, aliases, descriptions, values, examples. Args: query: Substring match, case-insensitive. category: Optional single-category restriction. include_reserved: Whether to include ``unimplemented`` parameters. Returns: Dict with ``count``, ``source`` (``live`` vs. ``bundled-snapshot``), and ``parameters`` (ordered as they appear in the catalog).
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Search term (case-insensitive substring match). |
| category | string | null | no | Filter by category, e.g. composition, video, model. |
| include_reserved | boolean | no | Include unimplemented (blocked) parameters. |
get_parameter
Get parameter
Return the full record for a single parameter (canonical name or alias). Args: name: Parameter name with or without leading ``--`` (e.g. ``ar``, ``--ar``, ``aspect``). Case-insensitive. Returns: The parameter dict. Not-found is an ``isError`` result — surface it rather than fabricating a param.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Parameter name with or without --, e.g. ar, --ar, aspect. |
generate
Generate image or video
Kick off a generation via POST /api/gens/. Args: prompt: The user's words, passed through as-is. Do NOT add flags the user did not ask for — no ``--ar``, no ``--flagship``, no model flags. Every extra flag costs credits; adding them unrequested is wrong. Standard quality is the default and is cheap; ``--flagship`` is ~4× more expensive and must only be used when the user explicitly asks for best quality. If the user asks about quality or aspect ratio: ask them first (standard vs flagship, landscape vs portrait) before generating. Flags go at the END, only when the user asked: ``--1``/``--2``/``--3``/``--4`` = image count (default 4), ``--ar 16:9`` = aspect ratio, ``--flagship`` = best quality. Unknown flag: call ``get_parameter(name)`` first — never guess. Examples — user says "a fox": prompt is ``"a fox"``. User says "a fox, landscape, best quality": prompt is ``"a fox --ar 16:9 --flagship"``. **Image-to-image (img2img):** Place one or more public image URLs in the prompt, followed by editing instructions: ``"https://cdn.example.com/photo.webp reimagine as oil painting --ar 16:9"`` The engine extracts URLs automatically and switches to img2img mode. Multiple URLs trigger multi-input mode (compositing/combining). Use ``upload_image`` first if images aren't already hosted. **Image-to-video:** Place an image URL in the prompt AND add ``--mp4`` plus video flags (``--5sec``, ``--1080p``). Or use ``execute_action`` with ``action_type="img2vid_basic"`` on a completed generation's…
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | yes | The user's words as-is, flags at the end. Do NOT add flags the user did not ask for. |
| callback_url | string | null | no | HTTPS webhook URL for done/failed notifications. |
get_generation
Get generation
Fetch a generation by UUID (GET /api/gens/{uuid}/). Args: uuid: The UUID returned by ``generate``. Returns: The full generation record. If terminal, ``image_urls[]`` holds the finished outputs and ``processing_result.slots[]`` the per-slot detail. NOTE: a generation that failed server-side is a SUCCESSFUL tool call returning ``processing_state: "failed"`` — always check the state, never infer success from the absence of a tool error. **Follow-up actions:** A completed generation's ``processing_result.available_actions`` maps slot indices to valid action types. E.g. ``{"0": ["upscale_2x", "vary_strong", ...], "global": ["reroll"]}``. Use ``execute_action`` with the ``uuid``, a chosen ``action_type``, and the ``parent_image_index`` (the slot key as an int) to run an action. Hosted: a key obtained mid-session may be passed as ``_meta["maginary/api_key"]``.
| Parameter | Type | Required | Description |
|---|---|---|---|
| uuid | string | yes | Generation UUID from generate or execute_action. |
wait_for_generation
Wait for generation
Poll ``get_generation`` on a backoff until it reaches done / failed. Args: uuid: The UUID returned by ``generate``. timeout_s: Return after this many seconds even if still running. Default 45 stays under the 60 s per-call limit most MCP clients enforce; a ``timeout`` result just means "call again". Only raise it (e.g. for video) on clients you know allow long tool calls. Returns: The terminal generation record — which includes generations that failed server-side: those are SUCCESSFUL tool calls returning ``processing_state: "failed"`` with empty ``image_urls``, so always check the state. On tool failure, an ``isError`` result whose ``error`` field is ``"timeout"`` (``message`` names the last observed state — the generation keeps running server-side and can be re-fetched with ``get_generation`` later), ``"auth"``, or ``"failed"``. **Follow-up actions:** A ``done`` generation's ``processing_result.available_actions`` maps slot indices to valid action types — e.g. ``{"0": ["upscale_2x", "vary_strong", "pan_left", "zoom_out_1_5x", "img2img_basic", "img2img_inpaint", "img2vid_basic", ...], "global": ["reroll"]}``. Use ``execute_action`` with the ``uuid``, a chosen ``action_type``, and the ``parent_image_index`` (the slot key as an int) to run an action on a specific output image.
| Parameter | Type | Required | Description |
|---|---|---|---|
| uuid | string | yes | Generation UUID to poll. |
| timeout_s | number | no | Max seconds to wait before returning a timeout result. |
upload_image
Upload image
Upload a local image and get a CDN URL for img2img or ``--sref``. Only available on local (stdio) connections. On hosted/remote connections, place an existing image URL directly in the prompt. Place the returned ``url`` in a ``generate`` prompt: ``generate("https://cdn.maginary.ai/…/photo.webp reimagine as oil painting")`` Args: file_path: Path to an image file on disk (JPEG, PNG, WebP, HEIC). filename: Original filename. Inferred from ``file_path`` if omitted. Returns: Dict with ``url`` (the public CDN URL), ``exists`` (deduplicated), ``credits_deducted``, and ``message``.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_path | string | yes | Path to a local image (JPEG, PNG, WebP, HEIC). |
| filename | string | null | no | Override filename. Inferred from file_path if omitted. |
execute_action
Run action on image
Run a follow-up action on a completed generation's image. After ``generate`` → ``wait_for_generation``, the response's ``processing_result.available_actions`` lists what's possible per slot. Call this tool with one of those action types. Args: generation_uuid: UUID of the parent generation (from ``generate``). action_type: One of the values from ``available_actions`` — e.g. ``"upscale_2x"``, ``"upscale_1_5x"``, ``"vary_strong"``, ``"vary_subtle"``, ``"pan_left"``, ``"pan_right"``, ``"pan_up"``, ``"pan_down"``, ``"zoom_out_2x"``, ``"zoom_out_1_5x"``, ``"img2img_basic"``, ``"img2img_inpaint"``, ``"img2vid_basic"``, ``"reroll"``. parent_image_index: The slot index of the image to act on (0, 1, 2, or 3 for a 4-image grid). Required for per-slot actions; omit for ``"reroll"`` (global action). prompt: Required for ``img2img_basic``, where it is the edit instruction (e.g. ``"make the hat red"``; flags such as ``--2`` or ``--flagship`` may follow it), and for ``img2img_inpaint``, where it is the instruction followed by ``--mask `` (e.g. ``"make the hat red --mask rect(.2,.1 .8,.4)"``; the instruction may be empty to just redo the area). Optional otherwise: for ``vary_*`` you can steer the variation with a new prompt; for ``img2vid_basic`` you can describe the desired motion. callback_url: Optional webhook URL (same as ``generate``). Returns: The newly created child generation record (same shape as ``generate``'s return — poll it with ``wait_for_generation``). On failure, same ``isEr…
| Parameter | Type | Required | Description |
|---|---|---|---|
| generation_uuid | string | yes | UUID of the parent generation. |
| action_type | string | yes | Action from available_actions, e.g. upscale_2x, vary_strong, img2img_basic, img2img_inpaint, img2vid_basic, reroll. |
| parent_image_index | integer | null | no | Slot index (0-3) of the image to act on. Omit for global actions like reroll. |
| prompt | string | null | no | Prompt for the action. Required for img2img_basic (the edit instruction) and img2img_inpaint (the instruction, which may be empty, plus --mask ); optional replacement prompt for vary/img2vid. |
| callback_url | string | null | no | HTTPS webhook URL for done/failed notifications. |
create_account
Create account
Create a new Maginary account for the given email address. Returns the auto-generated password — display it to the user ONCE so they can save it. A verification email is sent; the user must click the link before the account can generate images. After verification, use ``manage_api_key(action='create')`` with ``email`` + ``password`` to get an API key, then ``configure_api_key`` to activate it. Args: email: The user's email address. Returns: Dict with ``email``, ``password``, and ``message``. On failure, an ``isError`` result — e.g. ``error: "already_exists"`` (email taken: ask the user for their password or a different email), ``"rate_limited"``, or ``"failed"``.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | yes | Email address for the new account. |
create_wallet_account
Create wallet account
Create (or access) a Maginary account using a wallet signature. Sign the message ``Maginary: authenticate at . This does not move funds.`` with EIP-191 ``personal_sign`` and pass all three values. On success, an API key is returned immediately — no email verification needed. Use this when you have a wallet but no email. The returned ``api_key`` should be passed as ``Authorization: Bearer `` in the MCP client config, or via ``configure_api_key`` (stdio) / ``_meta["maginary/api_key"]`` (hosted, per-call). If the wallet already has an account, returns the existing account with a fresh API key. Args: address: EVM wallet address (0x..., 42 chars). signature: Hex-encoded EIP-191 personal_sign of the auth message. timestamp: Unix epoch seconds used in the signed message (must be within the last 5 minutes). Returns: Dict with ``address``, ``api_key`` (full key — show once), ``key_prefix``, ``created`` (bool), ``message``. On failure: ``isError`` with ``error`` = ``"validation"``, ``"signature_failed"``, or ``"rate_limited"``.
| Parameter | Type | Required | Description |
|---|---|---|---|
| address | string | yes | EVM wallet address (0x..., 42 chars). |
| signature | string | yes | Hex EIP-191 personal_sign of the auth message. |
| timestamp | integer | yes | Unix epoch seconds used in the signed message. |
check_account_status
Check account status
Check account verification status, credit balance, and API key count. Use this after ``create_account`` to poll whether the user has clicked the verification link. Pass ``email`` + ``password`` (from ``create_account``) for Basic auth, or omit both to use the configured API key. Args: email: Account email (for Basic auth). password: Account password (for Basic auth). Returns: Dict with ``verified`` (bool), ``email``, ``api_key_count``, ``credits_remaining``, ``uploads_remaining``.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | null | no | Account email (for Basic auth). Omit to use API key. | |
| password | string | null | no | Account password (for Basic auth). |
manage_api_key
Manage API key
Create, list, or revoke Maginary API keys (up to 10 per account). Auth: pass ``email`` + ``password`` for Basic auth (onboarding), or omit both to use the configured API key (normal operation). Args: action: One of ``create``, ``list``, ``revoke``. name: Key name (required for ``create``). key_prefix: 8-char prefix of the key to revoke (required for ``revoke``). email: Account email (for Basic auth). password: Account password (for Basic auth). Returns: For ``create``: dict with ``raw_key`` (the full key — show once, then use ``configure_api_key`` to activate it), ``key_prefix``, ``name``. For ``list``: dict with ``keys`` array. For ``revoke``: success/error message.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | One of: create, list, revoke. |
| name | string | null | no | Key name (required for create). |
| key_prefix | string | null | no | 8-char prefix of key to revoke (required for revoke). |
| string | null | no | Account email (for Basic auth). | |
| password | string | null | no | Account password (for Basic auth). |
configure_api_key
Configure API key
Activate an API key. Local (stdio) servers persist it; hosted does not. Call this after ``manage_api_key(action='create')`` returns a ``raw_key``. On a local server the key is saved to ``~/.config/maginary/api_key`` (chmod 600) and survives restarts. On the hosted server (mcp.maginary.ai) nothing can be stored — auth is per-request: the response will say ``persisted: false`` and the key must be sent as an ``Authorization: Bearer `` header on every request (set it in the MCP client's connection config). Args: api_key: The full API key string returned by ``manage_api_key``. Returns: Confirmation dict.
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | yes | Full API key string from manage_api_key. |
get_products
Get products
List available Maginary products/plans with pricing. No authentication required. Use this to present purchase options to the user. The ``novice_pack`` ($10, 150 credits) is the recommended starting point. Returns: Dict with ``count`` and ``products`` — each product carries ``id``, ``short_name``, ``title``, ``description``, ``price_cents``, ``credits``, ``uploads``, ``is_subscription``. (The backend sends a bare array; it is wrapped here because FastMCP validates tool output against the dict annotation and rejects a top-level list.)
No parameters.
checkout
Create checkout link
Create a Stripe checkout session for purchasing a product. Returns a ``checkout_url`` — the user must open it in a browser to complete payment. After payment, credits are provisioned automatically via webhook. **Present the URL exactly as returned, including the ``#fragment`` — do not truncate, reformat, or strip any part of it.** If the agent has a USDC wallet, skip this entirely — just call ``generate`` and the x402 protocol handles payment on-chain. Args: product_id: Product ID from ``get_products``. email: Account email (for Basic auth during onboarding). password: Account password (for Basic auth during onboarding). Returns: Dict with ``checkout_url``. On failure, an ``isError`` result — e.g. ``error: "email_not_verified"`` until the user clicks the verification link, or ``"auth"`` / ``"failed"``.
| Parameter | Type | Required | Description |
|---|---|---|---|
| product_id | integer | yes | Product ID from get_products. |
| string | null | no | Account email (for Basic auth during onboarding). | |
| password | string | null | no | Account password (for Basic auth). |
get_balance
Get balance
Check remaining credits and uploads for the authenticated account. Args: email: Account email (for Basic auth). password: Account password (for Basic auth). Returns: Dict with ``credits_remaining`` and ``uploads_remaining``.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | null | no | Account email (for Basic auth). | |
| password | string | null | no | Account password (for Basic auth). |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.maginary.ai/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http maginary-mcp https://mcp.maginary.ai/mcpCustomize > Connectors > + Add > Add custom connector ; Name : maginary-mcp ; URL : https://mcp.maginary.ai/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : maginary-mcp ; Server URL : https://mcp.maginary.ai/mcp ; Create as a plugin{
"mcpServers": {
"maginary-mcp": {
"url": "https://mcp.maginary.ai/mcp"
}
}
}{
"mcpServers": {
"maginary-mcp": {
"type": "http",
"url": "https://mcp.maginary.ai/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"maginary-mcp": {
"url": "https://mcp.maginary.ai/mcp"
}
}
}{
"mcpServers": {
"maginary-mcp": {
"httpUrl": "https://mcp.maginary.ai/mcp"
}
}
}[mcp_servers.maginary-mcp]
url = "https://mcp.maginary.ai/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
maginary-mcp · L’Atlas · Tested on
[maginary-mcp — L’Atlas](https://latlas.dev/en/mcp/io.github.maginaryai/maginary-mcp)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.