SudoMock Now Works with Claude, Cursor, ChatGPT, and Any MCP-Compatible AI Tool
SudoMock's MCP server lets Claude, Cursor, VS Code, ChatGPT, Windsurf and any other MCP client render product mockups from a natural language prompt. Connect it with one command in Claude Code or one config entry in Cursor and VS Code. Each render comes back as a CDN URL in under a second.
Published Updated 7 min readBeck

Key takeaways
- Two ways to connect: remote OAuth with no API key, or a local npx server with a key for CI/CD.
- One prompt can render a design on every matching template; the assistant chains the calls.
- The server is listed on the official MCP Registry and mcp.so.
If you've been copy-pasting curl commands or writing fetch wrappers to generate mockups, those days are over. This post covers what MCP is, how to connect SudoMock to your AI tools and what you can build with it.
What is MCP?
MCP stands for Model Context Protocol. Anthropic created it as a standard way for AI assistants to call external tools. Think of it as a USB port for AI: any tool that speaks MCP can plug into any AI assistant that supports it.
Before MCP, connecting an AI assistant to an external API meant writing custom integration code. You'd need to describe the API endpoints to the model, handle authentication, parse responses, and deal with errors. Every new API meant another custom integration.
MCP changes this. The protocol defines a standard interface: the server describes its tools (with parameters, types, and descriptions), and the AI client discovers them automatically. The client knows what tools are available, what parameters they accept, and how to call them. No glue code needed.
For mockup rendering, this is a big deal. A typical render workflow involves three API calls: list templates, get Smart Object UUIDs and send the render request, whose response carries the output URL. With MCP, your AI assistant handles the entire chain from a single natural language instruction.
SudoMock is one of the first mockup APIs to support MCP natively. Claude, Cursor, and the other supported clients can call our render API, manage your templates, and check your account balance without you writing a single line of integration code.
What you can do with SudoMock MCP
The MCP server covers the same jobs as the REST API. The main tools, by job:
Rendering
render_mockup(1 credit) places your artwork onto a PSD template and returns a CDN URLrender_photo_mockup(5 credits) places your design on a photo mockup, a reusable template made from a product photo withcreate_photo_mockup. No PSD template needed. Learn more about Photo Mockups render.
Template Management
list_mockupslists your uploaded templates with UUIDs and thumbnailsget_mockup_detailsreturns Smart Object UUIDs, layer names, dimensions, and blend modesupload_psduploads a new PSD/PSB file as a mockup templateupdate_mockuprenames a templatedelete_mockuppermanently removes a template and its associated filescreate_photo_mockup(25 credits) turns a public product photo into a reusable photo mockup
Account
get_accountshows your plan, credit balance, usage stats, and billing period
Jobs
get_jobandwait_for_jobreturn the result of an async render, upload or photo mockup job
All management operations (list, get, update, delete) are free. You only spend credits on renders and on create_photo_mockup.
Here's what a typical conversation looks like in practice:
"Show me my mockup templates"
The AI calls list_mockups and returns your template library with names, thumbnails, and UUIDs.
"Render my logo on the t-shirt mockup in WebP format at 1024px"
The AI calls render_mockup with your template UUID, your logo URL, and image_format: "webp". You get a CDN URL back in under a second.
"Now do the same for all my hoodie mockups"
The AI iterates through your templates, filters hoodies by name, and fires parallel render calls. Five renders, five CDN URLs, done.
"How many credits do I have left?"
The AI calls get_account and tells you your remaining balance, current plan, and when credits reset.
Supported AI clients
SudoMock MCP works with six major AI coding assistants:
- Claude Code and Claude Desktop by Anthropic
- Cursor, the AI-first code editor
- VS Code with GitHub Copilot's MCP support
- ChatGPT by OpenAI
- Devin Desktop (formerly Windsurf) by Cognition
Each client connects via one of two methods:
Remote (OAuth) connects directly to mcp.sudomock.com. Your AI client opens a browser window for authentication. You log in with your SudoMock account, authorize the connection, and you're done. No API key to copy or manage. Tokens refresh automatically in the background.
Local (npx) runs a local MCP process using your API key. This method works in CI/CD pipelines and in environments without a browser. Install the @sudomock/mcp package from npm and provide your key as an environment variable.
Both methods give access to the same tools. Pick whichever fits your workflow.
Connect in 60 seconds
Pick your client and follow the instructions. Each one takes under a minute.
Claude Code
The fastest setup. One command in your terminal:
claude mcp add --transport http sudomock https://mcp.sudomock.com# Or local with API keyclaude mcp add sudomock -e SUDOMOCK_API_KEY=sm_your_key -- npx -y @sudomock/mcp
With the remote command, open /mcp in Claude Code and select sudomock to complete the sign in.
Cursor
Add to .cursor/mcp.json in your project root:
{"mcpServers": {"sudomock": {"type": "http","url": "https://mcp.sudomock.com"}}}
Or use the one-click install button on our Connect an agent page. It opens Cursor and adds the server automatically.
VS Code
Add to .vscode/mcp.json in your workspace:
{"servers": {"sudomock": {"type": "http","url": "https://mcp.sudomock.com"}}}
Claude Desktop and ChatGPT
Add the server URL to your client's settings. Both handle OAuth automatically when you connect to https://mcp.sudomock.com. Detailed config examples are in our MCP docs.
That's it. No SDK to install, no webhook to configure, no callback URLs to register.
Real-world workflow: batch rendering
Here's a scenario we see constantly. You have 20 t-shirt mockup templates and a new logo. You want all 20 rendered in WebP at 1024px wide.
Without MCP, you'd write a script. Loop through template UUIDs, construct JSON request bodies, send POST requests and collect output URLs. You'd also need to look up Smart Object UUIDs for each template first.
With MCP, you type one sentence:
"Render my new logo on all t-shirt mockups. WebP format, 1024px. Give me the URLs when done."
Claude calls list_mockups, filters by name, looks up Smart Object UUIDs with get_mockup_details, then fires 20 parallel render_mockup calls. Each render completes in under a second. You get 20 CDN URLs in a single response.
This pattern scales to any batch operation: updating product images across your Shopify store, generating seasonal design variations, A/B testing layout options, or preparing listings for multiple marketplaces at once.
And it works for Photo Mockups render too. Point it at your photo mockups and a design, and it renders the design onto each product.
Two authentication methods
OAuth 2.1 (recommended for interactive use)
The remote server at mcp.sudomock.com handles OAuth 2.1 automatically. When your AI client connects for the first time, it opens a browser window. You log in with your SudoMock account and authorize the connection. Tokens refresh in the background. You never need to manage keys or credentials.
API Key (recommended for automation)
For CI/CD pipelines, background jobs, or environments without a browser, use an API key. Create one at sudomock.com/dashboard/api-keys and pass it as an environment variable:
export SUDOMOCK_API_KEY="sm_your_key_here"# Connect via npxclaude mcp add sudomock -e SUDOMOCK_API_KEY=$SUDOMOCK_API_KEY -- npx -y @sudomock/mcp
Your key starts with sm_ and gives full access to your account's tools and credits. Store it in environment variables or a secrets manager. Never commit it to source control.
Available everywhere MCP runs
We've registered SudoMock on the official MCP Registry, mcp.so, and other MCP directories. If your AI tool supports browsing MCP servers, you can find us there.
We also publish SDKs for traditional API integration:
- Python SDK on PyPI (pip install sudomock)
- Node.js SDK on npm (npm install sudomock)
Both are typed, support async operations, and include error handling. Use them when you need programmatic control beyond what natural language provides.
Next steps
Add the SudoMock MCP server to your AI client, then say "show me my mockup templates" to verify the connection. Any reply from your account, even an empty list, means it works. From there, upload a PSD and ask for your first render.
Connect an agent has the install steps and the full tool list. If you have no PSD yet, start from a template in the mockup library. To render a whole collection in one session, follow How to produce a seasonal set with an agent. Every render through MCP is billed exactly as an API render is. Plans start at $25/month. Subscriptions from $0.002 per render.
Frequently asked questions
Do I need an API key to use SudoMock MCP?
Not for remote OAuth. For local/npx mode, you need an API key from sudomock.com/dashboard/api-keys.
How much does each render cost through MCP?
A PSD render costs 1 credit and a photo mockup render costs 5 credits, the same as over the API. Listing, reading, renaming and deleting templates is free.
Which AI tools support SudoMock MCP?
Any AI assistant that supports the MCP protocol. Claude Code, Claude Desktop, Cursor, VS Code, ChatGPT and Windsurf all work with it.
Can I use MCP for batch rendering?
Yes. Your AI assistant handles parallelization automatically.
Is there a free tier?
Yes. 500 credits with no credit card required. Plans start at $25/month.
Sources
Beck
CTO
Related articles

Product Mockups With ChatGPT or Claude From One Product Photo
Make product mockups in ChatGPT or Claude without a PSD: one product photo becomes a reusable mockup, and each design is one render on it.
7 min read

Etsy Listing Generator: Build Your Own With Claude and SudoMock
One design in, a full Etsy listing out: photos rendered on your own templates, then the title, tags and alt text Claude writes from them.
10 min read

Shopify MCP for Product Images: Create Products With Mockups From Your Own Templates
Shopify's connector for Claude and plugin for ChatGPT create products. Add SudoMock to render each color's image from your own PSD template.
7 min read
Your own PSD, rendered via API
Render your own PSD through the API. Start with 500 one-time credits, no card.