Sanity MCP MCP Server
Query and manage Sanity.io content via MCP.
Overview
This TypeScript-based MCP server enables seamless integration between AI assistants and Sanity.io, a modern headless CMS platform. By implementing the Model Context Protocol, it provides a standardized interface for querying and managing content directly through language models. The server bridges the gap between AI applications and structured content management, allowing developers to build intelligent workflows that interact with Sanity content in real time without requiring custom API integration logic.
The Sanity MCP server supports comprehensive content operations including querying datasets using GROQ syntax, retrieving documents by ID, filtering and sorting content, creating new documents, updating existing content, and managing assets. It handles authentication securely and provides full access to Sanity's powerful content modeling capabilities. The server supports multiple project configurations and enables both read and write operations, making it suitable for content-driven applications that require dynamic interaction with managed data.
Compatible with various MCP-enabled AI clients and development environments, Sanity MCP serves multiple use cases including content-powered chatbots, AI-assisted editorial workflows, automated content validation and enrichment, intelligent content recommendation systems, and dynamic website generation. Organizations using Sanity as their content backbone can leverage this server to unlock new possibilities in AI-driven content management, enabling their language models and AI assistants to understand, retrieve, and modify content with precision and efficiency across their entire content infrastructure.
Installation
npx -y @modelcontextprotocol/server-sanity-mcpCompatible Clients
Related
FAQ
- How do I install the Sanity MCP MCP server?
- Install via npx or pip depending on the language. Then add the server configuration to your MCP client settings file.
- Which AI clients support the Sanity MCP MCP server?
- The Sanity MCP MCP server is compatible with Claude Desktop, Cursor, Windsurf. Any MCP-compatible client should work.