Provides tools for interacting with Sanity.io content, including creating new documents, editing existing documents, listing documents of specific types, and retrieving schema templates based on document types.
Sanity MCP Server
This MCP server provides tools for interacting with Sanity.io content from Claude Desktop.
Installation
- Clone this repository
- Install dependencies:
- Create a
.env
file with your Sanity credentials:
Usage with Claude Desktop
- In Claude Desktop, go to Settings > MCP Servers
- Add a new server with these settings:
Available Tools
Create Document
Creates a new document in Sanity
Parameters:
type
: Document typecontent
: Document content
Example:
Edit Document
Edits an existing document
Parameters:
id
: Document IDcontent
: Updated content
List Documents
Lists documents of a specific type
Parameters:
type
: Document typelimit
: 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:
- Edit an existing post:
- List recent posts:
- Get schema for posts:
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server that enables Claude Desktop to interact with Sanity.io content, providing tools to create, edit, list documents and get schema templates.
Related Resources
Related MCP Servers
- -securityFlicense-qualityAn MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.Last updated -Python
- AsecurityFlicenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -11
- AsecurityFlicenseAqualityA server built with mcp-framework that allows users to extend Claude's capabilities by adding custom tools that can be used through the Claude Desktop client.Last updated -3677TypeScript
- AsecurityFlicenseAqualityAn MCP server that integrates with Claude Desktop for managing personal journal entries, providing both a web viewer for browsing journals and tools for adding, searching, and analyzing journal content.Last updated -601TypeScript