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.
Used by 2,000+ marketers
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.
- 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
- 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
- 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
- 4sanity-io/sanity-mcp-serverLocal
Who it is for: Nobody new: archived
Sanity access: Retired in favor of the remote server
Price: Free, archived
| # | Option | Runs | Who it is for | Sanity access | Price |
|---|---|---|---|---|---|
| 1 | Sanity official MCP | Hosted by Sanity | Developers and editors working in a project | Content, schemas, releases, assets, projects and datasets | No Sanity charge listed on the page; AI image tools use credits |
| 2 | Ryze AI MCP | Hosted | Marketers publishing blog documents | 3 sanity tools: GROQ query, mutate, delete in one dataset | From $129 a month with SEO Starter, 3-day free trial |
| 3 | Sanity Context MCP | Hosted by Sanity | Teams building read-only answer agents | Read-only GROQ and Knowledge Base search | Organization plan sets Knowledge Base limits |
| 4 | sanity-io/sanity-mcp-server | Local | Nobody new: archived | Retired in favor of the remote server | 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.
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
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
Sanity Context MCP
- Runs
- Hosted by Sanity
- Sanity reads
- GROQ and Knowledge Base search
- Sanity writes
- None, read-only
- Guardrail
- Read-only by design
sanity-mcp-server (archived)
- Runs
- Local
- Sanity reads
- Not maintained
- Sanity writes
- Not maintained
- Guardrail
- Not applicable
| Option | Runs | Sanity reads | Sanity writes | Guardrail |
|---|---|---|---|---|
| Sanity official MCP | Hosted by Sanity | Documents, schemas, releases, assets, projects | Yes, including schema deploys | Your token or OAuth role; releases available |
| Ryze AI MCP | Hosted | GROQ over published and draft documents | Create, replace, patch with dry run; delete by id | Needs approval per tool in Claude |
| Sanity Context MCP | Hosted by Sanity | GROQ and Knowledge Base search | None, read-only | Read-only by design |
| sanity-mcp-server (archived) | Local | Not maintained | Not maintained | 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.
Official MCP server
- What it is
- Remote server at https://mcp.sanity.io, OAuth or API token, for content, schemas, releases and assets
- Link
- Sanity MCP
Context MCP
- What it is
- Read-only endpoints created in the Dashboard Context app
- Link
- Context docs
Agent toolkit
- What it is
- MCP server, agent skills, plugin manifests for Claude Code, Cursor and Codex, and slash commands
- Link
- GitHub
| Sanity resource | What it is | Link |
|---|---|---|
| Official MCP server | Remote server at https://mcp.sanity.io, OAuth or API token, for content, schemas, releases and assets | Sanity MCP |
| Context MCP | Read-only endpoints created in the Dashboard Context app | Context docs |
| Agent toolkit | MCP server, agent skills, plugin manifests for Claude Code, Cursor and Codex, and slash commands | 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:
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
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
Mutation payload
- What the page says
- 4 MB request body, 32 MB document
- What it means for an agent
- Very long documents need trimming
Execution time
- What the page says
- Queries 1 minute, mutations 3 minutes
- What it means for an agent
- Heavy GROQ joins can time out
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
| Limit | What the page says | What it means for an agent |
|---|---|---|
| Mutation rate | 25 requests per second per IP, 100 concurrent mutations per dataset | Bulk edits should be batched |
| Query rate | 500 requests per second per IP, 500 concurrent queries per dataset | Rarely reached by a chat assistant |
| Mutation payload | 4 MB request body, 32 MB document | Very long documents need trimming |
| Execution time | Queries 1 minute, mutations 3 minutes | Heavy GROQ joins can time out |
| Official MCP results | Query results over 64 KiB are rejected; 25 documents per patch call | 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.
A server with no query tool cannot answer.
This checks whether the server can see drafts as well as published content.
A dry run validates without writing; with Needs approval set in Claude, the write call waits for your click.
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?
Does Sanity have an official MCP server?
Which Sanity tools does Ryze AI have?
How do I connect Sanity to Ryze AI?
Show 7 more questionsShow fewer questions
Can the agent change my Sanity dataset?
Can I require approval before changes?
Does it work in Claude and ChatGPT?
Can I use Sanity's official server and Ryze AI together?
Does Ryze AI publish articles to Sanity automatically?
What limits does the Sanity API have?
Why was my token rejected?
Related guides
Sanity MCP server
The Ryze AI Sanity tools, setup per client and errors.
Best MCP for WordPress
WordPress MCP servers compared on access, writes and guardrails.
Best MCP for Webflow
Webflow MCP servers compared on CMS access and writes.
All Ryze AI integrations
Every platform the Ryze AI connector supports.




