Sanity MCP server icon

Sanity

by Sanity

Developer Tools31 tools

Query, create, publish and release structured content from your AI assistant. 31 tools, OAuth sign-in with a single scope named global, and tools that deploy schemas, discard drafts and widen CORS.

Verified connector

Listed by Anthropic as a partner connector in its Connectors Directory.

Connection checked by Agentman on .

Anthropic states this reflects the level of review a connector received, not a security audit.

Connect Sanity via MCP

https://mcp.sanity.io

Works in any MCP-compatible client. In Agentman Studio it is one click — no config file to edit.

Sanity Tools & Capabilities (31)

Tool names from Anthropic's directory listing. This server requires sign-in, so we could not read tool descriptions or parameter schemas.

Frequently asked questions

Does the Sanity MCP server require a paid plan?

No. Sanity's documentation lists only two prerequisites: an MCP-compatible client and a Sanity account. Projects default to a free plan. Plans do gate related capabilities rather than the connector itself: Editor and Developer roles need Growth or Enterprise, and document history retention runs 3 days on Free, 90 on Growth and 365 on Enterprise.

Can I use an API token instead of OAuth?

Yes. Sanity's documentation states you may set an Authorization header in your MCP config, and that when configured this way the server will not use OAuth. Tool calls then run under that token's role and permissions. We verified the OAuth path live on 2026-08-18: an anonymous request returned HTTP 401 with a Bearer challenge naming the server's resource descriptor.

Why does my Sanity MCP connection keep asking me to sign in again?

OAuth sessions expire. Sanity's troubleshooting states sessions typically expire after seven days and your client should prompt you to re-authenticate. If it gets stuck, Sanity documents a per-client reset: in VS Code run Authentication: Remove Dynamic Authentication Providers, and in Cursor run Cursor: Clear All MCP Tokens from the Command Palette.

Can I recover a draft after discard_drafts deletes it?

Not through the connector. Sanity's own release documentation states that when existing drafts are discarded, unpublished draft changes are lost. No undiscard, restore or undo tool exists in either published tool list. Published documents are untouched, and history retention covers revisions of documents that still exist rather than resurrecting a deleted draft.

Do Sanity MCP tools consume AI credits?

Most do not. Sanity's documentation states most MCP tools are standard API calls that don't consume AI credits, and names three that do: generate_image, transform_image, and create_version when the instruction parameter is provided. Sanity prices each AI credit at $0.05 and gives every organization a free monthly allowance. You can disable those tools in your client.

What does adding a CORS origin actually allow?

It lets browser JavaScript on that domain call your project's API. Sanity's CORS documentation adds a second decision: allowing credentials lets a matching origin send authenticated requests using the token or session of any logged-in visitor. Sanity warns never to add a platform-wide wildcard with credentials, because any site on that platform could then act as your logged-in users.

Does creating a Sanity project through the connector cost money?

Not directly. Sanity states all projects are on a plan, by default a free plan, and that paid plans require the project to belong to an organization that holds the payment method. Free projects allow no overages and are hard-capped instead. Datasets and documents are metered quotas, so created objects still count toward your existing project's limits.

Is the Sanity MCP tool list the same for every account?

Broadly yes, but Sanity does not guarantee it. Sanity's troubleshooting states that the set of available tools may vary as it releases updates to the MCP server, and that missing tools can also mean your account lacks permission for the project or dataset. Nothing in the documentation generates a tool per project or dataset.

Use in Agentman

Connect once and your agents call these tools on their own — on a schedule, in a workflow, with nobody at the keyboard.

Open in Agentman Studio

Server Info

Category
Developer Tools
Developer
Sanity
Tools
31
Domain
mcp.sanity.io

Using Claude Desktop or another MCP client? Setup docs — the connection URL above works anywhere.