An astronaut overseeing a futuristic data hub

Connect Sanity to ChatGPT, Claude and Gemini

Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Turn your AI agent into a headless CMS power user.

Ask AI about this Connector

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.

ChatGPTClaudeCursorPerplexityGeminiMicrosoft CopilotRaycastMeta AI

Your AI does the work. We keep it safe and sound.

No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.

Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

A futuristic MCP client docking bay
V8 Isolate01

Each Connector runs inside its own sealed environment.

Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.

Kill Switch02

One switch stops every agent. Instantly.

One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.

FinOps per User03

Spending limits that pause instead of surprise.

Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.

Three controls, built into the layer your AI connects through.

Curated set · 10 capabilities

We ship only the actions that matter.

Capability set01 / 03

01-04

4 capabilities in this set.

Part of 10 available through Sanity.

  1. 01

    Get document details

    This capability pulls the full data for a single document using its ID.

  2. 02

    List typed documents

    Use this to get a list of all documents belonging to a specific type, like 'post' or 'author'.

  3. 03

    Run raw mutation

    This capability executes a raw Sanity mutation using a JSON array of mutation objects.

  4. 04

    Wipe cms document

    This capability permanently deletes a document from your CMS. Use this with caution as the action is irreversible.

Capability set02 / 03

05-07

3 capabilities in this set.

Part of 10 available through Sanity.

  1. 05

    Count entity nodes

    This capability returns the total number of documents for a specific type in your dataset.

  2. 06

    List unique schema types

    Use this to see a list of every unique document type currently in your dataset.

  3. 07

    Create cms document

    This capability creates a new document in your CMS based on a type and a JSON object of attributes.

Capability set03 / 03

08-10

3 capabilities in this set.

Part of 10 available through Sanity.

  1. 08

    List media assets

    This capability retrieves a list of all images and files uploaded to your Sanity project.

  2. 09

    Patch cms document

    Use this to update specific fields within an existing document using a JSON object.

  3. 10

    Run groq query

    This capability runs a GROQ query to fetch specific data from your Content Lake.

Real work

What teams actually run

01

Rapid Prototyping

Developers can test GROQ query logic by asking their agent to fetch specific data patterns.

02

Bulk Content Updates

Editors can update a specific field across many documents using a single instruction.

03

Data Auditing

Product managers can quickly check how many published versus draft documents exist.

04

Asset Cleanup

Users can list and identify media assets to manage project storage.

Automate a task

Put Sanity to work on one thing.

Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.

One connector, every AI

Sanity works with the most popular AI clients.

These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.

Building your own app? The connector is yours to use.

You don't need a client to put Sanity to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.

Observed, not estimated

962ms average. Fast in production.

Sanity is checked daily against the live service.

Daily averagePeak 1253ms
Oct 3Today
Fastest day
779ms
Slowest day
1253ms
14-day trend
Slowing+41%

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.

Connector linkhttps://edge.vinkius.com/vk_preview_kOcJmNXuW6tXc9VymiA6CmKfU4tOyRvWsv6XMmO3/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Sanity capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "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

Guided setup for Claude? Set up Sanity in Claude and other AIs

See all the AI clients this connector works with ↑

Who it's for

Built for the work Sanity owners hand off.

This MCP is built for anyone who manages structured content through Sanity and wants to interact with their data via an AI agent.

  • 01

    Developers

    They use the agent to prototype GROQ queries and run quick data migrations.

  • 02

    Content Editors

    They use the agent to perform bulk edits and manage assets without opening the CMS dashboard.

  • 03

    Product Managers

    They use the agent to query content statistics and generate reports on document states.

FAQ

Questions Sanity owners ask.

  • 01

    How do I connect my Sanity project?

    You subscribe to the MCP on Vinkius and enter your Project ID, Dataset, API Version, and API Token to establish the connection.

  • 02

    Which AI clients can I use with this MCP?

    You can use any MCP-compatible client, including Claude, Cursor, Windsurf, and VS Code.

  • 03

    Can I delete documents using the AI?

    Yes, you can use the wipe_cms_document capability, but be careful because this action is irreversible.

  • 04

    Does this MCP support GROQ?

    Yes, the run_groq_query capability allows your agent to execute any valid GROQ query against your dataset.

  • 05

    Is my data secure?

    Vinkius hosts the MCP and manages your credentials securely, allowing your agent to perform actions on your behalf.

  • 06

    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.

  • 07

    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.

  • 08

    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.

Connect Sanity to Claude, Cursor, ChatGPT & more