The Sanity MCP Server connects Sanity projects with AI tools to manage and explore content using natural language instructions.
Key capabilities:
Content Intelligence: AI can explore and understand your content library
Document Management: Create, update, patch, transform, translate, publish, unpublish, and delete documents with schema-aware AI operations
Content Operations: Automate tasks through natural language commands
Release Management: Plan, schedule, organize, and execute content releases
Search Capabilities: Execute GROQ queries and perform semantic search using embeddings
Schema Awareness: AI respects your content structure and validation rules
Dataset Management: Create, update, and manage datasets
Version Control: Manage document versions within releases
Configuration Access: Retrieve server/project information and list available projects and studios
Runs as a Node.js application, requiring proper Node.js environment setup to function correctly with MCP-compatible applications.
Provides special configuration instructions for users of Node Version Manager to ensure the MCP server can access Node.js properly.
Enables AI-powered tools for content operations in Sanity CMS, allowing users to create, update, and manage documents, handle release management, perform semantic searches, and access schema information through natural language instructions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sanity MCP Serverlist all blog posts published this month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sanity MCP Server
This local MCP server ( in favor of the new, improved remote MCP server at mcp.sanity.io. This repository is archived and no longer maintained.
Use mcp.sanity.io
The Sanity MCP Server is now available as a hosted remote server at mcp.sanity.io. It offers:
Streamable HTTP transport
OAuth authentication (no API tokens to manage)
Continuously updated tools and features
Zero local setup — no Node.js required
Quick setup
Add this to your MCP client configuration:
Visit mcp.sanity.io for full installation instructions for Claude Code, Cursor, VS Code, and other MCP clients.