Agents and API
What an agent or a script can do on a Libretto site: one operation registry under the admin, the MCP server and the CLI.
Start here #
Agents work on a Libretto site through the MCP server. Claude Code, Cursor, Codex and any other MCP client connect to it with a token for one site.
Using Claude Code? Follow Connect Claude to Libretto: it installs the Libretto plugin, which connects Claude Code with your token and teaches it to edit, check and publish safely.
- In the admin sidebar, open Persone e accessi › Agenti e accessi MCP (People & access › Agents & MCP access).
- Make a token: a name, the site, 30 or 90 days. Copy it: it is shown once.
- Set up your client. For Claude Code, install the plugin instead of the command the screen shows (Connect Claude to Libretto); for Cursor, Codex and the others, see MCP server.
The token acts for you, on that site, with your role. Revoke it on the same screen when you no longer need it.
When something blocks your agent, it reports it to the platform owner with report_issue: see Report a problem on MCP server.
The operations below are the same for every way in.
161 operations in 35 domains, 10 MCP tools and 10 CLI commands.
Operation domains
| Domain | Operations | Page |
|---|---|---|
| History operations | 2 | /agents/operations/history |
| Preset operations | 7 | /agents/operations/preset |
| Site component operations | 5 | /agents/operations/component |
| Effect operations | 3 | /agents/operations/effect |
| Catalogue operations | 3 | /agents/operations/catalog |
| Region operations | 1 | /agents/operations/region |
| Page tree operations | 3 | /agents/operations/tree |
| Content import operations | 1 | /agents/operations/content |
| Design system operations | 20 | /agents/operations/design-system |
| Page operations | 6 | /agents/operations/page |
| Navigation operations | 5 | /agents/operations/navigation |
| Blog operations | 2 | /agents/operations/blog |
| Article operations | 4 | /agents/operations/article |
| Media operations | 11 | /agents/operations/media |
| Site operations | 4 | /agents/operations/site |
| Access operations | 2 | /agents/operations/access |
| Settings operations | 2 | /agents/operations/settings |
| Breakpoint operations | 1 | /agents/operations/breakpoints |
| Layout operations | 1 | /agents/operations/layout |
| API configuration operations | 2 | /agents/operations/api-config |
| Environment operations | 2 | /agents/operations/environment |
| Brand operations | 13 | /agents/operations/brand |
| Motion operations | 7 | /agents/operations/motion |
| Font operations | 5 | /agents/operations/font |
| Publication operations | 6 | /agents/operations/publication |
| Collection operations | 5 | /agents/operations/collection |
| Collection item operations | 10 | /agents/operations/item |
| Form operations | 6 | /agents/operations/form |
| Form submission operations | 3 | /agents/operations/submission |
| Member operations | 6 | /agents/operations/member |
| Member role operations | 3 | /agents/operations/member-role |
| Ticket operations | 2 | /agents/operations/ticket |
| Domain operations | 4 | /agents/operations/domain |
| Maintenance operations | 2 | /agents/operations/maintenance |
| External effect operations | 2 | /agents/operations/external |
Generated from the operation registry and the MCP tool catalogue (source b681f1b8555000d8).
Something wrong on this page? Write to docs@librettocms.com.