Connect an AI agent with MCP
Creatimatic exposes tools at https://creatimatic.com/api/mcp through the official TypeScript MCP SDK's stateless Streamable HTTP transport. The server provides request/response tools; it does not maintain chat history or a persistent SSE session. Use the SDK-supported protocol negotiated at initialization (including the 2025-11-25 tool protocol). New protocol revisions require SDK compatibility testing before they are advertised.
Client requirements
Your client must support a remote Streamable HTTP MCP server and a configurable Authorization header. Create a scoped key in Settings → AI agents.
The following is a configuration shape, not a universal file format. Adapt it to your client's documented settings:
{
"url": "https://creatimatic.com/api/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer YOUR_CREATIMATIC_AGENT_KEY"
}
}Keep the secret in the client's secret store or environment-variable mechanism rather than committing this file. Local setups can substitute http://localhost:3000/api/mcp.
Connect with the official TypeScript SDK
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const key = process.env.CREATIMATIC_AGENT_KEY;
if (!key) throw new Error("Set CREATIMATIC_AGENT_KEY in secret storage");
const client = new Client({ name: "my-pod-agent", version: "1.0.0" });
await client.connect(
new StreamableHTTPClientTransport(
new URL("https://creatimatic.com/api/mcp"),
{ requestInit: { headers: { Authorization: `Bearer ${key}` } } },
),
);
const catalog = await client.listTools();
console.log(catalog.tools.map((tool) => tool.name));
const ideas = await client.callTool({
name: "list_ideas",
arguments: { limit: 10 },
});
await client.close();Available permissions
The MCP tool list includes only tools allowed by the key's scopes. A read-only key cannot discover or invoke write/generation tools. Revocation applies to the next HTTP request. Your seller account is resolved for every executed tool.
For mutations, put idempotencyKey in the MCP tool arguments. The server's tool schema exposes that requirement. Check isError in tool results and never assume an HTTP-successful MCP response means the operation succeeded.
Catalog maintenance
| Tool | Scope | Inputs and result |
|---|---|---|
check_variant_supplier_availability | Read | Give productId to check the public Printful catalog. Returns unavailable variants with regional stock details and local enabled flags. Unmapped or unknown variants are reported separately. |
set_variant_availability | Write | Give productIds, numeric catalogVariantId, enabled, and reason. Updates the local per-variant flag. Product-level color settings still apply. |
audit_size_chart_coverage | Read | Give productId and optionally includeDisabled: true. Reports variants absent from the chart, chart entries absent from the product, and garment, color or buyer-facing size differences. Supports templates using the reviewed November apparel chart families. |
replace_apparel_size_charts | Write | Give revision: "apparel_size_charts_20261123". Replaces the preceding revision's owned gallery references using the reviewed PNGs staged on the backend. |
For either write, first call with apply: false (the default) and an idempotency key. Review the preview and call again with the same operation inputs, apply: true, the returned confirm token, and a new idempotency key. If the inputs or current state changed, get a fresh preview with a fresh key. Changes are backed up and verified in Creatimatic. These tools do not write to Etsy, Make, or Printful.
Listing queue
| Tool | Scope | Inputs and result |
|---|---|---|
list_listing_queue | Read | Filter by status, itemId or productId. Use limit (default 25, max 100) and offset for more results. |
claim_listing_queue_item | Write | Give itemId and optional leaseMinutes (default 30, range 1–60). Returns a private leaseToken and leaseExpiresAt. |
fill_listing_queue_item | Write | Give itemId, leaseToken and optionally model (sonnet, opus or gpt-6.2-sol). Starts the existing draft fill on the Mac development backend using saved evidence. |
complete_listing_queue_item | Write | Give itemId, leaseToken and completion. Use { status: "READY_FOR_REVIEW", summary, filled, flagged } with arrays of field summaries, or { status: "FAILED", error }. Review completion returns reviewPath. |
release_listing_queue_item | Write | Give itemId and leaseToken to return a live claim to the queue. |
- The seller adds the product from the editor or listing preview. List
QUEUEDitems and claim one. To recover abandoned work, listCLAIMEDitems and reclaim one whoseleaseExpiresAthas passed. Use the same key for the lifetime of your claim and keep the returned token private. - For a fill, connect MCP to the local frontend whose private backend URL points to the Mac development backend over loopback. Enable the local fill on the backend and sign in to your chosen CLI. Call the fill tool and poll
list_listing_queuewithitemId. Itsresult.stategoes fromRUNNINGtoSUCCEEDEDorFAILED. A success includes the filled and flagged fields. The browser's EverBee capture is optional and unavailable to this tool. SEO uses local product evidence. - Complete for review or record the error as
FAILED. Release the claim if you want to return it to the queue. Each write needs a distinctidempotencyKey. Reuse that key for an identical retry and inspect the current lease after a timeout. - Give the seller the
reviewPath. The seller reviews and publishes through the existing confirmation. The queue does not submit changes to Etsy, Make or Printful. New entries default toautoPublish: false, and completion never publishes.
A backend restart can interrupt a fill. Release the claim or let it expire before starting again. An expired, cancelled or released lease cannot save a draft through the fill tool.
Publishing and compatibility
Call prepare_publish_review to obtain the seller's product editor link. The seller confirms Etsy posting inside Creatimatic. There is no direct MCP publish tool in this release.
OAuth client registration, delegated OAuth consent, local stdio distribution, MCP Apps and native Muse/Dots integrations are not included. An OAuth-only client needs a different connection path; use the HTTP API if it can supply authenticated HTTP tools. See the official MCP SDK documentation for transport details.
Creatimatic Agent API reference
Authenticate an AI agent, discover print-on-demand tools, execute scoped operations and handle retries without duplicating work.
From a design family to a reviewed POD product
An agent workflow for existing design families, shirt-color contrast, verified mockups, accurate listing copy and Etsy review.