Skip to content

Sanity MCP connector

The Sanity connector lets Claude, ChatGPT, Cursor and the Elaichi Agent query, create, patch and publish Sanity documents, upload assets and deploy schemas, with each person signed in as themselves and every change recorded in an audit log.

  • How it connects. Connects over OAuth. The credential goes into a vault nobody reads back.

  • One address. https://api.elaichi.ai/mcp, the same for every user.

  • Their own access. An agent never gets more than the person it acts for.

How to connect

How to connect Sanity to Claude, ChatGPT or Cursor

Two steps, about a minute.

1

In Elaichi

Connect Sanity once

  1. Open Connections, choose Add connection, and pick Sanity.

  2. Optionally set Share with to give a team access, then press Connect.

  3. Approve it in Sanity. Sanity's own window opens. Whoever approves it decides what this connection can reach.

The credential is vaulted. Nobody reads it back, not even the AI.

Add connection

Choose a connector.

sanity
Sanity
Apache Airflow
Apify
Boomi
Browserbase
Caspio
2

In your AI client

Point it at one endpoint

Everyone in the organization uses the same address, and each person only ever reaches what their own account allows.

Sanity MCP connector for Claude

  1. 1

    Open Customize, then Connectors.

  2. 2

    Press Add.

  3. 3

    Name it, paste the MCP server URL, then Continue.

    https://api.elaichi.ai/mcp
  4. 4

    Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

Sanity MCP connector for ChatGPT

  1. 1

    Open Plugins, then press the + button.

  2. 2

    Name it and paste the endpoint into Server URL.

    https://api.elaichi.ai/mcp
  3. 3

    Leave Authentication on OAuth, then tick the risk acknowledgement.

  4. 4

    Press Create, then sign in and approve.

Works on the web today. The plugin directory lives at chatgpt.com/plugins.

Sanity MCP connector for Cursor

  1. 1

    Open ~/.cursor/mcp.json.

  2. 2

    Add the endpoint under mcpServers.

    https://api.elaichi.ai/mcp
  3. 3

    Reload Cursor, then sign in and approve.

~/.cursor/mcp.json

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

Set up per machine, so repeat it on each computer you work from.

Connect Sanity to any MCP client

  1. 1

    Add the endpoint as a remote MCP server.

    https://api.elaichi.ai/mcp
  2. 2

    Sign in and approve.

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

The Elaichi Agent already has these tools, with nothing to set up.

Use cases

What teams do with Sanity through Elaichi

Every one of these runs inside the access the person already has, and lands in the same audit log.

  • Content

    Catch a draft up after an edit meeting

    Ask for the documents still in draft, patch the fields that changed in the meeting, and publish the ones that are ready in a single pass.

  • Marketing

    Stand up a campaign page from a brief

    Create the landing page documents from a campaign brief, pull the hero images in from URLs, and keep them unpublished until launch day.

  • Engineering

    Review and deploy a schema change

    List the workspace schemas, compare a proposed change against what is live, and deploy the schema and the studio once it is approved.

  • Design

    Get images into the media library fast

    Upload a batch of assets from a shared folder or URL, check that each upload finished, and transform or generate variants for the pages that need them.

  • Product

    Publish release notes on release day

    Draft the release notes document from the ticket summary, create a version for review, and publish it the moment the build ships.

  • Localization

    Find what still needs a translation

    Query the documents published in one language that have no matching version in another, then create the translated drafts for the team to review.

Try asking

  • “Which Sanity documents are still in draft this week?”
  • “Publish the spring campaign landing page documents.”
  • “Upload the new hero images from these URLs to the media library.”

See all 53 Sanity tools below

Compare

Elaichi vs Zapier MCP vs Composio for Sanity

All three can connect Sanity to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

Elaichi compared with Zapier MCP and Composio for Sanity, by what to check
What to check Elaichi Zapier MCP Composio
Where the AI connects One address for the whole organization. https://api.elaichi.ai/mcp A server per member, created at sign-in. An MCP endpoint per team, or an SDK.
Control over Sanity tools Allow or restrict single Sanity tools, per role or user. App and action restrictions on the account. Role permissions, down to the action.
Record of calls One audit entry per Sanity call. A History tab of tool calls. A log of every tool call.
Single sign-on SAML or OIDC, plus SCIM, on Gold. SAML on Enterprise. SAML and OIDC on Enterprise.
Price $15 per user per month. 2 tasks per successful call. Billed per tool call.

Sources: Zapier MCP docs, security, usage; Composio docs, gateway, enterprise, pricing. Checked September 2026.

Longer take: Zapier MCP alternative and when you don't need an MCP gateway.

AI tools

Sanity tools for your AI agents

