Living Tool
Browse the docs
Docs/Guides

AI agents

Living Tool can serve its tools over the Model Context Protocol, so an agent you run, such as Claude Code or Claude Desktop, can read the disc and work on the open project. It's off until you turn it on, and it only listens on this computer.

v0.1.27 · updated 18 Oct 2026 · 6 min read

Turning it on

Agents work on the disc and the project you have open in the app. Opening or creating a project stays your job.

  1. Open Settings and find AI agents.
  2. Turn on Allow agents to connect. Living Tool starts an MCP server on 127.0.0.1, port 7811 by default (from SLUS-00811), and the Port row says it's listening.
  3. Leave Let agents change the project on if you want agents to stage edits. With it off they can look around but not change anything.

Change Port if something else already uses 7811.

Settings → AI agents: agents and edits allowed, the setup for Claude Code, and the activity list.
Settings → AI agents: agents and edits allowed, the setup for Claude Code, and the activity list.

Connecting an agent

Connect an agent in Settings shows the setup for three kinds of client, with this computer's port and paths filled in.

Claude Code

Run this in a terminal, then ask Claude Code to use Living Tool. Add --scope user to have it in every folder.

Terminal
claude mcp add --transport http living-tool http://127.0.0.1:7811/mcp

Claude Desktop

Claude Desktop launches a program instead of calling a URL, so it runs Living Tool's own binary as a bridge. In Claude Desktop, open Settings → Developer → Edit Config, add this to claude_desktop_config.json and restart Claude. Settings in Living Tool shows the right path for your computer.

claude_desktop_config.json
{
  "mcpServers": {
    "living-tool": {
      "command": "/Applications/Living Tool.app/Contents/MacOS/living-tool",
      "args": ["--mcp", "--port", "7811"]
    }
  }
}

The bridge forwards each request to the running app. It opens no window and starts no second copy, so keep Living Tool open with agents on. Until then, every request gets an error that says so.

Other clients

Cursor, VS Code, Windsurf and most other MCP clients take the URL http://127.0.0.1:7811/mcp (Streamable HTTP). A client that can only launch a program uses the same command as Claude Desktop.

What agents can do

Living Tool serves 58 tools. Each one calls the same command a screen would, on the app's live state: the open disc, the open project, Living Tool's own emulator and an attached PCSX-Redux.

AreaTools
Status and projectget_status, list_changes, snapshot_project, revert_file
Fileslist_files
Game datalist_enemies, get_enemy, edit_enemy, get_game_data, edit_game_data
Events and textlist_event_packs, get_pack, get_dialogue, edit_dialogue, get_script, check_script, edit_script, find_flags
Storyget_story, get_page, story_uses
Worldlist_areas, get_area, new_area, link_door, remove_door, add_actor, remove_actor
Music and soundlist_music, stream_music, remove_music, list_sounds, add_sound, remove_sound
Build and testbuild_image, list_builds, emulator_launch, emulator_load_base_state, emulator_stop, emulator_connect, emulator_push, emulator_warp, emulator_screenshot
Play in Living Toolplay_start, play_status, play_sync, play_warp, play_press, play_screenshot, play_stop
Houseslist_designs, get_design, check_design, save_design, place_design, walk_design
Appshow_in_app, get_reference
  • get_game_data and edit_game_data cover items, Living Toys, shops, encounters and party growth. An edit changes only the fields it names.
  • edit_dialogue can do a dry run that prices the pack budget first, and text: null puts a line back.
  • get_reference returns the text markup, the script DSL and the id formats, so the agent writes in the same notation you see in the app.
  • get_story lists the places, or one place's events as pages joined by the flags they share. get_page reads one page node by node, and story_uses finds every node that uses a line, flag, item, map, battle, shop or sound. They read the same story the Story screen draws, so show_in_app can open the page an agent is talking about.
  • new_area takes the next free area id, from 1328 on a retail disc.
  • The house tools work with the House workbench's designs. An agent can start from a preset, check a design until it has no errors (check_design with camera also says where the camera would lose the Knight), save it to your library and place it in a chunk. walk_design stands it in the game for a test, at its front door, without saving anything. get_reference with house_design explains the format, including the people who live in a house, the song that plays inside, locked doors and lit fires.
  • build_image writes a BPS patch only when your disc is the verified dump.
  • The play_* tools drive Living Tool's own emulator, the one on the Play screen, so an agent can test a change with no PCSX-Redux or BIOS:
    • play_start starts it on the project, or on a build as it was built, in free roam in Orgo.
    • play_sync brings new edits into the running game.
    • play_press holds pad buttons for a number of frames, to walk or to talk.
    • play_screenshot shows the agent the picture.
    • You watch on the Play screen as it happens.
  • stream_music puts an audio file into a song (streamed music), and add_sound makes one a new sound effect (sound effects). add_sound answers with the sfx line that plays it.

Not exposed yet: opening or creating projects, moving placements and triggers, chunk painting and the construction kit, texture and palette edits, sample and MIDI imports, and saves.

Safety

  • This computer only. The server binds 127.0.0.1. It checks the Host header, turns away requests that carry a web page's Origin, and takes only application/json, so a website can't reach it.
  • A switch for writes. Let agents change the project gates every tool that writes: edits, revert, snapshot, build and push. While it's off those tools are still listed but answer AGENT_EDITS_OFF, so the agent can tell you why.
  • Your client asks first. Tools are marked read-only or not, and revert_file, remove_door, remove_actor, remove_music and remove_sound are marked destructive, so your MCP client asks you before it runs them.
  • Edits are staged. An agent's edit goes into the project like any editor save. It's recorded in the project's history, you can revert it, and the disc image is never written.

Changes show up live

When a tool writes, Living Tool compares the project before and after and tells the open screens what changed:

  • the sidebar summary updates;
  • Game data, Text & dialogue, Events & scripts, the File patcher list and the Overview history read the changed files again;
  • one toast per burst names the agent and the count, such as "Claude Code changed 3 files", with Review.

Screens that keep unsaved edits, such as Game data and Text & dialogue, reload them from the project first, so their autosave never writes old values over the agent's. Tools that write also take turns, so two edits to one pack at the same time both keep their changes.

show_in_app opens a screen for you, such as the enemy an agent just edited. Agent activity in Settings lists every call with its client, its result or error, and when it ran. The list is kept on this computer, not in your projects, and Clear empties it.