Skip to main content
Glama

yoto-mcp

Lets Claude read and safely edit your Yoto MYO playlists and interactive cards. It's a local MCP server plus a Claude Code plugin (yoto) that adds skills, slash commands, a plan reviewer and a guard on writes.

  • Cards by title. Cards are named the way the Yoto app shows them, and card ids never appear.

  • Every write is plan, then apply. A plan shows a diff, warnings and lint. Apply checks that the card hasn't changed since, backs it up, writes, reads it back, and checks that tracks play.

  • Interactive cards from a story graph. A compiler and a player simulator catch the gotos to nowhere, dead buttons and endless loops that fail silently on a real player.

  • Spoken prompts on your machine. Local TTS with a pronunciation map, plus a speech-to-text check.

  • Icons. Pixel-exact 16×16 icons drawn from character grids, and an icon chooser page.

It runs on your machine over stdio. Your Yoto tokens and the app's client secret stay in the macOS keychain, and no tool result ever contains them.

Install

1. Store the Yoto app's credentials and link your account(s) (once, in a terminal):

uvx --from git+https://github.com/earchibald/yoto-mcp yoto-mcp setup        # client id + secret → keychain
uvx --from git+https://github.com/earchibald/yoto-mcp yoto-mcp login Eugene  # browser login, linked as "Eugene"
uvx --from git+https://github.com/earchibald/yoto-mcp yoto-mcp login Family  # optional second family account

The first account you link becomes the default; change it with yoto-mcp default <name>. Login listens on the app's registered callback, http://localhost/oauth/callback by default (use setup --redirect-uri … to change it).

2. Add the plugin to Claude Code:

/plugin marketplace add earchibald/yoto-mcp
/plugin install yoto@yoto-mcp

The plugin starts the server with uvx, so you need uv. Without the plugin, any MCP client can run the server directly: claude mcp add yoto -- uvx --from git+https://github.com/earchibald/yoto-mcp yoto-mcp serve.

Optional, for spoken prompts: ollama with a speech model (ollama pull phonon), ffmpeg, and mlx_whisper or whisper for the transcript check.

Related MCP server: mcp-yoto

Use it

Command

Does

/yoto:login [name]

Link an account, or list the linked ones

/yoto:card <title>

Outline a card and audit it: foreign media, label gaps, dead ends, stale intros

/yoto:interactive <source> [pattern]

Build a choose-a-book, title-track, branching or quiz card

/yoto:icons <title> [--draw]

Draw candidate icons and open the chooser

/yoto:restore <title> [backup]

Put a card back from a backup

You can also just ask: "add a spoken title before each book on Hilo Books 4-8".

Tools

Area

Tools

Accounts

yoto_whoami, yoto_account_link

Reading

yoto_cards_list, yoto_card_get, yoto_card_playable

Editing

yoto_card_plan → yoto_card_apply, yoto_card_backups, yoto_card_restore

Media

yoto_media_upload_file, yoto_media_upload_begin / _wait, yoto_media_import, yoto_tts

Interactive

yoto_story_validate, yoto_story_compile, yoto_story_simulate, yoto_story_from_card

Templates

yoto_template_book_selector, yoto_template_title_tracks

Icons and art

yoto_icon_render, yoto_icon_glyph, yoto_icon_from_image, yoto_icon_upload, yoto_icons_search, yoto_icon_chooser, yoto_icon_chooser_result, yoto_cover_upload

There are also resources (yoto://schema/story-graph, yoto://docs/interactive, card JSON, outline and Mermaid graph) and three prompts (book-selector, add-title-tracks, audit-card).

Safety

yoto_card_apply refuses a plan if any of these holds:

  • the card changed after the plan was made

  • the card's title changed

  • the account doesn't own the card

  • the plan is older than 30 minutes

  • the plan has lint errors, such as another account's media refs

It saves a backup to ~/.yoto/backups/ (the last 20 per card), writes, re-reads, compares, and makes ranged GETs on the first, last and changed tracks. Each apply is logged to ~/.yoto/changes.log. The plugin's PreToolUse hook also blocks an apply without a valid plan, and asks you to confirm every write with a one-line summary.

Interactive cards

Claude writes a small graph; the compiler does the rest:

{"nodes": [
  {"id": "q", "type": "choice", "tracks": [{"audio": "yoto:#…"}], "left": "cave", "right": "woods"},
  {"id": "cave", "type": "end", "tracks": [{"audio": "yoto:#…"}]},
  {"id": "woods", "type": "end", "tracks": [{"audio": "yoto:#…"}]}],
 "expect": [{"presses": ["left"], "plays": ["q", "cave"]}]}

Node order is chapter (dial) order. The compiler gives every chapter a unique key and emits onEnd/onLhb/onRhb events. It sets the interactive config: no autoadvance, dial skipping on, and resumeTimeout: 1 so the card starts over. Then the simulator walks every path and checks the declared expect walks before any plan is made.

Icon chooser

From Claude Code, the chooser opens in your browser on a loopback port with a one-time token. In an MCP Apps host such as Claude Desktop, it renders inline (ui://yoto/icon-chooser). Picks come back as a plan of set_icon ops.

Live checks

These are open questions from the design. Each one writes to the default account and cleans up after itself.

uvx --from git+https://github.com/earchibald/yoto-mcp yoto-mcp check icons    # autoConvert=false icon round-trip, pixel-exact?
uvx --from git+https://github.com/earchibald/yoto-mcp yoto-mcp check resume   # is resumeTimeout: 0 accepted?

Develop

uv run --extra dev pytest
claude --plugin-dir . plugin details yoto     # load the plugin from this checkout

Tests run against tests/fake_yoto.py, which mimics what the real API did during the Hilo work:

  • /content is owner-only, and /card returns signed URLs

  • foreign refs fail with 400

  • known uploads get a null upload URL

  • transcoding is async

  • refresh tokens rotate

mcp is pinned below 2, because 2.x renamed FastMCP.

Available Tools

29 tools
yoto_card_applyA
DestructiveIdempotent

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.

Inputs: plan_id (required), verify_playback. Returns: object

yoto_card_backupsA
Read-only

List the local backups of a card, newest first (taken before every apply; the last 20 are kept).

Inputs: card (required), account. Returns: object

yoto_card_getA
Read-only

Fetch one card by title. view is summary, outline (chapter list) or full (whole document).

Media in every view is given as yoto:# refs, which are safe to reuse in plans on the same account.

Inputs: card (required), view, account. Returns: object

yoto_card_planA
Read-only

Plan an edit to a card without writing anything. Returns a plan_id, a readable diff and warnings.

card is the card's title, or "new" (with title) to plan a new card. Show the user the diff before applying. Plans expire after 30 minutes.

Ops (address chapters by key, or by exact chapter title):

  • insert_chapter {key, title, audio: , icon?, before|after: chapter, or position: start|end|N} or {key, title, tracks: [{key?, title, audio, icon?}], ...}

  • remove_chapter {chapter}

  • move_chapter {chapter, before|after|position}

  • retitle {title} (the card) or {chapter, track?, title}

  • set_track_audio {chapter, track?, audio}

  • set_icon {chapter, track?, icon: "yoto:#…"} (no track: the chapter and all its tracks)

  • set_events {chapter, track?, events: {onEnd|onLhb|onRhb: {cmd: goto|stop, params?} | null}}

  • set_config {config: {resumeTimeout, autoadvance, disableTrackNav, …: value | null}, playbackType?}

  • set_cover {url}

  • set_metadata {metadata: {description, author, …}}

  • replace_refs {map: {"yoto:#old": "yoto:#new" | media}} (after yoto_media_import)

  • renumber_labels {} (runs automatically after structural ops)

Inputs: ops (required), card (required), title, account, +1 more. Returns: object

yoto_card_playableA
Read-only

Short-lived signed URLs for listening to or spot-checking a card's tracks. Don't store them.

Inputs: card (required), account, chapters. Returns: object

yoto_card_restoreA
Read-only

Plan restoring a card from a backup (the newest by default). Apply the returned plan to restore.

Inputs: card (required), backup, account. Returns: object

yoto_cards_listB
Read-only

List cards in My Playlists and the family library, by title.

owned: false cards belong to another family account and are read-only from this one.

Inputs: fresh, search, account. Returns: object

yoto_cover_uploadB
Idempotent

Upload cover art from a local image (Yoto resizes it). Use the url in a set_cover op.

Inputs: path (required), account. Returns: object

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 (generated: {chapter_key or "*": [sha256 from yoto_icon_render]}).

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.

Inputs: card (required), mode, account, generated, +2 more. Returns: object

yoto_icon_chooser_resultC
Read-only

The picks made so far in an icon chooser, as a plan of set_icon ops, plus any requests for new icons.

Inputs: chooser_id (required). Returns: object

yoto_icon_from_imageB
Read-only

Downscale and quantize a local image into a 16×16 spec, as a starting point to clean up.

Inputs: path (required), name, max_colours, alpha_threshold.

yoto_icon_glyphB
Read-only

A centred icon of 1–2 characters (digits, A–Z, ? ! + -) or one symbol (★ ♥ ♪ ☾ ☀).

Returns the spec (editable, for yoto_icon_render) and its preview.

Inputs: text (required), name, colour, outline.

yoto_icon_renderA
Read-only

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.

Inputs: specs (required).

yoto_icon_selectA

Save picks from the icon chooser page. Called by the page only, not by Claude.

Inputs: chooser_id (required), done, requests, selections. Returns: object

yoto_icon_uploadA
Idempotent

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.

Inputs: icon (required), account, auto_convert. Returns: object

yoto_media_importA
Idempotent

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 replace_refs op on the destination's copy.

Inputs: card (required), from_account (required), chapters, to_account. Returns: object

yoto_media_upload_beginA
Idempotent

Start an audio upload. exists: true means Yoto already has these bytes (no PUT needed).

Otherwise PUT the file to upload_url (bin/yoto-upload does this), then call yoto_media_upload_wait.

Inputs: sha256 (required), filename (required), account. Returns: object

yoto_media_upload_fileA
Idempotent

Upload a local audio file in one step and wait for transcoding. The bytes never pass through Claude.

Inputs: path (required), account. Returns: object

yoto_media_upload_waitB
Idempotent

Wait for Yoto to transcode an upload. Returns the yoto:# ref plus duration, fileSize, channels, format.

Inputs: upload_id (required), account, timeout. Returns: object

yoto_story_compileA
Read-only

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 card (a title, or "new"). Show the user the simulator result and the diff, then yoto_card_apply.

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 next; an end stops. Node order is chapter (dial) order, with the start node first. Full schema: yoto://schema/story-graph.

Inputs: graph (required), title (required), card, cover, +2 more. Returns: object

yoto_story_from_cardB
Read-only

Turn a card's events back into a story graph (one node per chapter) for editing and recompiling.

Inputs: card (required), account. Returns: object

yoto_story_simulateB
Read-only

Replay button presses against a card (by title) or a draft graph and list what plays.

presses is a list of "left", "right" or "end" (let the track finish). After the presses run out the card plays on until it stops or waits for a button. Also returns the full walk report.

Inputs: presses (required), card, graph, account. Returns: object

yoto_story_validateA
Read-only

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 next; an end stops. Node order is chapter (dial) order, with the start node first. Full schema: yoto://schema/story-graph.

Inputs: graph (required). Returns: object

yoto_template_book_selectorA
Idempotent

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). subtitles maps book number to subtitle. target is the card to rebuild (default: the existing " (Choose a Book)" if there is one, else a new card). Use the source card's owner account.

Inputs: source_card (required), title, voice, target, +5 more. Returns: object

yoto_template_title_tracksA
Idempotent

Plan inserting a spoken " Book N: " title track before each book of a linear card.

Also regenerates the intro chapter's audio with recalculated track numbers ("Book 4, track 2."). Books that already have a title track are left alone. Returns a plan; apply it after the user agrees.

Inputs: card (required), intro, voice, account, +2 more. Returns: object

yoto_ttsA
Idempotent

Speak a short prompt on this machine, check it with speech-to-text, and upload it.

text is what the card displays; the pronunciation map rewrites it for speaking ("Hilo" → "High-low" by default). Returns media (ref, duration, …) to use as a track's audio, plus the transcript and a match score. Listen again if the match is low.

Inputs: text (required), check, model, voice, +2 more. Returns: object

yoto_whoamiA
Read-only

List the linked Yoto accounts (by the short names the user gave them) and the default one.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 29 tools

    Disambiguation4/5

    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').

    Naming Consistency4/5

    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.

    Tool Count3/5

    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.

    Completeness4/5

    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.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Connects a Yoto library to Claude and ChatGPT so parents can browse and build MYO cards, add tracks, set pixel-art icons, and check player status through natural language. It handles Yoto sign-in via OAuth and stores tokens encrypted so nothing readable is retained.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude Code to inspect a Godot 4 project's scenes, scripts, autoloads and input actions, compile GDScript through the real engine to surface errors with file and line, run the game or a scene headlessly, read its debug output, and view screenshots of what it renders. It also creates and edits scenes and nodes, with an optional read-only mode that hides every file-changing tool.
      6
      17
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables hand-editing of pixel-art sprites, animations, and Wang autotile tilesets directly inside Claude conversations, via interactive editor cards in chat apps and side panes in Claude Code. Edited results are handed back to Claude, which can write them into the project's files.
      MIT