Skip to main content
Glama
mcp-mockuuups
by CaseyRo

mcp-mockuuups

用于 Mockuuups Studio 的 MCP 服务器 — 搜索约 5,300 个设备和印刷品样机,然后将截图或你自己的图片渲染到其中。

一个设计 — WTDIB 柏林城市指南 — 从一次拍摄中渲染到四个样机里,这样场景保持不变,只有设备在变化。两次工具调用,无需任何图片托管。

iPad Air

MacBook Pro 14

ipad-air

macbook-pro-14

iPhone 15 Pro

Television

iphone-15-pro

television

为什么存在

Mockuuups 在 https://mcp.mockuuups.studio/mcp 提供他们自己托管的 MCP 服务器。它只暴露一个 generate_mockup 工具,需要你已经知道的样机 ID 和一个你已经托管在公开位置的图片。

这个服务器改为包装底层 REST API,并弥补了托管版在实际使用中令人尴尬的两个缺口:

  • 你可以搜索。 上游目录端点完全不接受搜索参数 — q、type、family 和 tag 会被静默忽略,每个请求都返回相同的未过滤页面。整个目录只获取一次并在本地搜索,所以"桌上的平板"或"海报"真的能找到东西。

  • 你可以上传。 Mockuuups 只从 URL 渲染。把原始图片字节交给这个服务器,它会将字节暂存到一个短时不可猜测的链接下供渲染器获取,因此本地设计不需要存储桶、不需要 CDN、也不需要托管。

渲染你本地持有的图片

Mockuuups 只从 URL 渲染。传入 image_base64,这个服务器会将字节暂存到一个短时不可猜测的链接下,让渲染器获取,然后让它过期 — 不需要存储桶、不需要 CDN、不需要托管账户。

一个本地文件渲染到 A3 海报样机中

上面的 iPad 渲染图,从磁盘上传并渲染到带框的 A3 海报中。

Related MCP server: SudoMock

工具

工具

它回答什么

search_mockups

我应该用哪个样机?对整个目录进行自由文本搜索,支持设备词别名("tablet"、"poster"、"laptop")以及 family/type/tag 过滤器。

create_mockups

把这个设计放进这些样机里。接受 screenshot_url、image_url 或 image_base64,并发渲染到多个样机中。

get_renders

那些渲染完成了吗?轮询任何超出内联等待预算的任务。

account_status

还剩多少积分,这个套餐实际能做什么?

将一个设计渲染到多个设备上

一起拍摄的场景共享一个 tag,所以要在多个设备上获得一致外观的方法是先搜索一个,然后按它的 tag 过滤:

search_mockups(query="ipad", tag="update-august-2024-meeting-room")
create_mockups(
    mockup_ids=["Zkn1GMTfiAFX5ZOn", "Zkn2DsTfiAFX5ZPD", "Zkn15MTfiAFX5ZO_"],
    screenshot_url="https://wtdib.cdit-works.de/",
)

配置

参见 .env.example。两个重要的:

  • MOCKUUUPS_API_KEY — 来自 mockuuups.studio/developers 的开发者密钥。

  • PUBLIC_BASE_URL — 这个服务器的公开源。上传需要它,因为 Mockuuups 的渲染器会通过公共互联网取回暂存的图片。截图和图片 URL 渲染不需要它也能工作。

值得了解的套餐限制

API 按积分计费:一次渲染 = 1 积分,网站截图 +1,高清 +1。只有成功的渲染才收费。

有两个行为如果你不知道会踩坑:

  • 省略 size 意味着高清,在任何没有该功能的套餐上都会以 feature-not-available 硬失败。这个服务器总是显式发送 size,上限由 MOCKUUUPS_MAX_SIZE(默认 1000,即 Trial 上限)控制。当账户拥有 hires 功能时可以提高它。

  • 在带有 cdn-temporary 的套餐上,交付链接约 24 小时后过期。 下载任何值得保留的内容。account_status 会报告这一点。

