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.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
HTTPS enforced. Role-based project-scoped tokens. SOC 2, GDPR. Official MCP server. Use viewer token for read-only agents.
⚡ 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
Authentication
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
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
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).
Scores are editorial opinions as of 2026-03-06.