53 tools are ready to call through Elaichi's MCP endpoint the moment you connect Sanity, governed by the same roles, restrictions, and audit log as everything else in Elaichi. Sanity builds and runs these tools.

See it in Elaichi

What connecting Sanity gets you

6 screens from the product, each doing one job for your Sanity account.

The agent

Ask about your Sanity documents in plain language.

Find drafts, check published pages and confirm upload status from live Sanity records.

  • documents
  • assets
  • schemas
  • projects

Ask Elaichi to work across your apps.

Which Sanity documents are still in draft this week?

Publish the spring campaign landing page documents.

Upload the new hero images from these URLs to the media library.

Also runs in Claude, ChatGPT or Cursor

MCP clients

One endpoint brings Sanity to every client.

Claude, ChatGPT and Cursor connect over OAuth, with no SDK and no shared API key.

ElaichiMCP clients
Claude ChatGPT Cursor

Copy the endpoint

https://api.elaichi.ai/mcp
Client Connected by Status Last used
Claude
E

Emily Carter

• Connected 4 minutes ago
Cursor
M

Megan Brooks

• Connected 2 hours ago
ChatGPT
R

Ryan Hayes

• Connected Yesterday

Tool catalog

53 Sanity tools, ready without writing code.

Documents, assets, schemas and studio deploys, covered the moment Sanity is connected.

  • Dataset assets upload from web chatgpt
  • Dataset assets upload from URL
  • Media library upload from URL
  • Media assets upload from URL
ElaichiTools
Tool Action Description
Dataset assets upload from web chatgpt Upload Upload a ChatGPT web attachment or generated file to a Content Lake dataset. Pass the file through ChatGPT web file input; ChatGPT web supplies a temporary download URL that Sanity fetches. Works when the ChatGPT web sandbox cannot make HTTP requests. Choose image or file as…
Dataset assets upload from URL Upload Start an image or file upload from a public HTTPS URL to a Content Lake dataset. Returns an operationId immediately; use assets_upload_status to retrieve the asset and document field reference. Attach the returned reference with patch_documents, preserving existing field…
Media library upload from URL Upload Start an image, video, or file upload from a public HTTPS URL to a Media Library. Optionally add a version to an existing asset. Returns an operationId immediately; use assets_upload_status to retrieve the asset, assetInstance, and uploadSession. Submit uploads individually…
Media assets upload from URL Upload Deprecated. Use media_library_upload_from_url with the same arguments. This tool does not start an upload.
Assets upload status Upload Check one to 20 asset uploads using operationIds. Wait at least pollAfterMs between checks and group running uploads in one call. Honor HTTP Retry-After when rate limited. A status lookup error does not mean the upload failed. Results include asset IDs, URLs, and references;…

Toolboxes

Every team gets its own Sanity toolbox.

Editors publish documents, engineers deploy schemas, each from a toolbox scoped to them.

  • Content
  • Marketing
  • Engineering
  • Design
ElaichiToolboxes
Name Source template Tools Created

Content toolbox

Sanity · documents and drafts

Sanity starter 18 Mar 4, 2026

Marketing toolbox

Sanity · campaign pages and assets

— 9 Mar 2, 2026

Engineering toolbox

Sanity · schemas and studio deploys

— 24 Feb 27, 2026

Design toolbox

Sanity · images and media

Sanity starter 6 Feb 19, 2026

Product toolbox

Sanity · release notes and docs

— 31 Jan 30, 2026

Localization toolbox

Sanity · translated documents

— 12 Jan 22, 2026

Shared connections

Teammates work in Sanity without seeing a credential.

One person connects Sanity, shares it with teams, and nobody else handles a token.

  • Editorial
  • Marketing
  • Engineering
  • Design
ElaichiConnections
Connection Scope Status Access
SA

Sanity (Editorial)

Connected by Emily Carter

Personal • Active 1 team · 6 members
SA

Sanity (Marketing)

Connected by Jake Morgan

Organization • Active 3 teams · 24 members
SA

Sanity (Engineering)

Connected by Megan Brooks

Organization • Active 2 teams · 11 members
SA

Sanity (Design)

Connected by Tyler Reed

Personal • Needs re-auth 1 team · 3 members
SA

Sanity (Product docs)

Connected by Ryan Hayes

Personal • Active Not shared
SA

Sanity (Localization)

Connected by Ashley Parker

Personal • Active 2 teams · 9 members

Audit log

Every Sanity change is logged with a name.

See who published, patched or unpublished which document, and exactly when it happened.

  • When
  • Who
  • What happened
  • Type
ElaichiAudit log
When Who What happened Type

2 minutes ago

Mar 6, 2026, 3:10 PM

E

Emily Carter

[email protected]

Restriction Created Access

8 minutes ago

Mar 6, 2026, 3:04 PM

J

Jake Morgan

