MCP Setup
Let your AI agents interact with the Dynamic Mockups API by using our MCP server.
The Model Context Protocol (MCP) server provides a set of tools that AI agents can use to interact with the Dynamic Mockups account and implement entire workflows into your system.
Connect to Dynamic Mockups MCP server
You can enable MCP servers on Lovable if you have a Business or Enterprise account.
Use the following parameters when setting up your custom connector:
The server URL is
https://mcp.dynamicmockups.com.Use “Api key” as the authentication mechanism and use the Dynamic Mockups API key from your account.
In a file .mcp.json in the project root, add the following:
{
"mcpServers": {
"dynamic-mockups": {
"command": "npx",
"args": ["-y", "@dynamic-mockups/mcp"],
"env": {
"DYNAMIC_MOCKUPS_API_KEY": "dynamic_mockups_api_key"
}
}
}
}In a file .cursor/mcp.json in the project, add the following:
{
"mcpServers": {
"dynamic-mockups": {
"command": "npx",
"args": ["-y", "@dynamic-mockups/mcp"],
"env": {
"DYNAMIC_MOCKUPS_API_KEY": "dynamic_mockups_api_key"
}
}
}
}You can enable MCP servers on ChatGPT if you have a Pro, Plus, Business, Enterprise or Education account.
Use the following parameters when setting up your custom connector:
The server URL is
https://mcp.dynamicmockups.com.Use “Api key” as the authentication mechanism and use the Dynamic Mockups API key from your account.
MCP is an open protocol supported by many clients. Your specific client documentation can advise you on how to connect.
Use the server URL https://mcp.dynamicmockups.com and “API key” as the authentication mechanism if possible.
Example:
Tools
The server exposes the following MCP tools. If you have feedback or want to see more tools, contact us.
get_product_details
Get a product's decoration areas (locations), colors and sizes - use a location to place artwork on a specific spot
get_video_models
List MotionMockups AI (image-to-video) models with durations, credit costs and aspect ratios
get_video_status
Poll the status of a MotionMockups AI video request; returns the video URL when complete
create_video
Generate a AI video from a product image URL (MotionMockups AI) - returns a request_id to poll
tool_create_embroidery_effect
Transform any image into a realistic embroidery/stitched effect
Use cases
Ask your AI assistant to:
Embed mockup editor
"Add the full mockup editor to my web application"
List catalogs
"Get my Dynamic Mockups catalogs"
Browse mockups
"Show me all mockups in my T-shirt collection"
Create a Mockup from Prompt
"Create a mockup of a guy wearing a Gildan 5000 t-shirt while running, then render my logo from url: https://example.com/my-logo.png on it"
Create a Mockup from Image URL
"Turn this product photo into a mockup: https://example.com/product.jpg, and render my artwork on it"
Decorate a specific area
"Create a Gildan 5000 t-shirt mockup and place my logo from url: https://example.com/my-logo.png on the left chest"
Single render
"Create a mockup render using any T-shirt mockup with my artwork from url: https://example.com/my-design.png"
Batch render
"Render my artwork from url: https://example.com/my-design.png on all mockups in the Winter T-shirt collection"
Create a video from image
"Create a video from this generated mockup image URL https://example.com/my-logo.png"
Create collection
"Create a new collection called Winter 2025 Hoodies"
Upload PSD
"Upload my PSD mockup from url: https://example.com/my-mockup.psd and create a template from it"
API info
"What are the rate limits and supported file formats for Dynamic Mockups?"
Print files
"Export print-ready files at 300 DPI for my poster mockup"
Create Embroidery Effect
"Transform my logo into an embroidery effect from url: https://example.com/my-logo.png"
Last updated