• SCHEMA
  • DATA
  • GAP
  • HUMAN

How to audit content models with your AI

Connect DatoCMS to your AI client once. From there, your agent can pull your entire schema and record list to check for errors.

Ask AI about this page

Short answer

How can I audit my DatoCMS content models using AI?

Your AI pulls your model definitions and record lists to identify structural gaps or data mismatches. You'll get a clear map of your schema and the actual content living inside it.

Audit outcomes.

Where your findings land.

The AI processes your CMS data into these specific views.

SCHEMA

Model inventory

The AI lists every model in your project. You'll see exactly which content types are registered and how they are organized.

DATA

Record inspection

The agent pulls specific records to check if the actual content matches your intended model structure.

GAP

Missing field detection

By comparing models against existing records, the AI flags where required fields are empty or missing.

HUMAN

Manual fixes

The AI identifies the issues, but you must go into the DatoCMS UI to actually change the model or edit the content.

The workflow

What your AI does when the request arrives.

The AI uses specific tools to map your CMS environment.

  1. Map the schema

    The agent identifies all the content models you have set up in your project.

    list_global_models
  2. Fetch content

    The AI pulls the actual data entries for the models it just identified.

    list_cma_records
  3. Compare structures

    Your agent looks for discrepancies between what the model requires and what the records actually contain.

    list_global_modelslist_cma_records
  4. Report findings

    The AI summarizes the structural health of your project in your chat window.

    list_cma_records

Try it

Copy these to start.

Use these prompts to kick off an audit.

Starting points

These are basic prompts. Swap out the specific model names for the ones you actually use in your project.

DatoCMS Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_kqbiRIDEEpzmpnqcg7HU2AYruJAL07EBAujlMqZU/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — DatoCMS capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "datocms-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_kqbiRIDEEpzmpnqcg7HU2AYruJAL07EBAujlMqZU/mcp"
    }
  }
}
Copy into chat04
  • List all my DatoCMS models and tell me if any look incomplete.

  • Check the 'Article' model and see if all records have a published date.

  • Compare my 'Product' model structure against the existing product records.

  • Find all models that don't have any records associated with them.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect DatoCMS once, then ask.

One connection gives your AI access to your CMS. Your credentials stay encrypted, and you can find the full tool list on the DatoCMS Connector page.

Connect DatoCMS to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change my content models?

    No. The AI can only read your models and records. You have to make any structural changes manually in DatoCMS.

  • 02

    Can the AI delete records for me?

    No. This MCP only provides tools to list models and records. It cannot delete or modify any data.

  • 03

    Does the AI see all my data?

    The AI only sees the data it requests through the specific tools provided in the manifest.

  • 04

    How does it know if a field is missing?

    It compares the model definition against the actual records it pulls to see if required fields are empty.

  • 05

    Can I use this with any AI client?

    Yes, as long as your client is MCP-compatible, like Claude, Cursor, or Windsurf.

  • More questions about DatoCMS? See everything the DatoCMS Connector can do

Connect DatoCMS to Claude, Cursor, ChatGPT & more