Sanity MCP server icon

Sanity

by Sanity

HIPAA CompliantSOC2 ReadyISO 27001 Ready
Developer Tools31 tools

Query, create, publish and release structured content. 31 tools, one OAuth scope named global, and tools that deploy schemas, discard drafts, 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.

Use in Agentman

Connect Sanity 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

Sanity Tools & Capabilities (31)

add_cors_origin
create_dataset
create_documents_from_json
create_documents_from_markdown
create_project
create_version
deploy_schema
discard_drafts
get_document
get_project_studios
get_sanity_rules
get_schema
list_datasets
list_embeddings_indices
list_organizations
list_projects
list_sanity_rules
list_workspace_schemas
migration_guide
patch_document_from_json
patch_document_from_markdown
publish_documents
query_documents
read_docs
search_docs
semantic_search
unpublish_documents
update_dataset
version_discard
version_replace_document
version_unpublish_document

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

Ready to connect Sanity?

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