Sanity Connector for AI agents.
11 live capabilities
Manage your headless CMS content through natural conversation.
Waiting for input…
Why people use Sanity
Sanity Headless CMS Content Management
This Connector lets you skip the UI entirely. You just tell your agent to find a specific document or update a status. It turns hours of manual clicking into a few seconds of conversation.
What Vinkius changes
You get a conversational interface for your entire Sanity content library.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Bulk updating product statuses
A content manager asks the agent to find all products with 'out of stock' tags and update their status to 'archived' using update_document.
- Real-world use case 02
Quick content audits
A developer uses query_documents to find all blog posts published in the last 48 hours to verify they have the correct metadata.
- Real-world use case 03
Rapid draft creation
An editor asks the agent to create a new draft post for a holiday sale using create_document, skipping the manual Studio entry.
Complete set · 11capabilities
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 Capability
List image assets
View your media library including filenames and dimensions. This makes managing your assets much faster.
- 02 Capability
List users
Get a list of everyone who has access to your project. This is perfect for quick security audits.
- 03 Capability
Search documents
Find matching documents based on keywords and types. This is the fastest way to locate specific content.
- 04 Capability
Update document
Change specific fields on an existing Sanity document. It only modifies the fields you tell it to change.
05—08
4 capabilities in this set.
Part of 11 available through Sanity.
- 05 Capability
Create dataset
Create a new Sanity dataset for staging or development. This helps keep your production data clean.
- 06 Capability
Create document
Add a new document to your Sanity project with specific content. It handles the JSON structure for you.
- 07 Capability
Delete document
Remove a specific document from your project by its ID. Use this to clear out old drafts quickly.
- 08 Capability
Get document
Fetch the full details of a single document using its ID. It's great for inspecting content details.
09—11
3 capabilities in this set.
Part of 11 available through Sanity.
- 09 Capability
List datasets
See all the different datasets currently in your project. This helps you stay organized across environments.
- 10 Capability
List documents
Browse all documents of a specific type in your dataset. Use this to see what content already exists.
- 11 Capability
Query documents
Run a GROQ query to get specific data from your content. You don't have to worry about the exact syntax.
Set up in minutes
One URL. Then ask Sanity to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use Sanity from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it Sanity, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable Sanity for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the Sanity URL.
- Step 03
Save and start
Save the connection and enable Sanity in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"sanity-alternative": {
"url": "https://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using Sanity
Open Agent mode in chat and ask: "Using Sanity, help me...". 11 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"sanity-alternative": {
"url": "https://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using Sanity
Ask Copilot: "Using Sanity, help me...". 11 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"sanity-alternative": {
"url": "https://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using Sanity
Open Cascade and ask: "Using Sanity, help me...". 11 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"sanity-alternative": {
"url": "https://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using Sanity
Ask Cline: "Using Sanity, help me...". 11 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add sanity-alternative --transport http "https://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using Sanity
Ask Claude: "Using Sanity, show me...". 11 tools are ready
Where the request belongs
Work Sanity can move forward.
This is for content managers tired of manual data entry, developers who need to run complex queries without memorizing syntax, and editors who need to find specific assets quickly.
Content Manager
Updates product descriptions and blog statuses across multiple pages without opening the Studio.
Full Stack Developer
Runs GROQ queries to pull specific data for testing or checks project permissions during onboarding.
Content Editor
Searches for specific images or documents using keywords instead of manual filtering.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsSanity
Manage your Sanity Content Lake via AI. execute GROQ queries, manage documents, and handle media assets directly from your agent.
Hygraph (Headless CMS)
Manage headless content via Hygraph. execute GraphQL queries, introspect schemas, and manage documents.
Contentful
Equip your AI agent to fetch, create, and manage digital content effortlessly using Contentful's headless architecture.
Payload CMS
Manage headless content via Payload CMS. manipulate documents, patch JSON states, retrieve singletons, and structure database endpoints using AI.
DatoCMS
Manage headless content via DatoCMS. execute GraphQL queries, handle record CRUD, manage content models, and audit media uploads directly from any AI agent.
Prismic
Query and manage your Prismic headless CMS content. search documents, list custom types, and retrieve specific content directly from any AI agent.
Bring your own AI
Change the model, client or framework. Keep Sanity connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about Sanity.
The practical details behind the request, access and result.
How do I use the Sanity MCP with my AI agent?
You just need to connect the Connector to your AI client using your Sanity Project ID, Dataset name, and API Token. Once connected, you can ask your agent to perform any content task in plain English.
Can the Sanity MCP update my blog posts automatically?
Yes, it can. You can tell your agent to update specific fields like the title, body, or status of any existing post, and it will handle the update for you.
Can I run GROQ queries through the Sanity MCP?
Absolutely. You can describe the data you want to see, and the Connector will execute the necessary GROQ query to pull that information for you.
How does the Sanity MCP help with my media library?
It allows your agent to browse and list your image assets. You can ask it to find specific files or see the dimensions of your media library content.
Can I use the Sanity MCP to manage team permissions?
Yes, it can list your project members. This makes it easy to audit who has access to your content and manage your team's permissions via your agent.
Does the Sanity MCP work with Cursor or Claude?
It works with any MCP-compatible client, including Claude, Cursor, and Windsurf. You just need to link it in your client's settings.
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.
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.
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.
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.
One connection away
Give your agent a direct line to Sanity.
Connect Sanity once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available