Sanity MCP Server
Manage your Sanity Content Lake via AI — execute GROQ queries, manage documents, and handle media assets directly from your agent.
Ask AI about this MCP Server
Vinkius supports streamable HTTP and SSE.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
What is the Sanity MCP Server?
The Sanity MCP Server gives AI agents like Claude, ChatGPT, and Cursor direct access to Sanity via 10 tools. Manage your Sanity Content Lake via AI — execute GROQ queries, manage documents, and handle media assets directly from your agent. Powered by the Vinkius - no API keys, no infrastructure, connect in under 2 minutes.
Built-in capabilities (10)
Tools for your AI Agents to operate Sanity
Ask your AI agent "List all unique schema types in my dataset." and get the answer without opening a single dashboard. With 10 tools connected to real Sanity data, your agents reason over live information, cross-reference it with other MCP servers, and deliver insights you would spend hours assembling manually.
Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. Powered by the Vinkius - your credentials never touch the AI model, every request is auditable. Connect in under two minutes.
Why teams choose Vinkius
One subscription gives you access to thousands of MCP servers - and you can deploy your own to the Vinkius Edge. Your AI agents only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure and security, zero maintenance.
Build your own MCP Server with our secure development framework →Vinkius works with every AI agent you already use
…and any MCP-compatible client


















Sanity MCP Server capabilities
10 toolsCounts the number of documents of a specific type
Specify the type and provide attributes as a JSON object. Creates a new document in the CMS
Retrieves full details for a specific document by ID
Lists all image and file assets uploaded to Sanity
g., "post", "author"). Lists all documents of a specific type
Retrieves a list of all unique document types present in the dataset
Provide a JSON object of fields to set. Updates specific fields of an existing document
Executes a GROQ (Graph-Relational Object Queries) query
Provide a JSON array of mutation objects. Executes a raw Sanity mutation
This action is irreversible. Permanently deletes a document from the CMS
What the Sanity MCP Server unlocks
Connect your Sanity project to any AI agent and take full control of your Content Lake through natural conversation.
What you can do
- GROQ Queries — Execute powerful Graph-Relational Object Queries to fetch exactly the content you need
- Document Management — Create, read, update, patch, and delete documents of any schema type
- Schema Insights — List unique schema types and count entity nodes dynamically
- Media Assets — Browse and manage images and file assets uploaded to your project
- Bulk Operations — Run raw Sanity mutations for complex, multi-document transactions
How it works
1. Subscribe to this server
2. Enter your Sanity Project ID, Dataset, API Version, and API Token
3. Start managing your content from Claude, Cursor, or any MCP-compatible client
Your AI agent becomes a headless CMS power-user, perfectly capable of navigating references and transforming content on the fly.
Who is this for?
- Developers — prototype GROQ queries, audit schema types, and run quick data migrations
- Content Editors — bulk edit fields, update taxonomy, and manage assets without leaving your chat
- Product Managers — query content stats and generate instant reports on published vs. draft documents
Frequently asked questions about the Sanity MCP Server
Can my AI agent write complex GROQ queries for me?
Yes. If you know what data you want but aren't totally familiar with GROQ syntax, you can simply ask your agent: 'Write and execute a GROQ query to find all author documents where the name starts with John and return just their ID and bio.' The agent will draft the query, execute it via the run_groq_query tool, and return the filtered JSON.
How do I perform a bulk update on my documents?
You can ask your agent to first fetch the documents (e.g., 'List all posts missing a category'), calculate the changes needed, and then use the run_raw_mutation tool or patch_cms_document iteratively to apply the updates. This acts as a conversational migration script, updating dozens of documents safely and quickly.
Can the agent check if media assets are missing from my posts?
Yes. The agent can use the document querying tools combined with list_media_assets to analyze your content. For instance, you can ask it to generate a report of all products that do not have an associated image reference, giving you an exact list of items to fix in the Studio.
More in this category
You might also like
Connect Sanity with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Give your AI agents the power of Sanity MCP Server
Production-grade Sanity MCP Server. Verified, monitored, and maintained by Vinkius. Ready for your AI agents — connect and start using immediately.






