MCP server
The MCP (Model Context Protocol) server gives your AI assistant access to your workflows: “create a workflow that makes 400 px WebP thumbnails, then run these three photos through it” is enough to build it, publish it, start a run and get the files it produces.
Server address (streamable HTTP transport):
https://app.imagebake.com/v1/mcpAdd the server to your assistant
In claude.ai and Claude Desktop: Settings → Connectors → Add custom connector, then paste the address above. In ChatGPT: Settings → Apps & Connectors, in developer mode. In an editor or on the command line, the address is all you need too:
Claude Codeclaude mcp add --transport http imagebake https://app.imagebake.com/v1/mcp # /mcp → imagebake → AuthenticateCursor{ "mcpServers": { "imagebake": { "url": "https://app.imagebake.com/v1/mcp" } } }VS Code{ "servers": { "imagebake": { "type": "http", "url": "https://app.imagebake.com/v1/mcp" } } }Authorize access
The assistant opens Imagebake in your browser. Sign in, then choose the team and the permissions you give it:
workflows:readandruns:readfor read-only access,workflows:writeto let it create and edit workflows,runs:writeto let it start and cancel runs. The assistant then shows up in Settings → Connected apps, where you can disconnect it.Test the connection
The MCP Inspector lists the tools your connection can see and lets you call them by hand:
npx @modelcontextprotocol/inspector # Transport : Streamable HTTP · URL : https://app.imagebake.com/v1/mcp # Puis « Open Auth Settings » → « Quick OAuth Flow », ou l'en-tête Authorization = Bearer sk_live_…
With an API key
For a script, a CI or a client without OAuth support, create a key in Settings → API keys, with the same choice of permissions, and pass it in the Authorization header. Claude Desktop then goes through the mcp-remote bridge (requires Node.js); VS Code prompts for the key on start.
claude mcp add --transport http imagebake https://app.imagebake.com/v1/mcp \
--header "Authorization: Bearer sk_live_…"{
"mcpServers": {
"imagebake": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://app.imagebake.com/v1/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": { "AUTH_HEADER": "Bearer sk_live_…" }
}
}
}{
"mcpServers": {
"imagebake": {
"url": "https://app.imagebake.com/v1/mcp",
"headers": { "Authorization": "Bearer sk_live_…" }
}
}
}{
"inputs": [
{ "type": "promptString", "id": "imagebake-key", "description": "Imagebake API key", "password": true }
],
"servers": {
"imagebake": {
"type": "http",
"url": "https://app.imagebake.com/v1/mcp",
"headers": { "Authorization": "Bearer ${input:imagebake-key}" }
}
}
}Available tools
A tool is only offered when the connection or key has the matching permission; those marked “—” are always offered.
| Tool | Scope | What it does |
|---|---|---|
list-workflows | workflows:read | Lists your workflows and their latest published version. |
get-workflow | workflows:read | Shows a workflow’s blocks and settings, hence the files it produces per image. |
list-blocks | — | Blocks available to build a workflow, with their ports and parameter schemas. |
validate-workflow | workflows:read | Checks a workflow graph without saving it; returns the errors per block. |
create-workflow | workflows:write | Creates a workflow from a graph and publishes it as v1. Nothing is created if the graph is invalid. |
update-workflow | workflows:write | Renames a workflow or replaces its graph, and publishes a new version. |
list-catalog-workflows | — | Ready-made templates: responsive images, social media sizes, compression… |
copy-catalog-workflow | workflows:write | Copies a template into your team, published and ready to run. |
run-workflow | runs:write | Runs a published workflow on image URLs or uploaded assets; waits up to 30 s and returns the files. |
get-run | runs:read | Status, counts and errors of a run; once finished, its files with download URLs. |
list-runs | runs:read | Recent runs, filtered by status or workflow. |
cancel-run | runs:write | Cancels a queued or running run. |
get-run-archive | runs:read | Download URL of a ZIP with every file of a finished run. |
get-usage | runs:read | Credits used and remaining this month. |
Example requests
- “Which workflows do I have, and which are published?”
- “Create a “Product shots” workflow: 1000 px square crop, white background, WebP and JPEG.”
- “Add a “© My brand” watermark in the bottom-right corner to my “Product shots” workflow.”
- “Run https://example.com/hero.jpg through my “Responsive images” workflow and give me the links.”
- “Why is my last run partial?”
- “How many credits do I have left this month?”
Good to know
- Every run consumes credits, just like from the API: the same quotas and rate limits apply.
- Images are given as public http(s) URLs, up to 20 per run. For local files, upload them through the API first (
POST /uploads) and pass theirast_…identifiers inasset_ids. - Download URLs of the files produced are valid for 15 minutes;
get-runreturns fresh ones. - A workflow created or edited by the assistant is published right away and opens in the app’s editor, with its blocks laid out. Creating and publishing costs no credits, within your plan’s workflow and block limits.
- Errors use the API format:
{"error": {"type", "code", "message", "details"}}, with codes described in the reference. - Disconnect an assistant in Settings → Connected apps, or revoke a key in Settings → API keys: access is cut on the next call.
- A connected assistant acts for a single team. To switch, disconnect it and connect it again.
See also
The getting started guide to create and publish a first workflow, and the API reference for the same operations over HTTP.