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…

Remote serverstreamable-httpMIT

What is the Sanity MCP Server?

Sanity is an MCP project maintained in the sanity-io/agent-toolkit repository. The maintainer describes its purpose as “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…”. Read the project documentation for the complete scope.

Hosted connection

The maintainer’s configuration uses https://mcp.sanity.io. It declares streamable-http transport. Check the project’s account and authentication instructions when adding the endpoint to your client.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
query_documentsrun GROQ queries directly
create_documentscreate draft documents from structured content, or version documents when a release ID is provided
patch_documentssurgical edits to existing documents; published documents are edited by creating or updating drafts
deploy_studiodeploy a hosted Studio bound to an MCP-managed schema
create_versioncreate version documents for releases
whoamiverify the authenticated Sanity user
get_project_studioslist Studio applications linked to a project
give_feedbackreport MCP tool errors, missing capabilities, confusing output, or documentation issues

How to install the Sanity MCP Server

{
  "mcpServers": {
    "Sanity": {
      "type": "http",
      "url": "https://mcp.sanity.io"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.