Skip to content

AI agents

saturn mcp runs an MCP server with seven tools: start, save, ship, who, undo, lock and unlock. A game registers it in its .mcp.json, as shown in Add Saturn to a game.

start, save, ship, lock and unlock need path, the full path of the folder the agent is working in. The server may have been started in another checkout than the one the agent is editing (a git worktree, for one), so the tools that change a folder never guess. who and undo take path too, and fall back to the server’s folder without it.

Every reply begins with the folder and branch it acted on, such as [/home/me/game on branch trae/cookie-jar].

When save reports a clash, the reply tells the agent how to resolve it and to call save again. keep without files leaves alone every file changed since the clash began.

A file over 1 MB that cannot be combined is kept as a large file, and the reply says so. When a reply says Git LFS is not installed, it gives the command that installs it. The server’s instructions tell the agent to pass that on to the user, not to install it.

  • description holds what changed and why; it goes under the title in the commit on main and in the pull request.
  • unchecked: true goes ahead without a check whose tool is not installed. ship stops at one otherwise, and the reply tells the agent to ask the user first.
  • pr: true opens a pull request instead of merging. Only true means anything there: an agent that sends pr: false still gets a pull request in a project whose saturn.json says "ship": "pr".
  • looked: true ships work an agent made, once a person has looked it over.

undo previews first: the reply names the ship and gives its id. It only goes ahead when called again with that id as which and confirm: true; a number is not enough, because the list moves when a teammate ships.

During a clash, undo backs out of the clash. If the agent has already edited the clashing files, it lists them and goes ahead only with which: "clash" and confirm: true.

Both take files: paths inside the project. unlock lets go of what the agent’s own work holds at once. For a file other work holds it only previews, and goes ahead when called again with the lock’s id in files and confirm: true; the reply tells the agent to ask the user first.

Work an agent starts or saves is marked as the agent’s, under the name its program gives when it connects (Claude Code, say). who and the window show the mark to everyone.

ship holds the work back until a person has looked it over: the reply names what it changes and tells the agent to show the user, and it goes ahead only when called again with looked: true. At the command, saturn ship asks “Have you looked it over?”, and saturn ship --looked skips the question.

Work only people made ships as it always has. Once the work has shipped, the mark comes off the branch, and what is made on it next is new work.