Vinkius

Sanity MCP. Query, write, and manage your entire content lake via AI.

Sanity MCP gives your AI agent total control over your Content Lake. Execute powerful queries against structured data, manage document records, and handle media assets without ever leaving your chat window. Stop context switching between your CMS interface and an API client; your agent now acts as a native power-user for all Sanity content.

Sanity MCP is compatible with Claude Claude
Sanity MCP is compatible with ChatGPT ChatGPT
Sanity MCP is compatible with Cursor Cursor
Sanity MCP is compatible with Gemini Gemini
Sanity MCP is compatible with Windsurf Windsurf
Sanity MCP is compatible with VS Code VS Code
Sanity MCP is compatible with JetBrains JetBrains
Sanity MCP is compatible with Vercel Vercel
See Vinkius in Action

Give Claude and any AI agent real-world access

Querying structured data

Fetch specific pieces of content by running powerful queries against your document schema.

Creating and updating records

Build new documents or modify existing fields on any type of record in the CMS.

Managing media files

Browse, list, and handle all images and file assets uploaded to your project.

Auditing content structure

List every unique document type available in the dataset or count how many records exist for a given type.

Running raw mutations

Execute complex, multi-document transactions that require advanced API calls.

Waiting for input…

AI Agent
Sanity

What AI agents can do with Sanity MCP - 10 Tools Available

Use these specialized tools to automate nearly every task in your Sanity Content Lake, from running complex queries to managing documents and files.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using Sanity MCP

List Typed Documents

Lists all available document types within your Sanity project.

Count Entity Nodes

Counts the total number of documents belonging to a specific type.

List Unique Schema Types

Retrieves a full list of every unique document structure defined in your dataset.

Create Cms Document

Builds and saves a brand new content document by specifying its type and attributes.

Get Document Details

Pulls all the specific data fields for one single document using its unique ID.

List Media Assets

Displays a list of every image and file asset that has been uploaded to your project.

Patch Cms Document

Updates specific fields on an existing document without affecting any other data points.

Run Groq Query

Executes powerful, complex graph-relational object queries to fetch precise content...

Run Raw Mutation

Runs advanced, raw mutations for highly complex, multi-document data transactions.

Wipe Cms Document

Permanently deletes a document from the CMS; this action is irreversible.

Security and governance baked right in.

Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.

Sanity MCP is compatible with Claude

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The Sanity integration is available immediately — no restart needed.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on each call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with Sanity, then connect any of our 5,200+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 5,200+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Connections are secured and governed automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog weekly
Sanity MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Sanity. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS CLOUD

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on each call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

The Pain of Copying Content Data

Today, if you need data from a content lake—say, finding all product descriptions that reference an old policy document—you're stuck. You have to jump into the CMS UI, manually filter by dates, click through category dropdowns, and then copy-paste chunks of text or IDs into a spreadsheet just to start your analysis.

With this MCP, you simply ask your agent: 'Show me all product listings that link to policy document 456.' The agent executes the necessary query and gives you a clean, structured output directly in the chat. You get immediate answers without leaving your workflow.

Using Sanity's Structured Data for Automation

Manual content changes are slow and risky. To update 50 items, you might have to open 50 individual records, find the right field, manually change the status flag, and hit save—a process that takes hours and invites human error.

Now, you can tell your agent to patch_cms_document for all those items in one go. The command executes the necessary updates across dozens of records instantly. It's reliable automation.

What Sanity MCP does for your AI

This MCP connects any compatible AI client directly to your entire Sanity Content Lake. You can manage every aspect of your structured data—from creating brand new records to running deep queries across thousands of documents.

Want to find all posts written by a specific author who mention 'AI'? Your agent handles that with one command, executing complex graph-relational object queries (GROQ) that pull exactly the content you need. Need to update 50 product descriptions simultaneously? You can patch multiple fields on existing documents or even run raw mutations for tricky transactions.

It’s more than just reading data; your agent becomes a full CMS power-user, capable of listing every schema type in your project and managing all uploaded media assets. If you're looking for the best way to connect structured content sources to AI workflows, Vinkius hosts this MCP, giving you one connection point to manage complex document structures.

This means developers can prototype migrations instantly, editors can perform bulk updates without leaving their chat, and product managers get instant reports on published versus draft content.

Built · Hosted · Managed by Vinkius Sanity MCP - Manage Content Lake with AI
Server ID 019d7603-0e9e-7390-8bd7-2b34d5edcc2e
Vinkius Inspector
Compliance Grade A+
Score 100/100
Vinkius Inspector Badge — Score 100/100

Frequently asked questions about Sanity MCP

How does Sanity MCP handle complex queries? +

It handles them by allowing your agent to execute GROQ (Graph-Relational Object Queries). This means you can ask questions that require linking data across multiple different content types, not just simple field searches.

Can Sanity MCP delete content permanently? +

Yes. It provides the wipe_cms_document tool to permanently remove records from your CMS. Be warned: this action is irreversible and should only be used when you are absolutely sure.

Does the Sanity MCP help with media assets? +

Absolutely. You can list all image and file assets using the list_media_assets tool, letting your agent manage or reference these files directly within your content workflows.

Is this better than just using the Sanity API directly? +

It's much easier. You don't need to write boilerplate API calls; you just talk naturally to your agent, and it translates those instructions into the correct tool commands for you.

What if I want to create a new document with specific attributes? +

You use the create_cms_document tool. You specify the desired schema type and provide all the necessary data points in a simple, structured format that the agent handles.