Skip to content
Vinkius

Sanity Connector for AI agents.

10 live capabilities

Manage your Sanity Content Lake and GROQ queries through natural conversation.

Live agent request Sanity / Connector

Waiting for input…

AI Agent

Why people use Sanity

Sanity for Faster Content Management and GROQ Queries

This Connector changes that by letting you talk directly to your content. You can pull specific data, update fields across dozens of records at once, or grab a list of your media assets without leaving your chat interface. You get the ability to perform bulk updates and complex queries without ever leaving your workspace.

  • Claude
  • ChatGPT
  • Gemini
  • Cursor
  • Visual Studio Code
  • Windsurf

What Vinkius changes

You get a direct line to your Sanity Content Lake inside your AI chat.

Use it from Claude, ChatGPT, Cursor or another AI client you already have.

One account · 5,900+ Connectors

  1. Real-world use case 01

    Bulk Editing

    A content editor needs to change the isPublished status for 20 draft posts.

  2. Real-world use case 02

    Data Auditing

    A developer wants to know how many author documents exist in the production dataset.

  3. Real-world use case 03

    Content Migration

    A manager needs to see all unique types in a new project to map out the content strategy.

Complete set · 10capabilities

The complete Sanity capability set.

These are the exact actions your AI can choose when you ask it to work with Sanity.

Capability set01 / 03

01—04

4 capabilities in this set.

Part of 10 available through Sanity.

  1. 01 Capability

    Get document details

    Pull the full details of a specific document using its unique ID. This is perfect for checking all the fields of a single record.

  2. 02 Capability

    List typed documents

    Get a list of all documents for a specific type like post or author. This helps you quickly see what content is already in your project.

  3. 03 Capability

    Run raw mutation

    Run raw Sanity mutations to handle complex, multi-document transactions. Use this for heavy lifting like migrating data or bulk updates.

  4. 04 Capability

    Wipe cms document

    Permanently delete a document from your CMS when it's no longer needed. This is a quick way to clean up your content lake.

Capability set02 / 03

05—07

3 capabilities in this set.

Part of 10 available through Sanity.

  1. 05 Capability

    Count entity nodes

    See exactly how many documents of a specific type exist in your dataset. Use this to get a quick count of your records without opening the Studio.

  2. 06 Capability

    List unique schema types

    Retrieve a list of every unique document type currently in your project. This is great for auditing your schema to ensure consistency.

  3. 07 Capability

    Create cms document

    Create a new document by providing the type and a JSON object of attributes. You can use this to quickly add new content to your project.

Capability set03 / 03

08—10

3 capabilities in this set.

Part of 10 available through Sanity.

  1. 08 Capability

    List media assets

    See all images and file assets currently uploaded to your Sanity project. Use this to find and organize your media without browsing every folder manually.

  2. 09 Capability

    Patch cms document

    Update specific fields in an existing document using a JSON object. This allows you to make precise edits to your content without manual clicking.

  3. 10 Capability

    Run groq query

    Execute a GROQ query to fetch exactly the data you need from your content lake. This lets you pull custom data sets for your frontend or reports.

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 preview
Advanced clients IDE · CLI

Claude · Web + desktop

Official guide ↗

Connector URL · ready to paste

Streamable HTTP
https://edge.vinkius.com/vk_preview_kOcJmNXuW6tXc9VymiA6CmKfU4tOyRvWsv6XMmO3/mcp
  1. Step 01

    Open Connectors

    In Claude Web or Claude Desktop, open Settings and choose Connectors.

  2. Step 02

    Add the URL

    Choose Add custom connector, name it Sanity, and paste the URL above.

  3. Step 03

    Turn it on in chat

    Select +, open Connectors, and enable Sanity for the conversation.

Where the request belongs

Work Sanity can move forward.

Built around the request

This is for content teams and developers who are tired of the friction between their CMS and their production workflow. It's for the person who needs to make 50 updates at once or the dev who needs to verify content stats without opening a browser.

01

Content Editor

Updates taxonomy and manages bulk content fields during high-volume publishing cycles.

02

CMS Developer

Audits schema types and prototypes GROQ queries for new site features.

03

Product Manager

Pulls content stats and generates reports on draft vs. published documents.

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.

What can I do with the Sanity MCP?

You can manage your Sanity Content Lake using natural language. This includes running GROQ queries, creating or updating documents, and managing your media assets directly through your AI client.

How does the Sanity MCP handle bulk updates?

It allows you to perform multi-document transactions. You can ask your agent to patch specific fields across multiple records at once, saving you from manual entry in the Studio.

Can I use the Sanity MCP to query my content?

Yes. You can execute GROQ queries to fetch specific data. This is great for checking content stats or pulling specific information for your project.

Does the Sanity MCP work with my existing Sanity project?

Yes, it connects to your existing Sanity Content Lake. You just need to provide your Project ID, Dataset, and API credentials to get started.

Can I manage images with the Sanity MCP?

You can use it to list all image and file assets in your project. This helps you quickly find and organize your media without browsing every folder manually.

Is the Sanity MCP good for developers?

It's a great capability for developers who need to audit schema types or run quick data migrations. It lets you prototype queries and manage content types much faster.

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.

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.

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.

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