MetorialDocs

Set up Dato CMS in Metorial for Claude, ChatGPT and Cursor

Share Dato CMS with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 18 tools (9 read-only).

To give your team Dato CMS in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Dato CMS integration in a Metorial portal, and each person connects with an API token. Agents can create, update, publish, unpublish, and delete structured content records in a headless CMS. The integration has 18 tools, 9 read-only, 8 write and 1 destructive, plus 5 triggers.

What you'll learn

  • How an admin shares Dato CMS in a portal and how each person connects
  • What Dato CMS asks for when you connect, and where to find it
  • How to keep the 9 read-only tools and reject the other 9

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: DatoCMS API token. Obtain from Project Settings > API Tokens in your DatoCMS dashboard.

Setup settings

Setup also asks for:

  • environment (optional): Target sandbox environment name. Leave empty to use the primary environment.

Admin: share Dato CMS in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Dato CMS. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Dato CMS.

Choose who gets it

Add the access groups that should see Dato CMS. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Dato CMS integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "dato cms"

Employee: connect Dato CMS

In the portal

Open Dato CMS in the catalog

Sign in to your portal and open Dato CMS. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "dato cms"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Dato CMS connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "dato cms"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as get_record and list_fields, and lose the 8 write tools, such as manage_field or manage_model, and the destructive tool delete_record.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "dato cms"
metorial tools <integration-id>
metorial call <integration-id> list_models -d '{}'

metorial tools lists the 18 tools, minus any you rejected. list_models takes no input. It lists all content models (item types) defined in the project.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (9)

  • list_models: List all content models (item types) defined in the project.
  • get_record: Retrieve a single content record by its ID, including all field values and metadata. Needs recordId.
  • get_site_info: Retrieve project site information including name, domain, locales, timezone, global SEO settings, and other configuration details.
  • list_records: List and search content records in a DatoCMS project.
  • search_site: Search the published website using DatoCMS built-in site search. Needs query.
  • list_uploads: List media assets (uploads) in the project.
  • get_job_result: Check the result of an asynchronous content or schema operation using its returned job ID.
  • list_record_versions: Retrieve a page of a record's saved versions to inspect content history, version IDs, and publication metadata.
  • list_fields: List the fields of a content model or block model, including field IDs, API keys, types, validators, and editor settings.

Write tools (8)

  • manage_field: Create, update, or delete fields on a content model. Needs action.
  • manage_environment: List, fork, promote, or delete sandbox environments. Needs action.
  • manage_upload: Get, update, or delete a media asset (upload). Needs action and uploadId.
  • update_record: Update an existing content record's field values. Needs recordId and fields.
  • manage_build_trigger: List, create, update, delete, or fire build triggers. Needs action.
  • manage_model: Get, create, update, or delete a content model (item type). Needs action.
  • create_record: Create a new content record for a given model. Needs modelId and fields.
  • publish_record: Publish or unpublish a content record. Needs recordId and action.

Destructive tools (1)

  • delete_record: Permanently delete a content record by its ID. Needs recordId.

Triggers

Dato CMS has 5 triggers, which fire on events in Dato CMS:

  • build_events: Triggers when deployment builds start, succeed, or fail for configured build triggers.
  • environment_events: Triggers when environment-related deployment operations start, succeed, or fail.
  • record_events: Triggers when content records are created, updated, deleted, published, or unpublished.
  • model_events: Triggers when content models are created, updated, or deleted.
  • upload_events: Triggers when media assets (uploads) are created, updated, or deleted.

Next steps