Ira Bodnar··Updated ·8 min read

Best Sanity MCP server: the options that exist in 2026

Quick answer: Ryze AI is the best Sanity MCP for querying and publishing blog documents from Claude or ChatGPT with an API token and no local setup, but Sanity's own server is the better pick for schemas, releases, assets and project work. On November 16, 2026 Sanity documents an official remote server at https://mcp.sanity.io.

Below: every option checked, Sanity's own servers, limits to expect and test prompts.

Ryze AI · SEO Starter

Sanity documents from a chat

  • 3-day free trial, $129 a month

Used by 2,000+ marketers

Uber Eats logoadidas logoDuolingo logoMGM Resorts logoWharton logoLendingClub logoNorton logoEventbrite logoHuel logoTogether AI logoghd logoHack The Box logo

The best Sanity MCP server at a glance

Ranked for teams who want an AI assistant to work on their own Sanity project. Rows 1 to 3 are MCP servers; row 4 is a retired repository that still appears in searches.

  1. 1Sanity official MCPHosted by Sanity

    Who it is for: Developers and editors working in a project

    Sanity access: Content, schemas, releases, assets, projects and datasets

    Price: No Sanity charge listed on the page; AI image tools use credits

  2. 2Ryze AI MCPHosted

    Who it is for: Marketers publishing blog documents

    Sanity access: 3 sanity tools: GROQ query, mutate, delete in one dataset

    Price: From $129 a month with SEO Starter, 3-day free trial

  3. 3Sanity Context MCPHosted by Sanity

    Who it is for: Teams building read-only answer agents

    Sanity access: Read-only GROQ and Knowledge Base search

    Price: Organization plan sets Knowledge Base limits

  4. 4sanity-io/sanity-mcp-serverLocal

    Who it is for: Nobody new: archived

    Sanity access: Retired in favor of the remote server

    Price: Free, archived

Row 4 is listed because it ranks for the query. Its repository description says to use the remote server instead.

How these Sanity MCP servers were checked

Each option was checked on November 16, 2026 against Sanity's documentation, GitHub and the Ryze AI help center. No Sanity project data was used.

  • Search: GitHub repository searches for a Sanity MCP server were sorted by stars. The results beyond Sanity's own repositories were demos, a WordPress migration tool and an unrelated checker, so they were left out.
  • Sanity docs: the Sanity MCP server page documents the official server and the Context MCP page documents the read-only one.
  • Ranking axis: whether the server can read and change a real Sanity dataset, then the guardrails around writes, then setup effort and maintenance.
  • Disclosure: Ryze AI publishes this page. Sanity's official server covers far more of a project than Ryze AI does, and the table says so.

GitHub numbers change daily. Re-check stars and last push before you rely on any repository.

The servers, one by one

1. Sanity official MCP

A remote MCP server run by Sanity at https://mcp.sanity.io. Sanity lists it for Claude Code, Cursor, VS Code, Lovable, Replit, v0 and OpenCode, with other clients reachable through a proxy (Sanity MCP server page). The agent toolkit repository (198 stars, MIT, last push November 10, 2026) bundles it with agent skills and plugin manifests.

Access

Per Sanity's page: documents, schemas, releases, media assets, projects and datasets. The tool list runs past 100 tools, for example create_documents, patch_documents, query_documents, publish_documents, deploy_schema, create_release and list_projects.

Writes

Yes. Sanity documents document creation and patching, schema deploys and releases.

Limits

Sanity states that query results over 64 KiB are rejected, a patch call handles at most 25 documents and asset uploads are capped at 50 MiB.

Setup

OAuth by default, or an API token in the Authorization header. The command npx sanity@latest mcp configure sets up Cursor, Claude Code or VS Code.

Price

The Sanity page lists no plan requirement. Its AI image tools, generate_image and transform_image, consume credits.

2. Ryze AI MCP

A hosted MCP server you add to Claude or ChatGPT through one connector URL, https://connector.get-ryze.ai/mcp. Sanity connects with a project ID and an API token with Editor permissions. The same agent runs in the Ryze AI chat, where Content Plan articles publish as documents in the dataset. Disclosure: Ryze AI publishes this page.

Sanity tools

3: sanity__query, sanity__mutate and sanity__delete.

Reads

Runs a GROQ query against the connected dataset, over published documents, drafts or both.

Writes

Runs create, createOrReplace, createIfNotExists or patch mutations in one transaction. A plain document id publishes immediately, a drafts. id leaves a draft, and a dry run validates without writing. A separate tool deletes documents by id.

Limits

One project and dataset per workspace. No schema deploys, releases or project settings. The token must be Editor; a Viewer token is rejected.

