Sanity MCP Server

Collection of resources to help AI agents build better with Sanity. Supports Cursor, Claude Code, Codex, VS Code, Lovable, v0, Replit, OpenCode, and any other editor/agent compatible with MCP or Agent Skills. Its 10 documented tools cluster into read & search, create & write, update, deploy. It is available as a remote MCP endpoint.

Teams that want a hosted endpoint instead of running a local process. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-19 · ★ 179 · #340 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · JavaScript servers · how we verify → /methodology

01 · Install Sanity

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add sanity-io-agent-toolkit --transport http https://mcp.sanity.io

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "sanity-io-agent-toolkit": {
      "url": "https://mcp.sanity.io"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://mcp.sanity.io

transport: streamable-http

endpoint alive - authentication required · probed 2026-08-25

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as remote - your agent's requests go to mcp.sanity.io

endpoint auth requires authentication - rejected our unauthenticated MCP initialize

license MIT - declared in the repository

registry vendor namespace io.sanity.www - domain-verified with the official MCP registry

03 · What Sanity can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can create draft documents from structured content, or version documents when a release ID is provided, create version documents for releases, and verify the authenticated Sanity user.

Capability map

Tools grouped from the project's README - what Sanity lets an agent do.

read & search

2 tools - e.g. run GROQ queries directly; list Studio applications linked to a project

query_documents · get_project_studios

create & write

2 tools - e.g. create draft documents from structured content, or version documents when a release ID is provided; create version documents for releases

create_documents · create_version

update

1 tool - e.g. surgical edits to existing documents; published documents are edited by creating or updating drafts

patch_documents

Deploy

1 tool - e.g. deploy a hosted Studio bound to an MCP-managed schema

deploy_studio

Whoami

1 tool - e.g. verify the authenticated Sanity user

whoami

Give

1 tool - e.g. report MCP tool errors, missing capabilities, confusing output, or documentation issues

give_feedback

Content

1 tool - e.g. Import existing content or generate placeholder content via MCP

Content

Frontend

1 tool - e.g. Integrate with your application (framework-specific)

Frontend

04 · Who maintains Sanity

Sanity is maintained by sanity-io. It's the only MCP server we track from this author; the repo dates to Mar 2025.

05 · Facts

category
other - ranked #340 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.sanity.www/mcp (active, first published 2026-02-18 · 34 versions)

06 · Sanity FAQ

Is Sanity still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-19. We re-verify nightly.

What can Sanity do?

With this server connected, an agent can create draft documents from structured content, or version documents when a release ID is provided, create version documents for releases, and verify the authenticated Sanity user.

How do I install Sanity?

Run `claude mcp add sanity-io-agent-toolkit --transport http https://mcp.sanity.io`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Sanity require authentication?

Yes - when we probed the endpoint on 2026-08-25, it rejected an unauthenticated MCP initialize; you'll need credentials to connect.

07 · Alternatives to Sanity

More MCP servers to compare · Mdk MCP Server · Fiori MCP Server · Aippocampus · AI Divination Skills · Oraclebone

More JavaScript MCP servers · SAP HANA CLI · Meta API MCP Server · Agent Forge · Server Tempmail · see all