appshots-mcp
v0.6.0MCP server that composes App Store / Google Play screenshot projects and writes them as .appshots files for the AppShots editor.
Lets Claude Code / Codex design App Store & Google Play screenshots: compose the layout, look at what it rendered, fix it, and export PNGs at the exact store pixel size — or save a .appshots project to finish by hand in the AppShots editor. Rendering runs the editor's real renderer, so what the model sees and what it exports are what the desktop app's Export button would produce. Codex CLI — in ~/.codex/config.toml:
Summary extracted from the README.
AppShots MCP Server
Lets Claude Code / Codex design App Store & Google Play screenshots: compose the layout, look at what it
rendered, fix it, and export PNGs at the exact store pixel size — or save a .appshots project to finish by
hand in the AppShots editor.
Rendering runs the editor's real renderer, so what the model sees and what it exports are what the desktop app's Export button would produce.
Install
Claude Code:
claude mcp add appshots -- npx -y appshots-mcp
Codex CLI — in ~/.codex/config.toml:
[mcp_servers.appshots]
command = "npx"
args = ["-y", "appshots-mcp"]
Any other MCP client: run npx -y appshots-mcp as a stdio server. It needs local filesystem access
(it reads your screenshots and writes project files), so it runs on your machine — there is no hosted URL to point at.
The server prints nothing to stdout — that channel is the JSON-RPC stream — and reports failures as tool errors.
Requirements
- Node 18+ — that is all the authoring tools need.
- AppShots 1.3+ installed (macOS), for the rendering tools. It is the renderer: it already holds the editor, the device bezels and the font faces, so this package stays under 600 kB (most of it the templates' background art) and downloads nothing. From AppShots 2.2 rendering runs in a helper app of its own, so you can open AppShots normally while a session is rendering; with older versions it may not open until the renderer has been idle for a minute.
Without the app you can still create, edit, describe and save projects — you just can't render_preview or
export_screenshots. This package is a thin entry point on purpose: it does not carry a copy of the editor.
Rendering works offline, except for CJK font faces, which come from Google Fonts. When one fails to load, the
render tools say so in missingFonts instead of quietly handing back a screenshot set in the wrong typeface.
APPSHOTS_APP points at an AppShots bundle in an unusual place.
Renders take turns: the renderer draws one request at a time, so tool calls that arrive together (say, previews
of two locales at once) are queued, and each one's time limit starts when it is actually sent. A render that has
not answered after 120 s (APPSHOTS_RENDER_TIMEOUT_MS) fails, the stuck renderer is shut down, and the next
call starts a fresh one; the open project is unaffected.
Tools
| Tool | Purpose |
|---|---|
list_options |
Valid devices (with exact export pixel sizes), templates, bezel ids, font families, locale codes, shape kinds |
create_project |
New project: device, pages, base locale, layout template |
open_project / save_project |
Read / write .appshots (defaults to ~/Documents/AppShots/<name>.appshots) |
describe_project |
Settings + every layer with page, geometry (fractions and pixels) and id |
configure_project |
Rename, default locale, locale→font map, per-page backgrounds, page names |
set_background |
Solid or multi-stop gradient, whole band or one page |
add_text |
Headline/body text, one string per locale |
add_frame |
Device frame + the screenshot inside it |
add_shape / add_image |
Decorations, logos, badges |
update_layer / remove_layer |
Move, resize, restyle (raw merges any field from the app's Layer type), delete |
set_locales / set_text |
Locale list and per-locale copy — translate in the model, no translation service needed |
import_screenshots |
Fill frames from a folder (fastlane screenshots/<locale>/…_01.png layout, en-US_01.png, or plain order) |
render_preview |
Render pages and return them as images — the model sees its own layout and iterates |
export_screenshots |
Write the final PNGs at exact store pixel size, in the fastlane deliver layout |
The loop that makes this work is add_* → render_preview → update_layer → render_preview → export_screenshots.
Without the preview step a model is composing blind.
Geometry is fractions, never pixels
Every coordinate and size is a fraction of one page: x: 0.14, width: 0.72 is a frame inset 14% from the page's left edge, three-quarters of a page wide. The same numbers compose correctly on a 410 px Watch and a 2880 px Mac, and the model can't emit an off-canvas layout by guessing wrong about the device. add_frame takes only width — the height follows the device's real aspect ratio. Passing a pixel value gets a tool error that explains the convention.
describe_project reports both units, and update_layer.raw is the escape hatch that writes raw layer fields in their own units.
Output
export_screenshots writes the fastlane deliver layout — screenshots/<locale>/<device>_<nn>.png — at the
exact pixel size the store expects, so the result drops straight into fastlane deliver or an App Store
Connect upload.
save_project writes a .appshots file you can open in the desktop editor to keep working by hand: the model
does the layout pass, you do the taste pass.
Links
- AppShots — the editor, on the Mac App Store
- Guide: designing App Store screenshots with Claude Code
MIT.