开发

uv sync
uv run pytest
uv run mcp-mockuuups          # stdio
TRANSPORT=http uv run mcp-mockuuups   # streamable-http on /mcp

许可证

MIT

Available Tools

4 tools
account_statusAccount statusA
Read-onlyIdempotent

[mockuuups] How many credits are left, and what can this plan do? Reports the credit balance plus which features are actually available — hi-res, website screenshots, and whether CDN links expire. Worth checking before a batch: a plain render costs 1 credit and a screenshot costs 2.

Inputs: no named parameters. Returns: plan, status, account, summary, +8 more

create_mockupsCreate mockupsA

[mockuuups] Put one design into one or more mockups and render them.

Give exactly one source:

  • screenshot_url — Mockuuups screenshots the live page itself. Best for websites; costs one extra credit per render.

  • image_url — any publicly reachable image.

  • image_base64 — raw image bytes for a design that only exists locally. Mockuuups can only render from a URL, so the image is staged on this server under a short-lived unguessable link for the render to fetch.

Pass several mockup_ids to render the same design across devices in one call; they run concurrently. Renders that outrun the wait budget come back as pending with a render_id for get_renders — the CDN links are already valid and will fill in once the render lands.

Each render costs a credit, +1 for a screenshot, so check account_status before a large batch.

Inputs: mockup_ids (required), size, image_url, image_base64, +2 more. Returns: failed, pending, renders, summary, +3 more

get_rendersGet rendersA
Read-onlyIdempotent

[mockuuups] Did those renders finish? Poll renders create_mockups returned as pending. With wait_seconds it long-polls until they settle or the budget runs out; with 0 it checks once and returns immediately.

Inputs: render_ids (required), wait_seconds. Returns: failed, pending, renders, summary, +3 more

search_mockupsSearch mockupsA
Read-onlyIdempotent

[mockuuups] Which mockup should I use? Searches all ~5300 Mockuuups scenes by device, scene and style.

query is free text and understands everyday device words — "tablet", "laptop", "poster", "smartwatch" — as well as exact placement slugs like "ipad-air". Combine it with family (iPhone, iPad, MacBook, TV, Paper, Apple Watch, Samsung, Google, iMac, ...) or kind to narrow.

tag is the strongest way to get one consistent look across several devices: scenes shot together share a tag, so filtering by a tag returned on a mockup you like gives you the rest of that shoot. Pass the returned id to create_mockups.

Inputs: tag, kind, limit, query, +1 more. Returns: count, types, mockups, summary, +2 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a clearly distinct stage of the workflow: account_status (billing/plan), search_mockups (discovery), create_mockups (rendering), get_renders (polling async results). No two tools overlap in purpose, and descriptions reinforce the boundaries.

    Naming Consistency4/5

    Three of four tools use a consistent verb_noun pattern (search_mockups, create_mockups, get_renders). account_status breaks the pattern with a noun_noun form, but it is still readable and unambiguous.

    Tool Count5/5

    Four tools cleanly cover the mockup rendering lifecycle without redundancy or padding. The count is well matched to the narrow purpose of the server.

    Completeness4/5

    The core loop (check credits, search scenes, render, poll results) is fully covered. Minor gaps exist, such as no way to list prior renders or browse available families/tags independently, but agents can work around these via search.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Product mockup rendering API for e-commerce and print-on-demand. Upload Photoshop PSD templates, render photorealistic mockups by placing your designs onto smart object layers. 9 tools including AI-powered render (no PSD needed), template management, and account info. Supports remote HTTP (OAuth) and local stdio (npx) transports.
      1,116 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to create and configure product mockups on ultramock.io using your own logged-in subscription.
      11
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables rendering App Store and Google Play screenshots from AppScreen layout JSON and referenced image files, and polling render jobs for status and signed download links.
      50 npm
      MIT