I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

sanity-mcp-server
MCP for interacting with Sanity IO projects.
3 years
Works with Finder
1
Github Watches
1
Github Forks
0
Github Stars
Sanity MCP Server
This MCP server provides tools for interacting with Sanity.io content from Claude Desktop.
Installation
- Clone this repository
- Install dependencies:
npm install
- Create a
.env
file with your Sanity credentials:
SANITY_PROJECT_ID=your_project_id
SANITY_DATASET=your_dataset
SANITY_TOKEN=your_token
Usage with Claude Desktop
- In Claude Desktop, go to Settings > MCP Servers
- Add a new server with these settings:
{
"command": "node",
"args": ["src/sanity-mcp-server.ts"],
"env": {
"SANITY_PROJECT_ID": "your_project_id",
"SANITY_DATASET": "your_dataset",
"SANITY_TOKEN": "your_token"
}
}
Available Tools
Create Document
Creates a new document in Sanity
Parameters:
-
type
: Document type -
content
: Document content
Example:
{
"type": "post",
"content": {
"title": "My Post",
"body": [
{
"_type": "block",
"children": [
{
"_type": "span",
"text": "Hello world!"
}
]
}
]
}
}
Edit Document
Edits an existing document
Parameters:
-
id
: Document ID -
content
: Updated content
List Documents
Lists documents of a specific type
Parameters:
-
type
: Document type -
limit
: Maximum number of documents to return (default: 10)
Get Schema
Gets a schema template based on an existing document
Note: For best results, manually create at least one document of each type before using this tool.
Parameters:
-
type
: Document type
Example Usage
- Create a new blog post:
{
"tool": "create-document",
"arguments": {
"type": "post",
"content": {
"title": "My First Post",
"slug": "my-first-post",
"body": [
{
"_type": "block",
"children": [
{
"_type": "span",
"text": "This is my first post!"
}
]
}
]
}
}
}
- Edit an existing post:
{
"tool": "edit-document",
"arguments": {
"id": "post-id-123",
"content": {
"title": "Updated Title"
}
}
}
- List recent posts:
{
"tool": "list-documents",
"arguments": {
"type": "post",
"limit": 5
}
}
- Get schema for posts:
{
"tool": "get-schema",
"arguments": {
"type": "post"
}
}
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Therapist adept at identifying core issues and offering practical advice with images.
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/agentience/practices_mcp_server
Mirror ofhttps://github.com/bitrefill/bitrefill-mcp-server
Reviews

user_Cp0x7PB1
Sanity-mcp-server by jlmelis is an exceptional tool for managing MCP applications. The server is user-friendly, well-documented, and integrates seamlessly with various systems. The performance is remarkable, providing stable and efficient service without any hitches. Highly recommend this for anyone looking for a reliable MCP server!