Connect All Images Ai to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the generate image tool in All Images Ai
Use the retry generation tool in All Images Ai
Use the get generation tool in All Images Ai
Use the list generations tool in All Images Ai
Use the get credits tool in All Images Ai
Use the buy image tool in All Images Ai
Supported Tools
generate_image
Generate Image
Create an AI-generated image from a text description using Midjourney AI. Each generation produces 4 image proposals. Supports **simple mode** (plain text with optional parameters like format, weather, time of day, camera) and **advanced mode** (raw Midjourney "Imagine" prompts). Generation is asynchronous — use the "Get Generation" tool to check status and retrieve results.
retry_generation
Retry Generation
Retry a failed image generation. If a generation ended in error, this restarts it. You may want to update the prompt first using the "Update Generation" tool before retrying.
get_generation
Get Generation
Retrieve the details and current status of an image generation by its ID. Use this to check if a generation is complete and to access the resulting images. Status progresses: created → pending → processing → done (or error).
list_generations
List Generations
List image generations with optional filtering by name or tag. Supports pagination. Returns generation details including status, prompt, and images.
get_credits
Get Credits
Retrieve the current credit balance for your account. Shows remaining credits, total credits per subscription period, and whether credits are unlimited, broken down by credit type (image downloads, generations, upscaling, etc.).
buy_image
Buy Image
Purchase a stock image by its ID and receive direct download URLs for preview, full, upscale, and upscale UHD versions. Credits are consumed on first purchase only — subsequent requests for the same image return URLs without additional cost.
get_download_history
Get Download History
List previously downloaded/purchased images with their download URLs. Supports date range filtering and pagination to find specific past purchases.
delete_generations
Delete Generations
Delete one or more image generations by their IDs. This permanently removes the generations and their associated images.
search_images
Search Images
Search the All-Images.ai library of AI-generated stock images by keywords. Returns preview and full-size URLs for each matching image. Supports filtering for free-only images and pagination.
update_generation
Update Generation
Update an existing image generation's prompt, parameters, tags, or metadata. Only generations that are **not** in "pending" or "processing" status can be updated. Useful for modifying a failed generation before retrying.
who_am_i
Who Am I
Check the current API key and retrieve the associated account email and name.
Enable All Images Ai in Metorial. In your Metorial portal, enable the All Images Ai MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load All Images Ai tools.
Enable All Images Ai in Metorial. In your Metorial portal, enable the All Images Ai MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load All Images Ai tools.
Enable All Images Ai in Metorial. In your Metorial portal, enable the All Images Ai MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load All Images Ai tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable All Images Ai in Metorial. In your Metorial portal, enable the All Images Ai MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load All Images Ai tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable All Images Ai in Metorial. In your Metorial portal, enable the All Images Ai MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its All Images Ai tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run All Images Ai through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give All Images Ai and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use All Images Ai tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Generate AI images from text prompts using Midjourney AI. Search stock images, purchase downloadable full-size and upscale versions, review download history and credits, and check the connected account. Track image generations, update their prompts, retry failures, and delete generations.
Frequently asked questions
Common questions about connecting All Images Ai to AI agents with Metorial.
How many tools does the All Images Ai MCP server have?
The All Images Ai MCP server exposes 11 tools, including Generate Image, Retry Generation, Get Generation. Each one is governed and traced through Metorial.
Does the All Images Ai MCP server support triggers?
All Images Ai exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the All Images Ai MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the All Images Ai MCP server through the same Metorial URL.
How do I give only some teams access to All Images Ai?
Use role-based access control to decide which teams, users, and agents can use All Images Ai and which of its tools they can call.
Can I self-host the All Images Ai MCP server?
Yes. Metorial is open source, so you can run the All Images Ai MCP server yourself or use the hosted gateway.
Connect All Images Ai to production AI agents
See how Metorial gives your team governed access to All Images Ai, with tracing and security controls built in.