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 |
| Render artwork into a saved print area or full product surface | 5 |
| Animate a mockup into an AI video clip (always async) | cost-based (free: 1/lifetime) |
| Upload a Photoshop PSD/PSB template (sync or async) | 0 |
| List saved 2D templates; use | 0 |
| Get one 2D mockup's saved areas and full 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 2D jobs | 0 |
| Check plan, credits, and usage | 0 |
| Rename a mockup template | 0 |
| Delete a mockup template | 0 |
| Register a webhook for async job completion | 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 |
Async jobs
render_mockup, upload_psd, create_2d_mockup, and render_2d_mockup 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
render_2d_mockup 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, pass exactly one target from get_2d_mockup:
print_area_uuid for a saved print area or surface_uuid for a full-coverage
product surface.
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 render_2d_mockup. 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 2D
creation events add version, mockup_id, name, and either print_areas
(ready) or reason (rejected). The typed 2D 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, 2d_mockup.ready, 2d_mockup.rejected, 2d_mockup.failed,
2d_render.succeeded, 2d_render.failed, webhook.test.
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables 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.1331MIT
- AlicenseAqualityCmaintenanceGenerate production-ready images from text prompts. AI-powered design API with 50+ templates for social posts, banners, OG images, and more.815MIT
- Flicense-qualityDmaintenanceEnables AI agents to generate images from HTML/CSS, capture URL screenshots, and manage reusable templates through the RendShot API. Provides tools for rendering visual content programmatically within AI workflows.14
- Alicense-qualityCmaintenanceEnables AI assistants to inspect, modify, export, and validate design documents with 47 tools covering design, code generation, branding, and print/mockup workflows.191MIT
Related MCP Connectors
Generate on-brand images from your AI agent: design, edit, and render templates over MCP.
Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sudomock/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server