Guardrail

In Claude, set write and delete tools to Needs approval under Customize > Connectors > Ryze AI. The Ryze AI chat starts on Skip all approvals; switch it to Approve write & delete or Manual approve.

Price

Connecting is free; the tools need a plan or trial. SEO Starter is $129 a month with a 3-day free trial.

Tool list, setup per client and errors are on the Sanity MCP page; the Ryze AI Sanity guide covers the token.

3. Sanity Context MCP

A hosted, read-only knowledge layer. Per Sanity, agents connect to MCP endpoints created in the Context app of the Sanity Dashboard, and the endpoint cannot create or update documents (Context docs).

Auth

An organization API token with Context Viewer permissions. Editor is needed only if the agent records conversations in Insights.

Access

Dataset sources allow GROQ queries and schema access; Knowledge Base sources allow keyword search and topic navigation.

Fit

Answer agents that quote your content, such as a support or shopping assistant. It cannot publish.

Price

Sanity says the organization plan sets how many Knowledge Bases and source chunks you get.

4. sanity-io/sanity-mcp-server (archived)

The earlier local server (GitHub, 70 stars, archived, last push February 6, 2026). Its description reads: Deprecated, use the remote MCP server at https://mcp.sanity.io instead.

Access

Not applicable for new setups; the repository is read-only.

Why it is here

It still appears in search results for the query.

Price

Free.

Side by side: Sanity access, writes and guardrails

What each option reads, what it changes and what stands between the assistant and a live dataset.

  1. Sanity official MCP

    Runs
    Hosted by Sanity
    Sanity reads
    Documents, schemas, releases, assets, projects
    Sanity writes
    Yes, including schema deploys
    Guardrail
    Your token or OAuth role; releases available
  2. Ryze AI MCP

    Runs
    Hosted
    Sanity reads
    GROQ over published and draft documents
    Sanity writes
    Create, replace, patch with dry run; delete by id
    Guardrail
    Needs approval per tool in Claude
  3. Sanity Context MCP

    Runs
    Hosted by Sanity
    Sanity reads
    GROQ and Knowledge Base search
    Sanity writes
    None, read-only
    Guardrail
    Read-only by design
  4. sanity-mcp-server (archived)

    Runs
    Local
    Sanity reads
    Not maintained
    Sanity writes
    Not maintained
    Guardrail
    Not applicable

Free does not mean lower risk. A token with Editor rights can change any document in the dataset, whichever server holds it.

Sanity's own options: official MCP, Context MCP and toolkit

Sanity documents a hosted MCP server, a read-only Context MCP and an open source toolkit.

  1. Official MCP server

    What it is
    Remote server at https://mcp.sanity.io, OAuth or API token, for content, schemas, releases and assets
  2. Context MCP

    What it is
    Read-only endpoints created in the Dashboard Context app
  3. Agent toolkit

    What it is
    MCP server, agent skills, plugin manifests for Claude Code, Cursor and Codex, and slash commands
    Link
    GitHub

The official server and the Ryze AI server can be connected to the same assistant. Use Sanity's for schema, release and asset work and Ryze AI's for Content Plan articles and GROQ queries in a chat.

Sanity limits every Sanity MCP server runs into

The Sanity pages checked on November 16, 2026 state these points:

  1. Mutation rate

    What the page says
    25 requests per second per IP, 100 concurrent mutations per dataset
    What it means for an agent
    Bulk edits should be batched
  2. Query rate

    What the page says
    500 requests per second per IP, 500 concurrent queries per dataset
    What it means for an agent
    Rarely reached by a chat assistant
  3. Mutation payload

    What the page says
    4 MB request body, 32 MB document
    What it means for an agent
    Very long documents need trimming
  4. Execution time

    What the page says
    Queries 1 minute, mutations 3 minutes
    What it means for an agent
    Heavy GROQ joins can time out
  5. Official MCP results

    What the page says
    Query results over 64 KiB are rejected; 25 documents per patch call
    What it means for an agent
    Ask for fewer fields or smaller batches

These are Sanity's numbers for its API and its own MCP server; Ryze AI does not publish whether its tools apply the same caps. On the Ryze AI side, each workspace holds one Sanity connection tied to one project and dataset, and the dataset needs at least one published post of the chosen type.

How to choose a Sanity MCP server

Start from the job: build a project or publish content.

You change schemas or manage releases

Sanity official MCP

It is the only option here that documents schema deploys, releases and project tools.

You publish blog documents

Ryze AI MCP

Queries with GROQ and creates, patches or deletes documents from Claude or ChatGPT. Details: Sanity MCP page.

