An agent writes a page by calling a tool. Legato's MCP server runs on your Mac, started by the agent's own app, and its tools write, read and delete pages, arrange the sidebar, install a service's pages from a template, and add to History and lists. Claude Code, Codex, Claude Desktop and any other client that starts a local command can use it. A chat app in a browser can't reach it.
A script does the same work with the legato command, which makes the same checks and gives the same answers. Either way the result is a page file in the Pages folder, so an agent can set a page up and a script can keep it current.
Use them for data that takes a few calls, some arithmetic, a command-line tool or an agent's judgement. When the data comes from one API that answers JSON, a page with sources fetches it without either.
With an agent
- Connect an agentSetup for Claude Code, Codex, Claude Desktop and other MCP clients.
- MCP toolsEvery tool, with its arguments and what it returns.
- A prompt that worksAn example of asking for a page, card by card.
- A scheduled agentClaude Code run from launchd, every morning or every hour.