Skip to the page
appShots

MCP tools

appShots is a remote MCP server. An agent connects to it once and can then build and render sets by itself.

The endpoint#

Address https://shots.beffa.xyz/mcp
Transport Streamable HTTP, POST only
Sign-in OAuth, for an app that adds appShots as a connector, or the header Authorization: Bearer <token>, with a token from Connect an agent in the Studio
Sessions None. Every request stands alone

claude.ai, Claude Desktop, ChatGPT and other apps that take a connector need only the address: they sign in with OAuth, and you allow them on a page of appShots. See Add it as a connector. Agents set up with a command send a token in the header instead; the commands for each are in Connect an agent.

A token, or an app you let in, reaches the projects of the account it belongs to and nothing else. See Accounts, tokens and limits.

The order of work#

  1. get_design_guide, once, before anything else.
  2. create_project, or list_projects and get_project to continue one.
  3. Upload the raw screenshots. This goes through the command line or the HTTP API, because MCP has no way to send files. A project in several languages can hold each screenshot once per language.
  4. set_slides. For an app on more than one device, once more for each of the others with device, so every device has a set composed for its own canvas.
  5. check_project, which says what a render would refuse or warn about and uses no render. Then render, and look at the pictures it returns.
  6. update_slide for the fixes, then render again. A change that made things worse is undone with list_revisions and restore_project.

Other takes on the first slides are kept beside the set with set_variant, and render draws them on their own. See Variants.

Uploading the result to App Store Connect is not among the tools. It needs your App Store Connect key, which stays on your Mac, so the command line does it.

An app preview video is recorded and cut on the Mac too, by appshots video. The server's part of it is render_video_layers, which draws the captions and cards. See App preview videos.

Every render uses one of the account's renders, whatever it draws. So an agent writes the whole set first, renders it in one call, fixes everything it sees in one go and renders once more. The design guide tells it how many are left, and so does every render. See Render and export.

Tools#

get_design_guide#

Returns the guide the server is built around: the workflow, how to upload screenshots, every layout, background, font, device option and badge, what differs for a Mac app, and the rules for header and search results images and banners. It always matches the server's version.

Without arguments it is the whole guide. topic asks for one part of it, for an agent that knows what it is looking for, and the answer names the others: workflow, uploading, sizes, device-sets, mac, web, layouts, no-screenshot, feature-slides, feature-points, backgrounds, fonts, device, badges, icon-rows, images, icons, copy, custom, variants, store-assets, banners or mockups. A topic the guide does not have gets the whole guide, with the topics named first.

Two topics stand outside the whole guide. core is a short version of about two thousand tokens, for a model with a small context: the steps, an example set, the layouts, the rules, and which topic to read for anything else. fields lists every field of a slide, the theme and their parts with the values each takes, written out from the checks the tools make. The tool list shows the parts of a slide, such as a badge or the device, as plain objects to stay small, and this topic is where their fields are. See Local models.

list_projects#

Lists the projects of the account: id, name, number of slides, languages and when each last changed. ownSets names the devices that have a slide set of their own. A project whose stored file cannot be read is listed too, with damaged saying what is wrong: restore_project brings back an earlier revision of it. No arguments.

create_project#

Argument What it is
name The app's name. Required
locales The languages. Default ["en"]
theme The look every slide shares. See Slides

Returns the project's id and how to upload screenshots into it.

get_project#

project is the id. Returns the theme, the slides, the sets single devices have of their own under deviceSlides, the header and search results images and banners, the screenshots and images uploaded so far, and exportSizes, the sizes a render writes. Each screenshot is listed with its device, and with its locale when it was uploaded for one language only. A Mac screenshot also says whether it is shown as a window or inside a MacBook. See Languages. revision is the version the project is at.

update_project#

Changes name, locales, targets or theme of project. A theme changes only the fields it names, such as {"accentColor": "#0A84FF"}, and keeps the others; in device, too, only the fields given change. With replaceTheme: true the theme given replaces the whole one, and fields left out go back to their defaults. When a slide sets a field of its own that the theme changed, such as its own accentColor, the answer says which slide: the slide's wins there. targets is the list of sizes the project exports, and [] goes back to the standard ones. See Sizes. locales holds each language once, and en and EN count as the same one: a language given twice is kept in its first spelling.

list_revisions#

project is the id. Every change to a project's name, theme, slides and assets is saved as its next revision, and the last 50 are kept. Returns the revision the project is at and the versions kept, newest first, each with its revision, the time it was saved, the actor that saved it (studio, api or mcp) and its size. Screenshots and images are not part of them.

