Sanity MCP Server
by jlmelis
This MCP server provides tools for interacting with Sanity.io content from Claude Desktop. It allows you to create, edit, list, and get schemas for documents in your Sanity project.
Last updated: N/A
What is Sanity MCP Server?
The Sanity MCP Server is a tool designed to facilitate interaction between Claude Desktop and Sanity.io, a headless content management system. It allows Claude Desktop to manage content within a Sanity project.
How to use Sanity MCP Server?
To use this server, you need to clone the repository, install dependencies using npm install
, and create a .env
file with your Sanity project credentials (project ID, dataset, and token). Then, configure Claude Desktop to use the server by adding a new MCP server with the provided command and environment variables.
Key features of Sanity MCP Server
Create documents in Sanity
Edit existing documents in Sanity
List documents of a specific type
Get schema templates based on existing documents
Use cases of Sanity MCP Server
Creating new blog posts directly from Claude Desktop
Editing existing content within a Sanity project
Retrieving a list of articles for review
Generating schema templates for different content types
FAQ from Sanity MCP Server
What is Sanity.io?
What is Sanity.io?
Sanity.io is a headless content management system that allows you to structure your content and deliver it to any platform.
What is Claude Desktop?
What is Claude Desktop?
Claude Desktop is an application that can interact with MCP servers.
How do I get my Sanity credentials?
How do I get my Sanity credentials?
You can find your Sanity project ID, dataset, and token in your Sanity project settings.
What document types are supported?
What document types are supported?
The server supports any document type defined in your Sanity schema.
Why do I need to create documents manually before getting the schema?
Why do I need to create documents manually before getting the schema?
Creating documents manually helps the server to generate a more accurate and complete schema template.