Sanity MCP Server (Official)

Official Sanity MCP server enabling AI agents to interact with Sanity's headless CMS platform — querying content using GROQ, creating and updating documents, managing assets, and integrating Sanity's real-time content graph into agent-driven content operations and publishing workflows.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Developer Tools sanity cms headless-cms mcp-server official groq-query content-management
⚙ Agent Friendliness
84
/ 100
Can an agent use this?
🔒 Security
86
/ 100
Is it safe for agents?
⚡ Reliability
84
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
84
Documentation
88
Error Messages
82
Auth Simplicity
85
Rate Limits
80

🔒 Security

TLS Enforcement
100
Auth Strength
82
Scope Granularity
80
Dep. Hygiene
85
Secret Handling
82

HTTPS enforced. Role-based project-scoped tokens. SOC 2, GDPR. Official MCP server. Use viewer token for read-only agents.

⚡ Reliability

Uptime/SLA
88
Version Stability
85
Breaking Changes
82
Error Recovery
82
AF Security Reliability

Best When

An agent needs to query or manage Sanity structured content — especially with GROQ queries or real-time content operations.

Avoid When

You're using Contentful, Strapi, or another headless CMS — or if GROQ query language is a barrier.

Use Cases

  • Querying Sanity content using GROQ from data retrieval agents
  • Creating and updating structured documents from content management agents
  • Managing image and file assets from media management agents
  • Publishing and scheduling content from editorial workflow agents
  • Querying content relationships and references from graph traversal agents
  • Migrating and transforming content datasets from data engineering agents

Not For

  • Teams using Contentful, Strapi, or other headless CMS platforms
  • Traditional CMS users without structured content needs
  • Non-content use cases

Interface

REST API
Yes
GraphQL
Yes
gRPC
No
MCP Server
Yes
SDK
Yes
Webhooks
Yes

Authentication

Methods: api_key
OAuth: No Scopes: Yes

Sanity API tokens with viewer/editor/deploy roles. Project-scoped tokens. Read-only vs read-write tokens available. Token associated with specific Sanity project.

Pricing

Model: usage-based
Free tier: Yes
Requires CC: No

Generous free tier. API request based pricing on paid plans. Asset storage separate. Sanity is developer-friendly with excellent free tier. MCP server is open source official.

Agent Metadata

Pagination
none
Idempotent
Full
Retry Guidance
Documented

Known Gotchas

  • GROQ is Sanity's proprietary query language — agents need to know GROQ syntax
  • Project ID + dataset name required for all operations — manage per-environment
  • Draft documents vs published documents are separate in Sanity — check both
  • Mutations (create/update/delete) use a specific patch/set/unset syntax
  • Real-time listeners require WebSocket connections — not all MCP transports support this
  • Image and file assets must be uploaded separately before referencing in documents

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Sanity MCP Server (Official).

$99

Scores are editorial opinions as of 2026-03-06.

5220
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered