SudoMock
SudoMock MCP Server
Generate photorealistic product mockups from Claude, Cursor, Windsurf, and VS Code.
Model Context Protocol server for the SudoMock mockup generation API. Upload PSD templates, place artwork onto smart objects, edit supported text layers, and get rendered image URLs -- all through natural language.
Quick Start
This is a local stdio server: your MCP client launches it as a child process
via npx and authenticates with your SUDOMOCK_API_KEY.
claude mcp add sudomock \
-e SUDOMOCK_API_KEY=sm_your_key_here \
-- npx -y @sudomock/mcpGet your API key at sudomock.com/dashboard/api-keys.
{
"mcpServers": {
"sudomock": {
"command": "npx",
"args": ["-y", "@sudomock/mcp"],
"env": {
"SUDOMOCK_API_KEY": "sm_your_key_here"
}
}
}
}Note: A hosted remote (HTTP/OAuth) transport is not available yet. This package only ships the local stdio server shown above.
Related MCP server: RendrKit
Tools
Tool | Description | Credits |
| List your uploaded mockup templates | 0 |
| Get smart object UUIDs, dimensions, blend modes | 0 |
| Render a mockup with artwork and/or editable text | 1 |
| Get a transparent-PNG cutout through a 7-day signed URL | 25 |
| Create a 2D mockup and detect printable surfaces automatically | 25 |
| Print artwork across a whole product surface (all-over) | 5 |
| Print artwork into one saved print area (a drawn zone) | 5 |
| Animate a mockup into a video clip (always async) | cost-based (one per account at no charge, then cost-based) |
| Upload a Photoshop PSD/PSB template (sync or async) | 0 |
| List saved 2D templates; use | 0 |
| Get one 2D mockup's saved print areas and its product surfaces | 0 |
| Replace a 2D mockup's print-area geometry | 0 |
| Delete a 2D mockup template | 0 |
| Check the status of an async job by job_id | 0 |
| Poll an async job until it succeeds or fails | 0 |
| List async render, video, upload, and photo mockup (2D) jobs | 0 |
| Check plan, credits, prepaid balance, and usage | 0 |
| Rename a mockup template | 0 |
| Delete a mockup template | 0 |
| Register a webhook for async job completion, pinned to an event naming | 0 |
| List your webhook endpoints | 0 |
| Edit or enable/disable a webhook endpoint | 0 |
| Delete a webhook endpoint | 0 |
| Rotate a webhook signing secret | 0 |
| Send a signed | 0 |
| List delivery attempts for an endpoint | 0 |
| Replay a single failed delivery | 0 |
Both spellings work
The product calls its two kinds of template PSD mockups and photo mockups, and the tools answer to those names too. Nothing above was renamed: every name in the table keeps working exactly as it always has, and the spelling beside it is the same tool with the same arguments. Reach for either.
Name in the table | Also answers to |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render_photo_mockup is the one that is not simply a second name for a single
tool. It renders either kind of target from one tool: pass the mockup as
mockup_id and name exactly one of surface_uuid (sized by coverage or an
explicit width + height) or print_area_uuid (sized by fit or an
explicit width + height). Picking the target by picking a tool, with
mockup_uuid, is what render_2d_surface and render_2d_print_area still do.
Async jobs
render_mockup, upload_psd, create_2d_mockup, and both 2D render tools
accept is_async: true, and render_video is always async. These return a
job_id immediately (HTTP 202) instead of a final result. (create_2d_mockup
and the 2D render tools are synchronous by default and return the mockup /
render directly.) Poll it with get_job, or let wait_for_job block until the job
reaches a terminal status and hands back result_url, mockup_uuid,
credits_charged, and payg ({credits, unit_price, cost} for pay-as-you-go
jobs, otherwise null).
For a 2D render, pick the tool that matches the target you read from
get_2d_mockup. Every printable product in the photo is a surface with its own
surface_uuid: render_2d_surface prints across the whole of one, and takes
either a coverage percentage or an explicit width + height. A print area
is a bounded zone somebody drew on a product, such as a chest logo:
render_2d_print_area takes its print_area_uuid, and either a fit or an
explicit width + height. A product can have both, and they are separate
targets -- a saved print area does not close off the surface it sits on.
Sizing has one answer per render: send the relative option or the exact box,
never both, and send width and height together. position, offset_x,
offset_y and rotation place the artwork on either kind of target. Anything
you leave out is left out of the request, so the renderer's own default
applies rather than a copy of it kept here.
Background removal
remove_background returns a transparent-PNG URL valid for 7 days. You can
pass that URL straight back as artwork_url during that window. To clean
artwork inline during a single render instead, pass
remove_background: true to render_mockup or either 2D render tool. Either way it
costs 25 credits per artwork, refunded automatically if processing fails.
Webhooks
Register an endpoint with create_webhook_endpoint to be notified when async
jobs finish. Deliveries are signed with TWO headers: X-SudoMock-Signature
(a hex HMAC-SHA256 over ${timestamp}.${rawBody} using the secret returned at
creation/rotation) and X-SudoMock-Timestamp (unix seconds). Verify in constant
time and reject if |now - timestamp| > 300s.
Render, upload, and video job deliveries use
{event, job_id, kind, status, result_url, error, created_at}. The typed photo
mockup creation events add version, mockup_id, name, and either
print_areas (ready) or reason (rejected). The typed photo mockup render
events carry mockup_id, result_url, a public {error_code, message} failure
when applicable, and optional export_format / duration_ms. Event types:
render.succeeded, render.failed, upload.succeeded, video.succeeded,
video.failed, photo_mockup.ready, photo_mockup.rejected,
photo_mockup.failed, photo_mockup_render.succeeded,
photo_mockup_render.failed, webhook.test.
The five photo mockup events also have a legacy spelling: 2d_mockup.ready,
2d_mockup.rejected, 2d_mockup.failed, 2d_render.succeeded,
2d_render.failed (with kind 2d_create / 2d_render in the payload).
Which spelling an endpoint receives is its event_naming pin, set at
create_webhook_endpoint and returned on every endpoint: current (the names
above, the default for new endpoints) or legacy. Endpoints registered before
the pin existed stay on legacy, so a receiver written against the old names
keeps working unchanged. Once that receiver handles the new names, move it with
update_webhook_endpoint and event_naming: "current"; sent on its own, the
re-pin re-spells the endpoint's stored subscription list to match.
Logs
Each tool call writes one JSON line to stderr, which your MCP host keeps in its
log file: the tool name, how long the call took, and whether it succeeded, for
example {"event":"mcp_tool_call","tool":"list_mockups","duration_ms":312,"ok":true}.
Arguments, API keys, file contents and API responses are never logged. Every
API request identifies this package as mcp-stdio/<version> in its
User-Agent and X-SudoMock-Client headers.
Pricing and account limits
Plans start at $25/month for 5,000 renders, which is $0.005 per render, and annual billing takes the lowest self-serve rate to $2.42 per 1,000 renders on the Pro 50K plan. Without any subscription at all it is $0.05 per PSD render with a $5 minimum first payment, so $1 covers 20 of them, which is the same rate standalone mockup APIs charge on a paid plan and the highest per-render rate SudoMock charges. 2D Mockups and video are priced by what they cost to produce rather than at the flat render rate, which is why the Credits column above is not uniform.
A new account starts with 500 credits, granted once, and needs no card to spend them. Until a card is verified and the $5 minimum is funded, that account is in trial, and every render it makes is watermarked and capped at 1,024 px. It can keep 5 PSD templates, run one render at a time, and a template that has gone 13 days without a render is removed.
Funding the balance lifts all of it at once. The watermark and the width cap come off, stored templates go to 150, renders run 25 at a time alongside 10 concurrent uploads, and templates stop being removed for sitting idle.
Trial is not a separate plan. It is the unfunded state of the pay-as-you-go tier, so
get_account reports the same tier before and after funding; the balance is what
changes.
Because of that, an account paying as it goes has no monthly allowance, and
get_account reports credits_limit and credits_remaining as 0 while the
account is perfectly able to pay. Read prepaid_balance alongside them, or read
funding_summary, which states both in one line and never reports a funded account
as 0 / 0.
Example requests
"List my mockup templates"
"Render the t-shirt mockup with this design: https://example.com/logo.png"
"Replace the editable headline text, then render the mockup"
"Cut out the background from this product photo, then render it on the tote bag"
"List my 2D mockups, then render the first one with this artwork: https://example.com/logo.png"
"Render this design asynchronously and wait for it to finish"
"Queue that 2D mockup render async and give me the job id to track"
"Animate the hoodie mockup into a 5-second video clip"
"Upload this PSD as a new template: https://example.com/mockup.psd"
"Set up a webhook at https://example.com/hooks so I get notified when renders finish"
"How many credits do I have left?"
Links
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
- SudoMockOAuthcom.sudomock
Turn product photos or PSD templates into photorealistic mockups: place artwork, edit text, render.
- OrshotOAuthcom.orshot
Render on-brand images, PDFs and videos from templates. 60+ tools: brand kit, folders, workflows.
Generate images, videos and PDFs from templates. Manage templates, folders, uploads and fonts.
Generate branded images at scale: design templates and render them to PNGs by prompt.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to generate product mockups by integrating with the Dynamic Mockups API. Supports browsing mockup catalogs, creating single or batch renders with design assets, and managing PSD templates.1311 npmMIT
- AlicenseAqualityCmaintenanceGenerate production-ready images from text prompts. AI-powered design API with 50+ templates for social posts, banners, OG images, and more.810 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents to create and configure product mockups on ultramock.io using your own logged-in subscription.111MIT

renderform-mcpofficial
AlicenseAqualityBmaintenanceMCP server for RenderForm API, enabling automatic generation of images, PDFs, screenshots, and videos from templates, along with management of renders, templates, fonts, and organization usage.115 npmApache 2.0