MCP.so
Sign In

Sanity MCP Server

@jlmelis

About Sanity MCP Server

MCP for interacting with Sanity IO projects.

Basic information

Category

Other

Runtime

node

Transports

stdio

Publisher

jlmelis

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": ""
      }
    }
  }
}

Tools

No tools detected

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

FAQ from Sanity MCP Server

What tools does Sanity MCP Server provide?

It offers four tools: Create Document, Edit Document, List Documents, and Get Schema.

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.

What runtime does it require?

It runs on Node.js; the command is node pointing to src/sanity-mcp-server.ts.

How do I get the best schema results?

Manually create at least one document of each type before using the Get Schema tool.

Is there a limit for listing documents?

You can set a limit parameter; the default is 10 documents.

Comments

More Other MCP servers