Datocms MCP server

Connect Datocms to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Datocms MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the manage field tool in Datocms
  • Use the delete record tool in Datocms
  • Use the list models tool in Datocms
  • Use the manage environment tool in Datocms
  • Use the manage upload tool in Datocms
  • Use the get record tool in Datocms

Supported Tools

manage_field

Manage Field

Create, update, or delete fields on a content model. Fields define the structure and types of data that records can hold. Supported types include string, text, integer, float, boolean, date, date_time, json, file, gallery, link, links, rich_text, structured_text, slug, seo, color, lat_lon, video, and more.

delete_record

Delete Record

Permanently delete a content record by its ID. This action cannot be undone.

list_models

List Models

List all content models (item types) defined in the project. Returns model names, API keys, field configuration, and settings like draft mode and localization.

manage_environment

Manage Environment

List, fork, promote, or delete sandbox environments. Environments allow safe schema migrations and testing before going live. Forking creates a full copy of an existing environment.

manage_upload

Manage Upload

Get, update, or delete a media asset (upload). Use this to inspect upload details, update metadata (tags, copyright, alt text), or remove an asset.

get_record

Get Record

Retrieve a single content record by its ID, including all field values and metadata.

get_site_info

Get Site Info

Retrieve project site information including name, domain, locales, timezone, global SEO settings, and other configuration details.

list_records

List Records

List and search content records in a DatoCMS project. Filter by model type, text query, or specific record IDs. Supports pagination and sorting.

update_record

Update Record

Update an existing content record's field values. Only provide the fields you want to change; omitted fields remain untouched. For localized fields, you must provide all locale values (not just the changed ones).

manage_build_trigger

Manage Build Trigger

List, create, update, delete, or fire build triggers. Build triggers connect to hosting providers (Vercel, Netlify, etc.) to automatically deploy when content changes. Use the "trigger" action to manually start a deployment.

search_site

Search Site

Search the published website using DatoCMS built-in site search. Returns matching pages with titles, URLs, body excerpts, and relevance scores. Requires an enabled search index.

manage_model

Manage Model

Get, create, update, or delete a content model (item type). Models define the structure of content records. Use this to inspect a model's configuration or modify the content schema.

create_record

Create Record

Create a new content record for a given model. Provide field values matching the model's schema. Localized fields should use an object with locale keys (e.g. `{"en": "Hello", "it": "Ciao"}`).

publish_record

Publish or Unpublish Record

Publish or unpublish a content record. Publishing makes the record available via the Content Delivery API. Unpublishing reverts it to draft status.

list_uploads

List Uploads

List media assets (uploads) in the project. Supports filtering by type and text search, with pagination.

get_job_result

Get Job Result

Check the result of an asynchronous content or schema operation using its returned job ID. A missing result means the job may still be running, or the ID may be invalid or unavailable.

list_record_versions

List Record Versions

Retrieve a page of a record's saved versions to inspect content history, version IDs, and publication metadata.

list_fields

List Fields

List the fields of a content model or block model, including field IDs, API keys, types, validators, and editor settings.

Connect Datocms to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Datocms in Metorial. In your Metorial portal, enable the Datocms MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Datocms tools.

Run Datocms through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Datocms and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Datocms tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Datocms

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Technical notes for Datocms

Create, update, publish, unpublish, and delete structured content records in a headless CMS. Manage content models, fields, and schemas programmatically. Upload, organize, and deliver media assets with optimization and tagging. Query content via a GraphQL Content Delivery API with support for drafts, localization, and real-time updates. Manage sandbox and primary environments, fork and promote environments for safe migrations. Configure build triggers to deploy to hosting providers like Vercel and Netlify. Manage roles, API tokens, collaborators, and permissions. Search published website content via built-in site search.

Frequently asked questions

Common questions about connecting Datocms to AI agents with Metorial.

  1. How many tools does the Datocms MCP server have?
    The Datocms MCP server exposes 18 tools, including Manage Field, Delete Record, List Models. Each one is governed and traced through Metorial.
  2. Datocms exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Datocms MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Datocms and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Datocms MCP server yourself or use the hosted gateway.

Connect Datocms to production AI agents

See how Metorial gives your team governed access to Datocms, with tracing and security controls built in.