Skip to content

Set up the Sanity MCP server

Query Sanity content and schemas in your AI client, then create, patch, or publish documents.

Official · Sanity

Add it to your client

  1. 01

    In the AI panel, open Customize › Connections.

  2. 02

    Choose Add connection, then select Sanity from the gallery.

  3. 03

    Review what it reads and can change, its plan requirements, and any usage charges. Then sign in.

What you can do

  • Read documents and schemas in a project or dataset.

  • Create or patch documents with schema validation.

  • Publish or unpublish documents.

  • Deploy schemas and create releases.

Try asking

“Read the schema for this document type.”

What it can change

Can create, patch, publish, and unpublish documents, deploy schemas, and create releases. API-token access follows the token’s role and permissions.

Review the available tools

Connect the server to see its available tools in your client.

Try Pro free for 14 days

Every new account gets the trial with no card, then moves to Free and keeps its data. For Mac and Windows.