Use Sanity with your AI.
Connect your account once and let the AI you already use work with it, without building another integration. Manage headless CMS content via Sanity. query documents with GROQ, create/update/delete content and manage datasets from any AI 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 · 11 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 11 available through Sanity.
- 01
List image assets
Each asset includes its _id, original filename, dimensions and metadata. Optionally set a limit. Useful for managing media library content. List image assets in Sanity
- 02
List users
Useful for auditing project access and team management. List project members in Sanity
- 03
Update document
Requires the document ID and a JSON object with the fields to set. For example: {"title": "Updated Title", "status": "published"}. Only provided fields will be modified. Update fields on a Sanity document
- 04
Search documents
Optionally filter by document types and set a result limit. Returns matching documents with their full content. Search documents in Sanity
05-08
4 capabilities in this set.
Part of 11 available through Sanity.
- 05
Create dataset
Provide the dataset name (e.g. "staging", "development"). The dataset will be empty and ready for content. Dataset names must be lowercase alphanumeric. Create a new Sanity dataset
- 06
Create document
Requires a JSON object with _type and content fields. For example: {"_type": "post", "title": "Hello", "body": "World"}. Returns the created document with its generated ID. Create a new Sanity document
- 07
Delete document
Provide the document ID. WARNING: this action is irreversible. Delete a Sanity document
- 08
Get document
G. "drafts.abc123" or "abc123"). Returns the full document with all fields. Useful for inspecting individual content items. Get a specific Sanity document by ID
09-11
3 capabilities in this set.
Part of 11 available through Sanity.
- 09
List datasets
Datasets are isolated content collections within a project (e.g. "production", "staging", "development"). List all datasets in the Sanity project
- 10
List documents
G. "post", "product", "author") from the configured dataset. Each document returns its _id, content fields and metadata. Use this to browse content collections. List documents of a specific type in Sanity
- 11
Query documents
Requires a GROQ query string. Optionally provide params as JSON for parameterized queries. Returns query results as an array. Example query: "*[_type == 'post' && publishedAt > $date]{title, slug}" Run a GROQ query against Sanity
Observed, not estimated
862ms average. Fast in production.
Sanity is checked daily against the live service.
- Fastest day
- 720ms
- Slowest day
- 1031ms
- 14-day trend
- Slowing+10%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 11 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_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/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-alternative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/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
How do I get a Sanity API token?
Log in to manage.sanity.io, select your project, go to API tab, and click Generate API token. Choose read/write permissions and copy the token immediately.
- 02
What is GROQ?
GROQ (Graph-Relational Object Queries) is Sanity's query language for fetching and transforming content. It's similar to GraphQL but designed specifically for document-based content. Use the query_documents capability to run custom GROQ queries.
- 03
Can I create new content types?
Yes! Use create_document with any _type value (e.g. "post", "product", "author"). The document will be created with that type. Schema validation is handled by your Sanity Studio configuration, not the API.
- 04
Can I search for documents by keyword?
Yes! Use search_documents with a search term. It will search across all document fields. Optionally filter by specific document types and set a result limit. For more complex searches, use query_documents with custom GROQ.
