For developers

What works today through the API, MCP and your own code. The details are in the docs.

The API

Your own apps, scripts and servers read a site's pages and records, and save changes as drafts, with an API key.

  • Site keys and personal keys, shown once when you make them and revoked whenever you like
  • Every write is a draft: nothing reaches the live site until someone publishes it
  • Writes are checked against the site's own collections and fields
The docs

MCP, for AI tools

AI tools such as Claude connect to a site through MCP, with the same keys as the API. They read the site's content and save drafts for a person to check.

  • Read a site, its collections and records, and list its blocks
  • Save drafts; publish only with the key of an editor or above
  • The same keys, the same checks and the same history as the API
The docs

Your own code

Your code reads the content through the API. AI tools can leave drafts through MCP.

  • Each site has a kind in its settings: Clear's blocks, its own blocks, or its own code
  • With its own code, the admin hides the design tools unless your code declares a theme
The docs