Integration

SudoMock integration

SudoMock renders product mockups for print-on-demand and e-commerce. Agents can turn a Photoshop PSD template (from a URL) or a product photo into a reusable mockup, render artwork and text onto it as a finished image, animate a mockup or an image into a short product video, remove an image background, manage mockups, print areas, fonts and async jobs, manage webhook endpoints and their deliveries, read the account's plan and credits, and adjust the embeddable Studio editor's appearance. Renders, photo mockups, videos and background removal spend account credits. Not exposed: the deprecated legacy paths, webhook secret rotation (its new secret would only appear in the tool output), and the Studio session and action routes, which serve a browser iframe. Authentication is an API key (it starts with sm_, from Dashboard > API Keys) sent in the x-api-key header.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in SudoMock.Built from the 38 SudoMock tools below, on the connection you add once.

What you can do with SudoMock

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Photo mockup, 5 operations

  • create_photo_mockupCreate photo mockupPOSTAgents: ask firstTurns a product photo (source_url or source_base64) into a reusable photo mockup and detects its printable surfaces, unless you send print_areas. Costs 25 credits. Synchronous by default; is_async true returns a job_id for get_job.
  • delete_photo_mockupDelete photo mockupDELETEAgents: ask firstPermanently deletes a photo mockup and its print areas. This cannot be undone.
  • get_photo_mockupGet photo mockupGETAgents: ask firstReturns one photo mockup: its status (draft, processing, ready or error), source size, saved print areas (quads) and detected surfaces, whose ids render_photo_mockup takes.
  • list_photo_mockupsList photo mockupsGETAgents: ask firstLists your photo mockups, newest first, with status, thumbnail, size and print-area summaries, using offset pagination; customizable_only keeps only mockups ready for artwork.
  • update_photo_mockupUpdate photo mockupPATCHAgents: ask firstRenames a photo mockup and/or replaces the list of named colours a render may ask for by name. Send only what you change; colors replaces the whole list.

Psd mockup, 5 operations

  • create_psd_mockupCreate psd mockupPOSTAgents: ask firstCreates a reusable mockup template from a Photoshop PSD at a public URL: SudoMock downloads it (300 s limit), extracts its smart objects, text and group layers, and returns the new mockup, whose uuid render_psd_mockup takes.
  • delete_psd_mockupDelete psd mockupDELETEAgents: ask firstPermanently deletes a PSD mockup template and the files that belong to it. This cannot be undone.
  • get_psd_mockupGet psd mockupGETAgents: ask firstReturns one PSD mockup template: its size, thumbnails, and the uuids of its smart objects, text layers and group layers that render_psd_mockup takes.
  • list_psd_mockupsList psd mockupsGETAgents: ask firstLists your PSD mockup templates (uuid, name, thumbnails, smart objects, text and group layers), newest first by default, with offset pagination, a name filter and creation-date filters.
  • update_psd_mockupUpdate psd mockupPATCHAgents: ask firstRenames a PSD mockup and/or replaces the list of named colours a render may ask for by name. Send only what you change; colors replaces the whole list.

Webhook endpoint, 5 operations

  • create_webhook_endpointCreate webhook endpointPOSTAgents: ask firstRegisters a webhook endpoint (a public https URL) that gets a signed POST when a job finishes. The signing secret is not returned; to verify deliveries, rotate it in the SudoMock dashboard, which shows it once.
  • delete_webhook_endpointDelete webhook endpointDELETEAgents: ask firstPermanently deletes a webhook endpoint and its delivery history; nothing is delivered to its URL afterwards. This cannot be undone.
  • get_webhook_endpointGet webhook endpointGETAgents: ask firstReturns one webhook endpoint: URL, description, subscribed event types, enabled state, event-name spelling and dates. The signing secret is not returned.
  • list_webhook_endpointsList webhook endpointsGETAgents: ask firstLists every webhook endpoint on the account with its URL, description, subscribed event types, enabled state and event-name spelling. Signing secrets are not returned.
  • update_webhook_endpointUpdate webhook endpointPATCHAgents: ask firstChanges a webhook endpoint's URL, description, event types, event-name spelling, or pauses and resumes it (enabled). Send only the fields you change.

Font, 4 operations

  • create_fontCreate fontPOSTAgents: ask firstUploads a custom TTF or OTF font from a public URL to your account (Pro plan and above). SudoMock validates and security-checks the file, then returns the font with the postscript_name text layers use.
  • delete_fontDelete fontDELETEAgents: ask firstPermanently deletes one of your uploaded fonts. System fonts cannot be deleted.
  • get_fontGet fontGETAgents: ask firstReturns one font, a system font or one you uploaded: family, style, postscript_name (what text layers reference), category, licence and preview file URLs.
  • list_fontsList fontsGETAgents: ask firstLists fonts usable on text layers: the shared system catalog plus your uploaded fonts, with search by family name, category and scope filters, and page-based pagination. Pass a font's postscript_name in render_psd_mockup's text_layers.