delete_project#

Argument What it is
project The id
confirm The id once more. Anything else deletes nothing

Deletes the project for good with everything in it: its screenshots, images, renders, the layers of its app previews and its earlier versions. Its renders that were done leave the queue too. It cannot be undone, so an agent calls it only when the user asks. Answers with how many screenshots, images and files went, and their size.

restore_project#

Argument What it is
project The id
revision The version to bring back, from list_revisions

Saves that version again as a new revision, so a restore can be undone the same way. For when a change made things worse or wrote over the user's own edits, and for a project whose stored file is damaged.

set_slides#

Argument What it is
project The id
slides One to ten slides, in store order. See Slides
device iphone, duo, ipad or mac: the set is for this device alone, which then draws it in place of the shared one. Left out, the shared set is replaced
theme Replaces the project's theme when given

Replaces the whole set. It names screenshots that slides refer to but that are not uploaded yet.

A project starts with one shared set that every device draws on its own canvas. An agent designs the iPhone's first and then gives the iPad and the Mac a set of their own, with the same story recomposed for the wider canvas:

{ "project": "streaks", "device": "ipad", "slides": [{ "layout": "device-right", "screenshot": "home", "headline": "Never miss a *day*" }] }

With device and an empty slides list, the device's own set is removed and it shows the shared one again. See A set for each device.

update_slide#

Argument What it is
project The id
slide The slide's number, starting at 1
of iphone, duo, ipad or mac: the slide is in this device's own set. Left out, it is in the shared set
changes Fields to set. They are merged over the slide, device included
remove Names of fields to clear, such as ["subheadline", "badges"]
{ "project": "streaks", "slide": 3, "changes": { "headline": "See your *progress*", "device": { "offsetY": 6 } } }

A field slides do not have, such as a misspelt headlne, is left out, and the answer names it. set_slides does the same. The answer also names a screenshot the slide uses that is not uploaded yet, and a name in remove that slides do not have. A change that leaves the slide as it was saves no revision. The HTTP API changes one slide the same way, counting from 0.

set_creative_assets#

Sets the wide pictures of project: header, search or universal for App Store Connect, and the banners readme, social, link and post for outside the store. Each one given replaces that picture, and the others stay. remove deletes them by name. See Header and search results and Banners.

set_variant#

Keeps another take on some slides beside the set, without changing it, such as five versions of the first two to compare. See Variants.

Argument What it is
project The id
id The variant's name, such as spy-view. Saving an id the project has replaces that variant
name, note A name to show, and what this take tries, in a line
from The first slide it stands in for, starting at 1. Default 1
slides One to ten slides, as set_slides takes them. They stand in for the set's from from on, in every device's set
apply true makes the variant's slides the set's, in every device's set. The variant is kept
remove true deletes the variant with its rendered files
{ "project": "undercover", "id": "spy-view", "note": "Open on the reveal", "slides": [{ "layout": "custom", "headline": "One of you is the *spy*", "design": { "html": "…" } }] }

slides and apply can go in one call, which saves the variant and then applies it. As with set_slides, the answer names a field slides do not have and a screenshot or image that is not uploaded. A project keeps up to 12 variants.

check_project#

Takes the arguments of render and says what a render with them would do, without drawing anything or using a render: whether it would be refused and why, in the words the render would use; what it would draw, by device, language and size; and what it would warn about, such as a screenshot or image name nothing is uploaded under, or copy App Review turns away. How the copy fits is measured only as it is drawn, so those warnings come from the render alone. previews, preview and background, which say how a render answers, are taken and ignored. An agent calls it before each render and fixes what it names, so no render goes to a set that cannot come out right. A refusal here is an answer, not a failed call: only an unknown project, or an argument render would not take, fails.

render#

Argument What it is
project The id
slides Slide numbers to render, starting at 1. Left out: all
creatives Header and search results images and banners to render. Left out: all of them, along with the slides. Given alone: the slides are left as they are. [] skips them
targets Sizes for this render only. Left out: every size the project exports, which is the standard sizes of each device it has screenshots of. See Sizes
locales Languages. Default: all of the project's
variant A variant's id: its slides in place of the set's, and only those, into variants/<id>/. slides then counts in the set as the variant makes it

| previews | false answers without pictures: the links, the warnings, and how small each language's copy was set. For a render of many languages, or to check the copy after an edit. Default true | | preview | "store" shows, in place of the contact sheets, the first three slides as the App Store shows them: in a search result and on the product page, light and dark | | background | true answers at once with the render's job, rather than wait for its pictures. For a large set, or a client that gives up on long calls |

