MCP server
Connect Pixmato to Claude and other MCP clients so an assistant can list your templates and render images from them.
Pixmato runs a remote Model Context Protocol server. An assistant connected to it can list the templates in your workspace, read a template’s fields, and render images from it.
https://mcp.pixmato.com/mcp
The server uses the Streamable HTTP transport and accepts POST requests only.
Sign in or send an API key
There are two ways to authenticate. Use whichever your client supports.
| Method | How it works | Use it for |
|---|---|---|
| Sign in with Pixmato | The client opens a Pixmato login page, you choose Allow, and the client receives a token for your workspace. | Claude, Claude Code, ChatGPT, Cursor, Grok |
| Workspace API key | The client sends your key as Authorization: Bearer YOUR_API_KEY. |
Scripts and clients without a sign-in step |
A request with neither returns 401 with a WWW-Authenticate header that tells the client where to start signing in.
Permissions
When an app signs in with Pixmato, it asks for one or both of these permissions. The sign-in page lists them before you choose Allow.
| Permission | Scope | What it allows |
|---|---|---|
| Read | pixmato:read |
Every tool except the two below: templates, uploaded images, past renders and the render allowance. Every signed-in app needs this one. |
| Render | pixmato:render |
render_image and render_images. Each render counts against your render allowance. |
An app that does not name any scopes is given both. An app that only has pixmato:read can look at your templates but gets a 403 with error="insufficient_scope" when it tries to render, so it can ask you for the render permission.
Workspace API keys are not limited by scopes. A key can use every tool.
Disconnect an app
Open Settings in Pixmato. Under Connected apps you can see each app you have allowed, what it can do, and when you connected it. Choose Disconnect to remove it. The app stops working straight away and has to ask you again before it can reconnect.
Removing the connector inside the assistant does not disconnect it on the Pixmato side, so use Disconnect if you no longer want the app to have access. If you connected with an API key, revoke the key on the API keys page instead.
Connect Claude
- Open Add Pixmato to Claude. Claude opens with Pixmato’s name and address filled in.
- Check the name and address, then choose Add.
- Choose Connect, sign in to Pixmato and choose Allow.
To add it by hand instead, open Customize, then Connectors in Claude, add a custom connector and paste https://mcp.pixmato.com/mcp.
This works on every Claude plan. The Free plan allows one custom connector. On Team and Enterprise plans an owner adds Pixmato for the organization first, and then each person connects their own Pixmato account.
Connect Claude Code
claude mcp add --transport http pixmato https://mcp.pixmato.com/mcp
Then run /mcp inside Claude Code, choose pixmato, and sign in when the browser opens.
To use an API key instead of signing in:
claude mcp add --transport http pixmato https://mcp.pixmato.com/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
Connect ChatGPT
- Open chatgpt.com/plugins.
- Choose the plus button, then Add custom MCP server.
- Name it Pixmato and enter
https://mcp.pixmato.com/mcpas the connection address. - Set authentication to OAuth and create the plugin.
- Install it, sign in to Pixmato and choose Allow.
In a chat, type @ and choose Pixmato to use it. ChatGPT changes these menus from time to time. If yours look different, look for the option to add a custom MCP server or connector.
Connect Cursor
Open Add Pixmato to Cursor, or add the server to ~/.cursor/mcp.json yourself:
{
"mcpServers": {
"pixmato": { "url": "https://mcp.pixmato.com/mcp" }
}
}
Then open Cursor’s MCP settings, choose pixmato, and sign in when the browser opens. To add it to one project only, put the same block in .cursor/mcp.json inside that project.
Connect Grok
- Open grok.com/connectors.
- Choose New Connector, then Custom.
- Enter
https://mcp.pixmato.com/mcpas the server address. - Sign in to Pixmato and choose Allow.
On Grok Business and Enterprise, a team admin adds the connector in the xAI console first, and then each person connects their own Pixmato account.
Tools
| Tool | What it does | Uses a render |
|---|---|---|
list_templates |
Lists the templates in the workspace with their id, name, size, and field count. | No |
get_template |
Returns one template’s fields. Each field has a key, a type, and an example value. | No |
render_image |
Renders a PNG, JPEG, WebP, or PDF and returns the file’s URL. | Yes |
render_images |
Renders up to 20 images from one template in a single call, one per row of values. | Yes, one per row |
get_render |
Returns a render’s status, the values that were sent, and its output files. | No |
list_renders |
Lists the most recent renders with their status, template, and file URL. | No |
list_assets |
Lists the images uploaded to the workspace, with a URL to use in an image field. | No |
get_usage |
Shows how many renders are used and left in the current period. | No |
list_gallery_templates |
Lists the ready-made gallery, optionally by category, with a link to add each template to your workspace. | No |
render_image
| Input | Type | Notes |
|---|---|---|
template_id |
string | Required. The id from list_templates. |
modifications |
object | Field values keyed by field key. Fields you leave out keep the template’s own values. Image fields take a public image URL. |
format |
png, jpeg, webp, or pdf |
Defaults to png. |
scale |
number from 0.5 to 4 | Defaults to 2. |
The tool waits for the render to finish and returns its id, status, URL, duration, format, pixel size, the template’s name, and a link to edit the template.
{
"template_id": "YOUR_TEMPLATE_ID",
"modifications": {
"address": "620 Lakeview Drive",
"open_house_date": "Sunday, November 22",
"open_house_time": "2:00–5:00 PM"
}
}
render_images
Takes the same template_id, format, and scale as render_image, with rows in place of modifications: a list of 1 to 20 objects, one per image.
{
"template_id": "YOUR_TEMPLATE_ID",
"rows": [
{ "address": "620 Lakeview Drive", "price": "$640,000" },
{ "address": "18 Willow Lane", "price": "$515,000" }
]
}
The result has one entry per row, in the same order, with the file’s URL or the reason that row failed. A row that fails does not stop the others, and only rows that render count against your allowance.
Image fields
get_template gives each image field a slot with the width and height of the space the image fills, in canvas pixels, its aspect ratio, and how the image is fitted (cover, contain, or fill). Use it to choose a photo with a matching shape. list_assets returns the images already uploaded to your workspace, so the assistant can use those before looking elsewhere.
See the image in the chat
In assistants that support MCP Apps, such as Claude and ChatGPT, render_image shows the finished image in the conversation instead of a link. The card has the template’s name, the format and pixel size, a Download button, and an Edit template button that opens the editor in your browser. A PDF shows an Open PDF button without a preview.
render_images shows its images as a grid in the same card. Select an image to download it. A row that failed shows the reason in its place.
You do not need to turn anything on. Assistants without MCP Apps support get the same result as text, with the file’s URL.
What the assistant can and cannot do
Through this server an assistant can read your workspace’s templates, uploaded images, past renders, and render allowance, and render from your templates. It cannot create, edit, or delete templates, manage API keys, or change workspace settings.
Gallery templates are not in your workspace until you add them. list_gallery_templates returns a link for each one; open it in a browser to add an editable copy, after which it appears in list_templates.
Usage and limits
Each render_image call, and each row of a render_images call that renders, counts as one render against your workspace allowance, the same as a request to POST /v1/renders. The other tools are free. Renders made through MCP appear in render history.
Errors
When a tool fails, the result is marked as an error and carries the same message the HTTP API would return, such as an unknown template or a field value of the wrong type.
If you previously connected using https://api.pixmato.com/mcp, remove that connector and add the new URL above to sign in again. OAuth access tokens are scoped to the new MCP resource. Existing API keys also work at the new endpoint.