Key Takeaways
Sanity API access: Yes, free, Growth, and Enterprise.
Sanity MCP server: Official, hosted, OAuth by default, or Bearer API token.
Sanity pricing and limits: Most MCP tools are standard API calls and do not consume AI credits. generate_image and transform_image consume AI credits.
Sanity connects with
Claude Code,
Cursor,
VS Code.
You want an agent to query and manage the content in your
Sanity projects. Sanity includes API capacity on its Free plan, and its official hosted MCP server uses OAuth by default; most MCP tools use standard API calls rather than AI credits.
For full seat pricing, plan limits and team workflows beyond developer endpoints, read our Sanity review or compare category peers in Website Builders & CMS tools with an API.
What does the Sanity API include?
Sanity provides API access on Free, Growth, and Enterprise using Bearer API token for private, draft, or write requests.
| What you need to know | Detail |
|---|---|
| Plan that includes it | Free, Growth, and Enterprise |
| What it costs | Free includes 250,000 API requests and 1 million API CDN requests per month. Growth charges $1 per additional 25,000 API requests and $1 per additional 250,000 API CDN requests. |
| Sign-in | Bearer API token for private, draft, or write requests |
| Rate limits | 25 mutations/s and 25 uploads/s per IP; 500 global API calls/s per IP; cached CDN responses are unlimited. Per dataset: 500 concurrent queries and 100 concurrent mutations. |
| OpenAPI file | Yes |
| Official SDKs | JavaScript, TypeScript |
| Webhooks | Yes |
| Docs | API documentation |
What you can do with it
- Query Content Lake with GROQ
- Create, edit, and delete documents transactionally
- Manage document and transaction webhooks
What it does not cover
- Use the CDN for draft or release perspectives
- Run
Sanity Studio schema validation rules on API mutations
Sources:PricingHTTP API referenceTechnical limitsAuthentication and tokensWebhooks API reference
How does the Sanity MCP server work?
Sanity supports an official hosted MCP server authenticated with OAuth by default, or Bearer API token.
| What you need to know | Detail |
|---|---|
| Who makes it | Official, run by |
| Where it runs | Hosted by the vendor, nothing to install |
| Address or package | https://mcp.sanity.io |
| Sign-in | OAuth by default, or Bearer API token |
| Usage | Most MCP tools are standard API calls and do not consume AI credits. generate_image and transform_image consume AI credits. |
| Works with |
Before you connect it
- OAuth makes requests on your behalf, while API-token calls are limited to that token's role and permissions.
- The server can create, patch, and publish documents, so a connected agent can change content.
- Custom validation rules are skipped when documents are changed through MCP.
See how sibling tools handle programmatic connections in MCP servers for website builders & cms tools.
Sources:Sanity MCP server
Which MCP tools does Sanity expose?
The
Sanity MCP server exposes 5 documented MCP tools for connected AI clients.
| Tool | What it does | Access |
|---|---|---|
query_documents | Runs a GROQ query against documents | Read only |
get_document | Fetches one document by its exact ID | Read only |
create_documents | Creates documents from structured content | Changes data |
patch_documents | Updates existing documents with patch operations | Changes data |
publish_documents | Publishes one or more drafts | Changes data |
How do you connect Sanity to your AI app?
Sanity documents direct connection steps for
Claude Code,
Cursor,
VS Code.
Claude Code
- Run claude mcp add
Sanity -t http https://mcp.sanity.io --scope user. - Start
Claude Code and authenticate with OAuth when prompted.
Cursor
- Open the Command Palette and choose View: Open MCP Settings.
- Create a server with type http and URL https://mcp.sanity.io.
- Save the configuration and authorize access with OAuth.
VS Code
- Open the Command Palette and run MCP: Open User Configuration.
- Add a server with type http and URL https://mcp.sanity.io, then save.
- Authenticate with OAuth when
VS Code prompts you.
How did we check Sanity API and MCP access?
Sanity verification summary: Every fact comes from the vendor's own pricing, documentation and help pages, read on the date shown. Last checked 27 Nov 2026 following how we check figures and our AI agent readiness study.
Sources:PricingHTTP API referenceTechnical limitsAuthentication and tokensWebhooks API referenceSanity MCP server
What are common questions about Sanity API and MCP?
Which Sanity plan includes API access?
The pricing table lists API and API CDN request allowances for Free, Growth, and Enterprise. Free includes 250,000 API requests and 1 million API CDN requests per month.
What does Sanity charge for API overages?
On Growth, additional API requests cost $1 per 25,000 and additional API CDN requests cost $1 per 250,000. Most MCP tools use standard API calls without consuming AI credits; generate_image and transform_image consume AI credits.
Can a Sanity MCP connection change live content?
Yes. The documented server includes tools to create and patch documents and to publish drafts. OAuth acts on your behalf, while an API token is limited to its role and permissions.