Returns the contact sheets of the first language as pictures, one per device first and four at most, with links to any it leaves out, a preview of each wide image, the store's with their safe area marked, a link to every PNG, a link to the ZIP, warnings, and how many renders the account has left. A variant's contact sheet shows the whole set as the variant would make it. The ZIP link and the appshots pull line name the variant.

The warnings say what the pictures would not show at a glance: a screenshot that is missing, a {{name}} of a custom slide's design without a text, copy that had to shrink below three quarters of its size to fit or does not fit at all, a headline of more lines than read well, text outside the safe area of a header or search results image, and copy or logos App Review turns away, such as a price, "free", a ranking, a date, one of Apple's own awards, or another platform's logo. A finding in several languages is one warning that names them. See Slides.

A client that gives up on the call, or cancels it, cancels the render, which then uses none. With background, the answer names the job, which get_render follows.

get_render#

job is the id render answered with. While the render waits or draws, the answer says so, and how many pictures are done. Once it is done, it answers as render does, with the pictures and the links, and takes the same previews and preview; one that failed says why. Without job, it lists the account's renders as JSON: those waiting or under way, and those that ended in the last hour, the newest eight at most. It changes nothing.

cancel_render#

job is the id render answered with. Stops a render that waits or draws. It keeps nothing it drew, the pictures of the render before stay as they were, and it uses no render.

render_mockups#

Draws each raw screenshot in its device with nothing behind it: one transparent PNG per screenshot, for a website, a README or a deck. It needs no slides and uses no render.

Argument What it is
project The id
screenshots Names of the screenshots to draw. Left out: all of them
locale The language whose screenshots to draw. Default: the first
device How every mockup is drawn: frame, style, color, shadow, rotate, perspective, statusBar, statusBarTime, statusBarColor. Given, it is laid over what the project had, so a call can change one field. {} goes back to the defaults
width The width of each PNG in pixels. Left out: the screenshot pixel for pixel. null goes back to that
{ "project": "streaks", "device": { "style": "clay", "shadow": "soft", "rotate": -8 }, "width": 1200 }

What is given is saved with the project, so the Studio's Mockups page shows the same. A call that is refused, such as for a screenshot the project does not have, saves nothing. Returns a link to every PNG, a link to the ZIP and a picture of the mockups to check. See Mockups.

render_video_layers#

Draws what goes over and around an app preview video, in the project's style, as PNGs at the video's size: the background, a caption per scene and language, the intro and outro cards, and a touch ring, which is a small square that appshots video compose places wherever a touch was logged. The video itself is recorded and cut on the Mac by appshots video, which calls this by itself. See App preview videos.

Argument What it is
project The id
display iphone, ipad, mac, iphone-5.5, iphone-4.7 or ipad-9.7. Either this or size
orientation portrait (default) or landscape. A mac preview is landscape only
size [width, height], even numbers from 320 to 3840, for a size of your own
locales The languages. Default: all of the project's
captionStyle panel (default), shadow or band
captions Up to 12, each { "id", "text", "position" }. text is one text, one per language, or { "slide": 2 } for that slide's headline
intro, outro The cards, or false. intro takes headline and logo, outro up to three lines, logo and disclosure (iap, subscription, login)
plate The theme's background as an opaque picture. Default true
touch The ring drawn where a touch was logged. Default false
{ "project": "streaks", "display": "iphone", "captions": [{ "id": "today", "text": { "slide": 2 } }], "outro": { "disclosure": ["subscription"] } }

A new set uses one of the account's renders. Asking for the same layers again answers with the set drawn before and uses none. Returns the set's id, a link to its ZIP, where each picture is, and warnings: a caption shrunk to fit, a text drawn in another language because the project has none in that one, a card without a logo. The structured result is the set as the HTTP API returns it.

Try it without an agent#

appshots tools
appshots call list_projects

Or with curl:

curl -s https://shots.beffa.xyz/mcp \
  -H "Authorization: Bearer $APPSHOTS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Errors#

A tool that cannot do what was asked answers with a plain sentence saying why: an unknown project, a slide that does not exist, a value outside its range. Something the server did not expect is answered with a reference, such as Something went wrong on the server (ref 1a2b3c4d); try again., and whoever runs the server finds the details under it in the log. A missing or revoked token gets HTTP 401, and a request other than POST gets 405. See Troubleshooting.

The answers that hold data, such as those of get_project and list_projects, are JSON without indentation: they are read by the model, and spaces cost tokens.