You build a read-only answer agent

Sanity Context MCP

It cannot write, which suits a public-facing assistant.

For similar comparisons, see the best MCP for WordPress and the best MCP for Webflow.

Prompts to test a Sanity MCP server

Run these read-only prompts first.

Query
Run a GROQ query that lists the title and slug of my most recent published posts. Do not change anything.

A server with no query tool cannot answer.

Drafts
Query drafts and published documents of type post and tell me which documents have an unpublished draft.

This checks whether the server can see drafts as well as published content.

Dry run
Prepare a patch that changes the title of the post [slug] to [new title], run it as a dry run and wait for my approval before writing.

A dry run validates without writing; with Needs approval set in Claude, the write call waits for your click.

Draft id check
Create the new post as a draft, not a published document, and tell me which document id you used.

You see whether the assistant keeps drafts and live content separate.

Safety checklist before you connect Sanity

  • Use a dedicated token. For Ryze AI, create an Editor token under API > Tokens at sanity.io/manage and delete it there when you stop.
  • Require approval. In Claude, set write and delete tools to Needs approval. In the Ryze AI chat, switch Tool approvals away from Skip all approvals.
  • Know what a plain id does. In the Ryze AI mutate tool a plain document id publishes immediately, while a drafts. id leaves a draft. Ask for drafts first.
  • Remember the token's reach. The agent tools run with an Editor token and can change any document in the dataset, not only documents Ryze AI created.
  • Check the publishing mode. Article publishing follows Publishing mode in SEO > Preferences > Publishing: Automatic (default) or Manual.
  • Read-only first. Ask for a GROQ query before any write.

Setup, ChatGPT plan requirements and errors are on the Sanity MCP page. Other platforms are on the developers page and pricing.

Sources

The verdict

For schema, release and asset work, use Sanity's official server. For querying and publishing blog documents from Claude or ChatGPT with an Editor token, Ryze AI covers GROQ, mutations and deletes through 3 tools. For a read-only answer agent, Context MCP fits. The archived local server should not be used for new setups.

Frequently asked questions

What is the best Sanity MCP server?
It depends on the job. Sanity's official server at https://mcp.sanity.io covers content, schemas, releases and assets. Ryze AI covers GROQ queries, mutations and deletes in one dataset through 3 tools. Context MCP is read-only.
Does Sanity have an official MCP server?
Yes. Sanity's documentation lists a remote server at https://mcp.sanity.io that connects with OAuth or an API token. Checked November 16, 2026.
Which Sanity tools does Ryze AI have?
Three: sanity__query, sanity__mutate and sanity__delete. They run GROQ queries, create, replace or patch documents, and delete documents by id. They do not deploy schemas or manage releases.
How do I connect Sanity to Ryze AI?
At sanity.io/manage copy the Project ID and create an API token with Editor permissions. In Ryze AI open Integrations, click Connect on the Sanity card, enter the Project ID, the token, an optional dataset and the Blog URL, then pick the document type.
Show 7 more questions
Can the agent change my Sanity dataset?
Yes. Through Ryze AI it can create, replace or patch documents, as published documents or drafts, and delete documents by id. A plain document id publishes immediately.
Can I require approval before changes?
In Claude, set write and delete tools to Needs approval under Customize > Connectors > Ryze AI. In the Ryze AI chat, Tool approvals starts on Skip all approvals; switch it to Approve write & delete or Manual approve.
Does it work in Claude and ChatGPT?
Yes, through the Ryze AI connector. Claude custom connectors are available on Free, Pro, Max, Ultra, Team and Enterprise plans. In ChatGPT, OpenAI lists full custom MCP support for Business and Enterprise/Edu, and read and fetch only for Pro.
Can I use Sanity's official server and Ryze AI together?
Both are remote MCP servers with their own connection, so an assistant that supports several connectors can use them side by side. Sanity's server covers schema and release work; Ryze AI covers blog documents.
Does Ryze AI publish articles to Sanity automatically?
Content Plan articles publish as documents of your blog post type. Publishing mode in SEO > Preferences > Publishing is Automatic by default and can be set to Manual.
What limits does the Sanity API have?
Sanity lists 25 mutation requests per second per IP and 500 query requests per second per IP, a 4 MB mutation body and a 1 minute query limit. Its own MCP server rejects query results over 64 KiB.
Why was my token rejected?
Ryze AI needs Editor permissions. A Viewer token cannot publish and is rejected at connect. Create a new token under API > Tokens at sanity.io/manage.

Related guides

Ryze AI: Sanity MCP tools

3-day free trial, $129 a month

Start free trial