Basic information
About Sanity MCP Server
MCP for interacting with Sanity IO projects.
Sanity MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by jlmelis. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: mcp-server, sanity-io, sanity-mcp.
Setup
{
"mcpServers": {
"sanity-mcp": {
"command": "node",
"args": [
"src/sanity-mcp-server.ts"
],
"env": {
"SANITY_PROJECT_ID": "",
"SANITY_DATASET": "",
"SANITY_TOKEN": ""
}
}
}
}
{
"mcpServers": {
"sanity-mcp": {
"command": "node",
"args": [
"src/sanity-mcp-server.ts"
],
"env": {
"SANITY_PROJECT_ID": "",
"SANITY_DATASET": "",
"SANITY_TOKEN": ""
}
}
}
}
{
"servers": {
"sanity-mcp": {
"command": "node",
"args": [
"src/sanity-mcp-server.ts"
],
"env": {
"SANITY_PROJECT_ID": "",
"SANITY_DATASET": "",
"SANITY_TOKEN": ""
}
}
}
}
Sanity MCP Server (jlmelis/sanity-mcp-server) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sanity-mcp": {
"command": "node",
"args": [
"src/sanity-mcp-server.ts"
],
"env": {
"SANITY_PROJECT_ID": "",
"SANITY_DATASET": "",
"SANITY_TOKEN": ""
}
}
}
}
Sanity MCP Server (jlmelis/sanity-mcp-server) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Sanity MCP Server?
Sanity MCP Server is a Model Context Protocol server that provides tools for interacting with Sanity.io content from Claude Desktop, enabling document creation, editing, listing, and schema retrieval.
How to use Sanity MCP Server?
Install dependencies with npm install, create a .env file with your Sanity project credentials, then configure the server in Claude Desktop via Settings > MCP Servers using the provided JSON settings with the command node and arguments ["src/sanity-mcp-server.ts"].
Key features of Sanity MCP Server
- Create new documents in Sanity
- Edit existing documents by ID
- List documents of a specific type with limit
- Get a schema template from an existing document
Use cases of Sanity MCP Server
- Creating blog posts or content directly from Claude Desktop
- Updating existing Sanity documents without leaving the chat
- Browsing documents to find content quickly
- Generating schema templates to guide new document creation
Frequently asked questions
1 What tools does Sanity MCP Server provide?
It offers four tools: Create Document, Edit Document, List Documents, and Get Schema.
2 What credentials are required?
You need a Sanity project ID, dataset name, and token, which are set in a .env file or the MCP server configuration.
3 What runtime does it require?
It runs on Node.js; the command is node pointing to src/sanity-mcp-server.ts.
4 How do I get the best schema results?
Manually create at least one document of each type before using the Get Schema tool.
5 Is there a limit for listing documents?
You can set a limit parameter; the default is 10 documents.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In