Use Sanity with your AI.
Connect your account once and let the AI you already use work with it, without building another integration. Manage your Sanity Content Lake via AI. execute GROQ queries, manage documents, and handle media assets directly from your agent.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Complete set · 10 capabilities
The complete Sanity capability set.
These are the exact actions your AI can choose when you ask it to work with Sanity.
01-04
4 capabilities in this set.
Part of 10 available through Sanity.
- 01
Get document details
Retrieves full details for a specific document by ID
- 02
List typed documents
G., "post", "author"). Lists all documents of a specific type
- 03
Run raw mutation
Provide a JSON array of mutation objects. Executes a raw Sanity mutation
- 04
Wipe cms document
This action is irreversible. Permanently deletes a document from the CMS
05-07
3 capabilities in this set.
Part of 10 available through Sanity.
- 05
Count entity nodes
Counts the number of documents of a specific type
- 06
List unique schema types
Retrieves a list of all unique document types present in the dataset
- 07
Create cms document
Specify the type and provide attributes as a JSON object. Creates a new document in the CMS
08-10
3 capabilities in this set.
Part of 10 available through Sanity.
- 08
List media assets
Lists all image and file assets uploaded to Sanity
- 09
Patch cms document
Provide a JSON object of fields to set. Updates specific fields of an existing document
- 10
Run groq query
Executes a GROQ (Graph-Relational Object Queries) query
Observed, not estimated
862ms average. Fast in production.
Sanity is checked daily against the live service.
- Fastest day
- 741ms
- Slowest day
- 1056ms
- 14-day trend
- Slowing+35%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 10 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of Sanity, so you can see the experience inside your AI.
It does not authenticate your account with Sanity. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
Sanity Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_kOcJmNXuW6tXc9VymiA6CmKfU4tOyRvWsv6XMmO3/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Sanity capabilities are ready to use.
{
"mcpServers": {
"sanity-mcp": {
"url": "https://edge.vinkius.com/vk_preview_kOcJmNXuW6tXc9VymiA6CmKfU4tOyRvWsv6XMmO3/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
FAQ
Questions Sanity owners ask.
- 01
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 capability, and return the filtered JSON.
- 02
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 capability or patch_cms_document iteratively to apply the updates. This acts as a conversational migration script, updating dozens of documents safely and quickly.
- 03
Can the agent check if media assets are missing from my posts?
Yes. The agent can use the document querying capabilities 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.
Explore
More in Developer Tools
Webiny CMS AI Connector
Manage content models, entries, and GraphQL workflows on Webiny — the enterprise open-source headless CMS.
ViewKentico (CMS & DXP) AI Connector
Manage content and system objects via Kentico Xperience — retrieve documents, manage users, and audit custom t
ViewKontent.ai AI Connector
Access headless content — list items, audit types, and query taxonomies.
ViewAgility CMS AI Connector
Manage and query your Agility CMS content through AI — navigate sitemaps, search lists, and fetch layouts.
View
Suggestions
Joomla (Open-Source CMS) AI Connector
Manage content via Joomla — list and create articles, manage categories and tags, and audit site menus.
ViewWordPress AI Connector
Build and manage websites with the CMS that powers over 40 percent of the web through posts, pages, plugins, a
ViewQuip AI Connector
Connect Quip to your AI to search documents, read threads, view messages, and edit content seamlessly.
ViewWordPress AI Connector
Build and manage websites with the CMS that powers over 40 percent of the web through posts, pages, plugins, a
View
