DeviceMock

从应用页面或截图导出 3D 设备模型】【。

文档

Run this in a terminal, in your project's folder:

claude mcp add devicemock -- npx -y devicemock@latest mcp

For example:

Make a hero image of the home page at http://localhost:3000 in an iPhone, at an angle, on a soft gradient. Export it to public/hero.png.

DeviceMock renders in a browser on your computer. If Chrome or Edge isn't installed, the MCP server downloads a browser the first time it starts. It uses about 200 MB of disk space. Run npx devicemock@latest setup to do that step on its own and test it.

Ask your agent to save the mockup. It's saved in your repo, in .devicemock/.

npx devicemock@latest render regenerates the images from fresh screenshots of your app. Run it manually or in CI after each deploy.