Webhook delivery, 4 operations

  • get_webhook_deliveryGet webhook deliveryGETAgents: ask firstReturns one webhook delivery in full: the JSON body and headers SudoMock sent, and for a failed attempt the status, headers and body your server answered, plus the last error.
  • list_webhook_deliveriesList webhook deliveriesGETAgents: ask firstLists the most recent deliveries of one webhook endpoint (up to limit, newest first), filterable by delivery status and event type. Each row has the status, HTTP code, attempt count and last error.
  • replay_failed_webhook_deliveriesReplay failed webhook deliveriesPOSTAgents: ask firstSends every failed delivery of one webhook endpoint to its URL again, in one call. The request is accepted at once and returns how many deliveries were queued.
  • replay_webhook_deliveryReplay webhook deliveryPOSTAgents: ask firstSends one past webhook delivery to the endpoint's URL again, so the receiver gets that event once more. SudoMock documents replays as idempotent and safe to repeat.

Job, 2 operations

  • get_jobGet jobGETAgents: ask firstReturns an async job's status (queued, dispatched, running, succeeded, failed or cancelled), its result_url or created mockup_uuid once succeeded, the error when it failed, and the credits charged. Use it for jobs started with is_async true.
  • list_jobsList jobsGETAgents: ask firstLists your async jobs (PSD renders and uploads, videos, photo mockup creations and renders), newest first with cursor pagination, filterable by kind and source mockup. Each item has get_job's fields.

Studio config, 2 operations

  • get_studio_configGet studio configGETAgents: ask firstReturns the effective appearance and controls of the embeddable Studio editor for this API key (colours, texts, which controls show, layout, theme, locale, upload size), and config_version, which update_studio_config needs.
  • update_studio_configUpdate studio configPUTAgents: ask firstChanges the embeddable Studio editor's appearance and controls for this API key. Fields you send are merged into the stored config; config_version must be the version you last read with get_studio_config.

Account, 1 operation

  • get_accountGet accountGETAgents: ask firstReturns the account (name, owner email, organization), its subscription plan and status, credits used and remaining this billing period, prepaid balance, and metadata of the API key in use (name, dates, request count; never the key).

Background removal, 1 operation

  • remove_backgroundRemove backgroundPOSTAgents: ask firstRemoves the background of an image (url or base64) and returns a transparent PNG cutout URL, public for 7 days, ready to use as render artwork. Costs 25 credits per image, refunded if it fails.

Photo mockup print area, 1 operation

  • replace_photo_mockup_print_areasReplace photo mockup print areasPUTAgents: ask firstReplaces all print areas of a ready photo mockup. Each area is a convex four-point shape inside the source image; an area sent with an existing print_area_id keeps that id, others get new ids. Areas left out are removed.

Photo mockup render, 1 operation

  • render_photo_mockupRender photo mockupPOSTAgents: ask firstRenders artwork onto a ready photo mockup, per saved print area (uuid) or whole surface (surface_uuid), and returns the image URL at data.print_files[].export_path. Costs 5 credits. is_async true returns a job_id for get_job.

Plan, 1 operation

  • list_plansList plansGETAgents: ask firstLists SudoMock's subscription plans with their monthly and yearly prices per currency, monthly credits, concurrency limits and PSD template limit, plus the add-ons and their prices. Public catalog data, the same for every account.

Psd mockup layer, 1 operation

  • list_psd_mockup_layersList psd mockup layersGETAgents: ask firstLists every layer of a PSD mockup, nested as Photoshop's Layers panel shows them, front-most first, with each layer's uuid, name, kind and visibility. Pass a uuid in render_psd_mockup's hidden_layers to leave that layer out.

Psd mockup render, 1 operation

  • render_psd_mockupRender psd mockupPOSTAgents: ask firstRenders a PSD mockup with your artwork, text and colour changes and returns the image URL at data.print_files[].export_path. Spends account credits (refunded if it fails). Set is_async true to get a job_id for get_job instead.

Video, 1 operation

  • render_videoRender videoPOSTAgents: ask firstAnimates a PSD mockup or an image_url into a short product video and returns the job, with the video URL in result_url. Credits scale with duration and audio. Waits for the job and returns the finished result; gives up after 10 minutes.

Webhook delivery overview, 1 operation

  • get_webhook_delivery_overviewGet webhook delivery overviewGETAgents: ask firstReturns webhook delivery counts over the last period_days days (7 by default, up to 90): total and failed, a per-day series, and a per-endpoint breakdown keyed by endpoint id.

Webhook event, 1 operation

  • list_webhook_eventsList webhook eventsGETAgents: ask firstLists the most recent webhook deliveries across all your endpoints (up to limit, newest first), filterable by delivery status and event type. Request and response bodies are only in get_webhook_delivery.

Webhook test event, 1 operation

  • send_test_webhook_eventSend test webhook eventPOSTAgents: ask firstSends a real signed webhook.test event to the endpoint's URL, through the same path as a real delivery, so you can check the receiver and its signature check.

Use SudoMock from Claude Code, Cursor or Codex

Connect SudoMock in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its SudoMock operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect SudoMock

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect SudoMock once

    Add your SudoMock connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

SudoMock integration FAQ

What can you do with the SudoMock integration?

LiveContext exposes 38 operations on SudoMock, covering photo mockup, psd mockup, webhook endpoint and font.

Popular integrations

Browse the whole catalog