Builders: list your MCP server or AI tool for free.Submit a listing
Content and CMSMCP serverOfficial

Sanity MCP Server

Query, draft and publish Sanity content from an AI client, with your schema in view

By SanityLast checked Remote server

In short: Sanity's hosted MCP server connects AI clients to your projects. Query content, patch and publish documents, manage releases and upload assets.

What it does

The Sanity MCP Server is hosted by Sanity at mcp.sanity.io. It connects an AI client to your Sanity projects, so the client can query content, read your schema and create or edit documents. You sign in with OAuth by default, and tool calls run with your Sanity permissions.

Because the server knows your schema, the client can make edits that fit your content model. When a deployed schema is available, Sanity validates documents before creating, patching or publishing them. A request might be: “Find all articles that still reference the old author field and list them by title.”

Good uses for marketing teams

  • Finding articles with missing SEO titles, descriptions or images
  • Drafting a batch of campaign pages, grouped in a content release for review
  • Bulk edits, such as updating a product name across every document that mentions it
  • Uploading campaign images from a URL and attaching them to documents
  • Asking plain-language questions about your content during a refresh

Things to know

  • The server can publish, unpublish and discard content, and change schemas and datasets. Check what the client plans to do before you approve write tools.
  • Edits go to drafts or release versions, never straight to published content. Publishing is its own step.
  • Custom validation rules from your Studio are skipped when changes come through MCP.
  • The image generation tools use AI credits. You can turn them off in your client.
  • When the CLI sets up Gemini CLI or Zed, it writes an API token to that editor’s config file. Keep that file private.

What it can do

  • Query content with Sanity's query language and fetch documents by ID
  • Create documents and patch up to 25 documents per call, saved as drafts or release versions
  • Publish and unpublish documents, and discard drafts
  • Create content releases and add document versions to them
  • Upload images and files to datasets and the Media Library
  • Read and deploy schemas, and validate documents against them
  • Generate or transform images for a document field with AI
  • Manage projects, datasets and the web addresses allowed to call your project

How to set it up

  1. Run npx sanity@latest mcp configure to set up Claude Code, Cursor or VS Code automatically, or add the server by hand.
  2. In Claude, use the Sanity connector. In ChatGPT, use the Sanity app. In other clients, add https://mcp.sanity.io as a remote HTTP server.
  3. Sign in with OAuth when the client prompts you. You can send a Sanity API token in the Authorization header instead.
  4. Ask the client to list your projects and datasets to confirm the connection works.

Example client configuration from the publisher’s docs. Replace the placeholder values with your own.

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

Works with

Based on the publisher’s documentation and the transport the server uses. Check the publisher’s docs for the latest list.

Questions about Sanity MCP Server

Does the Sanity MCP server change published content directly?

Edits from create and patch tools are saved as drafts or release versions. Publishing is a separate tool call, so review drafts in Sanity Studio before you let the client publish them.

Is there still a local Sanity MCP server?

The old local repository is archived and points to the hosted server at mcp.sanity.io. For clients without remote MCP support, Sanity documents the mcp-remote proxy.

Sources

We checked this listing against these pages on 29 November 2026.

Spotted something out of date? Email listings@marketingmcphub.com.