[email protected]

Restriction Updated Access

14 minutes ago

Mar 6, 2026, 2:58 PM

M

Megan Brooks

[email protected]

Role Assigned Access

20 minutes ago

Mar 6, 2026, 2:52 PM

T

Tyler Reed

[email protected]

Sanity Users Updated MCP

26 minutes ago

Mar 6, 2026, 2:46 PM

R

Ryan Hayes

[email protected]

Sanity Documents Created MCP

32 minutes ago

Mar 6, 2026, 2:40 PM

A

Ashley Parker

[email protected]

Sanity Documents List Toolbox

Launching soon

From answering questions to doing the work

A person no longer has to ask. A trigger starts the work, inside the same permissions and the same audit log as everything else. Automations and live dashboards are launching soon, on the Black plan.

Automations

Scheduled runs turn Sanity drafts into reviewed digests.

New documents are fetched, grouped, drafted into a digest, approved, then posted back to Sanity.

Sanity digest

Run 418 · started 2 minutes ago · on behalf of Emily Carter

  1. ✓

    Schedule

    Every weekday at 8:00 AM

    0.2s
  2. ✓

    Fetch documents

    Sanity

    1.4s
  3. ✓

    Group by owner

    Transform

    0.1s
  4. ✓

    Draft the digest

    Agent step

    Ran with 4 tools, returned a structured summary

    6.2s
  5. Approve the digest

    Needs approval

    Assigned to Michael Brennan

    Approve
  6. Post the digest

    Sanity

    Queued

Collections and dashboards

Sanity content health, computed without asking a model.

Documents created over 14 days, upload counts and team breakdowns, refreshed on a schedule.

Sanity health

Refreshed 4 minutes ago · every 15 minutes · from the documents collection

Live

Documents

1,284 ↓ 12%

Assets

96 ↓ 8%

Needs attention

3 ↑ 2

Updated this week

412 ↑ 9%

Documents created

Last 14 days

By team

Share of activity

Editorial 34%

Marketing 27%

Engineering 21%

Design 18%

FAQ

Frequently asked questions

How do I connect Sanity to Claude?

Connect Sanity in Elaichi first, which sends you to Sanity's own sign-in over OAuth; there is no OAuth application to register and no client ID or secret to generate. Then in Claude open Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. Once Claude signs in to Elaichi, your Sanity documents, assets and schemas are available in the conversation.

Does Sanity work with ChatGPT and Cursor as well as Claude?

Yes. Sanity is connected once in Elaichi, and the same endpoint, https://api.elaichi.ai/mcp, is added to Claude, ChatGPT, Cursor or any other MCP client. The Elaichi Agent uses that same Sanity connection too, so there is nothing to set up a second time.

What can an AI agent actually do with my Sanity content?

It can query and read Sanity documents, create new ones, patch fields, publish or unpublish, discard drafts and create versions. It can upload images and files into the media library from a URL or a file, check whether an upload finished, and generate or transform images. On the engineering side it can read, list and deploy schemas and deploy the studio. Short, concrete asks such as 'publish the pricing page draft' work better than long paragraphs.

Does connecting Sanity give the AI everything in my project?

No. Every call into Sanity runs as the person who signed in, so the AI only sees the projects, datasets and documents that person can already reach in Sanity. Elaichi can narrow that further with roles and restrictions, and it never widens what Sanity itself allows.

Can my team share one Sanity connection?

Yes. One person connects Sanity in Elaichi and shares the connection with a team, and nobody else ever handles a token or credential. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person who published or patched a Sanity document.

Can I stop an agent from deleting or changing things in Sanity?

Yes. Restrictions in Elaichi apply per action, so you can allow reading and querying Sanity documents while blocking publish, unpublish, patch or discard. A restricted action is never advertised to Claude, ChatGPT or Cursor at all, so no prompt, however it is worded, can reach it.

What happens to a Sanity connection when someone leaves?

Offboarding that person in Elaichi ends their access to Sanity through every client at once. A Sanity connection shared with the team keeps working for everyone else. If you want the connector gone entirely, disconnecting Sanity once in Elaichi removes it from Claude, ChatGPT, Cursor and the Elaichi Agent together.

Does the Sanity MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Sanity is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

Is Elaichi an alternative to Zapier MCP for Sanity?

Yes. Both let Claude, ChatGPT or Cursor use Sanity. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Sanity call.

How is Elaichi different from Composio for Sanity?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Sanity: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

Put Sanity in front of your team

14 days on Gold, no credit card. Connect it once and pick what each team can call.

Works with
Claude ChatGPT Cursor and any other MCP client, or the Elaichi Agent.
When the trial ends
Nothing is deleted. Connections, roles and the audit log stay where they are, so subscribing picks up exactly where you left off.