How to let an AI agent publish without losing control Hatamoto published a guide showing that an AI agent can draft and publish content on a Hatamoto site without bypassing human review, provided the key is issued to an Editor account, limited to read and write entity scopes, and paired with Review mode so publishes and edits to live pages wait for a person. The guide uses a fictional jazz club, the Blue Room, with an `event` content type and `notice` field, and recommends separate read-only and write keys, a 90-day expiry, dry-run previews, and version-checked writes so stale edits are refused. Hatamoto's MCP endpoint at `/mcp` and REST API at `/api/v1` enforce the key's scopes, with idle sessions ending after 30 minutes and a default limit of 1000 requests per hour. How to let an AI agent publish without losing control How to give an AI assistant a key that can draft and publish on a Hatamoto site while its publishes and live edits wait for a person, with a made-up jazz club's event listings as the example. An AI agent can publish on a Hatamoto site without taking the live site out of your hands, as long as you set three things up before you hand over a key. Make the key for an Editor account instead of your own, give it only the read and write entity scopes, and switch Review on so that its publishes and edits to live pages wait for a person taking a page offline and creating a public person entry are the two exceptions, covered below . Then have the agent preview every change with a dry run and write with the version it read, so a stale edit is refused instead of applied. The example through this guide is a made-up venue, the Blue Room, a small jazz club whose site has an event content type with a notice field. The owner wants an assistant to draft listings from the booking sheet and to mark a show as cancelled when the band pulls out, without being able to change the live site on its own. What an agent can reach on a Hatamoto site Hatamoto has two doors for programs. The first is an MCP endpoint at /mcp . MCP, the Model Context Protocol, is a standard way for AI tools to call functions on a server. The second is the REST API under /api/v1 , which a script calls with an X-API-Key header. Both open only as far as the key presented on each request. Over MCP an agent gets a list of tools. With the right scopes it can list and search entities, read a content type's schema, create drafts, update and publish entries, restore earlier versions, upload media, edit menus and redirects, and read crawler analytics. The MCP server reference https://hatamoto.dev/docs/ai-seo/mcp lists every tool with its inputs and the scope it needs. An idle session ends after 30 minutes, and a key gets 1000 requests per hour by default. The server's own instructions tell the agent to read schemas get first, create drafts, review them, then publish. A well-behaved assistant follows that. The controls below exist for the cases where it does not. A key acts as the account it was made for, and Hatamoto checks that account's role afresh on each request. A key made for an Editor can do at most what an Editor can, and it stops working if the account is removed or loses its owner or editor role. For the Blue Room, what the agent can do comes down to the booker's account and the scopes the key leaves out. Two keys for two jobs The club has two jobs for its assistant: answering questions about the site, and writing to it. These deserve separate keys, because where a key is made decides whose authority it carries, and that decides whether Review can hold it. The read-only key, made in the admin For reading, make a key in the admin. Open Settings Integrations API keys at