yoto-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for the user's Yoto MYO playlists and interactive cards.
Name cards by their title, the way the user sees them in the Yoto app. Never show card ids to the user; they can't see them anywhere.
Every change is plan-then-apply: call yoto_card_plan, show the user the diff and warnings, and only call yoto_card_apply after they agree. Apply takes a backup and verifies the write.
Cards owned by another family account are read-only from this account. Copy their media with yoto_media_import before reusing it on this account's cards.
To draw an icon, write a 16×16 character grid with a palette (yoto_icon_render) or start from yoto_icon_glyph; look at the preview it returns before offering the icon.
For interactive cards, write a story graph (yoto://schema/story-graph) and use yoto_story_compile; it simulates the card and returns a plan. The templates (yoto_template_book_selector, yoto_template_title_tracks) do the Hilo patterns in one call.
yoto_icon_select is for the icon chooser page only; don't call it yourself.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| yoto_whoamiA | List the linked Yoto accounts (by the short names the user gave them) and the default one. |
| yoto_account_linkA | Start a browser login that links a Yoto account under a short name such as "Family". Returns the login URL (opened in the browser by default). Call yoto_whoami after the user finishes logging in to confirm the account is linked. |
| yoto_cards_listB | List cards in My Playlists and the family library, by title.
|
| yoto_card_getA | Fetch one card by title. Media in every view is given as yoto:# refs, which are safe to reuse in plans on the same account. |
| yoto_card_playableA | Short-lived signed URLs for listening to or spot-checking a card's tracks. Don't store them. |
| yoto_card_planA | Plan an edit to a card without writing anything. Returns a plan_id, a readable diff and warnings.
Ops (address chapters by key, or by exact chapter title):
|
| yoto_card_applyA | Apply a plan the user has seen: checks the card hasn't changed, backs it up, writes, re-reads, verifies. Applying the same plan twice does nothing the second time. |
| yoto_card_backupsA | List the local backups of a card, newest first (taken before every apply; the last 20 are kept). |
| yoto_card_restoreA | Plan restoring a card from a backup (the newest by default). Apply the returned plan to restore. |
| yoto_media_upload_beginA | Start an audio upload. Otherwise PUT the file to upload_url (bin/yoto-upload does this), then call yoto_media_upload_wait. |
| yoto_media_upload_waitB | Wait for Yoto to transcode an upload. Returns the yoto:# ref plus duration, fileSize, channels, format. |
| yoto_media_upload_fileA | Upload a local audio file in one step and wait for transcoding. The bytes never pass through Claude. |
| yoto_media_importA | Copy a card's audio and icons from one linked account into another (media refs are per account). Returns a map from old refs to new media; use it in a |
| yoto_icon_renderA | Render 16×16 icons from character grids and return a preview sheet to look at. Each spec: {"name": str, "rows": [16 strings of 16 chars], "palette": {char: "#RRGGBB" | "#RRGGBBAA" | "transparent"}}. "." and " " are transparent unless the palette says otherwise. Style: strokes at least 2 px, 4 colours or fewer, a 1 px margin, bright colours that read on black, one idea per icon. Fix lint warnings and re-render (at most three rounds) before offering an icon. |
| yoto_icon_glyphB | A centred icon of 1–2 characters (digits, A–Z, ? ! + -) or one symbol (★ ♥ ♪ ☾ ☀). Returns the spec (editable, for yoto_icon_render) and its preview. |
| yoto_icon_from_imageB | Downscale and quantize a local image into a 16×16 spec, as a starting point to clean up. |
| yoto_icon_uploadA | Upload an icon: the sha256 of a rendered icon, or a local PNG/GIF path. Returns its yoto:# ref. Without auto_convert the file must be exactly 16×16 RGBA PNG, so Yoto stores the pixels as drawn. Use the ref in a set_icon op. |
| yoto_icons_searchB | Search this account's uploaded icons and Yoto's public icons by title and tags. |
| yoto_cover_uploadB | Upload cover art from a local image (Yoto resizes it). Use the url in a set_cover op. |
| yoto_ttsA | Speak a short prompt on this machine, check it with speech-to-text, and upload it.
|
| yoto_story_validateA | Check a story graph for unreachable nodes, dead ends, missing targets and endless loops. Writes nothing. A graph: {"start"?: id, "nodes": [{"id", "type": "choice"|"segment"|"end", "title",
"tracks": [{"title", "audio": "yoto:#…" | media | asset name, "icon"?}], "next"?: id|"stop",
"left"?: id, "right"?: id}], "assets"?: {name: media}, "expect"?: [{"presses": ["right", "left"],
"plays": [node ids]}]}. A choice waits for a button; a segment plays on to |
| yoto_story_compileA | Compile a story graph into an interactive card, walk it like the player would, and (if the walk is clean) return a plan writing it to A graph: {"start"?: id, "nodes": [{"id", "type": "choice"|"segment"|"end", "title",
"tracks": [{"title", "audio": "yoto:#…" | media | asset name, "icon"?}], "next"?: id|"stop",
"left"?: id, "right"?: id}], "assets"?: {name: media}, "expect"?: [{"presses": ["right", "left"],
"plays": [node ids]}]}. A choice waits for a button; a segment plays on to |
| yoto_story_simulateB | Replay button presses against a card (by title) or a draft graph and list what plays.
|
| yoto_story_from_cardB | Turn a card's events back into a story graph (one node per chapter) for editing and recompiling. |
| yoto_template_book_selectorA | Build a "choose a book" interactive card from a linear multi-book card, as a plan. Right cycles the books' prompts, left picks one: it announces " Book N: "
and plays that book and the ones after it. Left/right step tracks while a book plays.
Generates and uploads the spoken prompts (only the upload writes anything). |
| yoto_template_title_tracksA | Plan inserting a spoken " Book N: " title track before each book of a linear card. Also regenerates the |
| yoto_icon_chooserA | Open an icon picker over a card: one row per chapter, with Yoto's matching icons, the account's own
icons and any icons you drew ( In Claude Code it opens in the browser and returns when the user presses Done, with their picks as a plan of set_icon ops (generated icons are uploaded first). In an MCP Apps host it renders inline and returns at once; call yoto_icon_chooser_result after the user says they're done. |
| yoto_icon_selectA | Save picks from the icon chooser page. Called by the page only, not by Claude. |
| yoto_icon_chooser_resultC | The picks made so far in an icon chooser, as a plan of set_icon ops, plus any requests for new icons. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| book-selector | Build a choose-a-book interactive card from a linear card. |
| add-title-tracks | Add spoken title tracks before each book of a linear card. |
| audit-card | Check a card for foreign refs, label gaps, dead ends and stale intros. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| icon-chooser | |
| story-graph-schema | |
| interactive-reference |
TDQS
Scored across 29 tools
Most tools have clearly distinct scopes: account, card CRUD, media, icons, story graphs, and templates are separated. A few boundaries blur — `yoto_media_upload_file` overlaps with the `begin`/`wait` pair, `yoto_story_compile` also walks/validates like `yoto_story_validate`, and the trio `yoto_icon_chooser`/`yoto_icon_chooser_result`/`yoto_icon_select` serve one flow — but descriptions clarify these (e.g. icon_select is 'called by the page only').
All names share the `yoto_` prefix and snake_case, making them predictable and greppable. There are minor deviations in ordering — most are noun_verb (`yoto_card_get`, `yoto_media_upload_begin`) but a few are noun-first or bare (`yoto_icon_chooser`, `yoto_template_book_selector`, `yoto_tts`, `yoto_whoami`) — and `yoto_cards_list` is plural while `yoto_card_get` is singular.
29 tools is heavy, though the domain (account linking, card editing, media upload, icon design, story compilation, book templates) is genuinely broad. Several merge candidates exist — the 8-strong icon sub-flow and the three-step upload begin/wait/file pattern could be consolidated — pushing it past the comfortable range.
Card lifecycle is well covered: list, get, playable URLs, plan/apply with back-ups and restore, plus new-card creation via plans. Media, icons, TTS, story compilation and templates round out authoring. Minor gaps remain — no explicit card delete, no account unlink/switch, and no playlist management.