MCP.so
登录

Sanity MCP Server

@jlmelis

基本信息

分类

其他

传输方式

stdio

作者

jlmelis

关于 Sanity MCP Server

MCP for interacting with Sanity IO projects.

#sanity-mcp#sanity-io#mcp-server

Sanity MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "sanity-mcp": {
      "command": "node",
      "args": [
        "src/sanity-mcp-server.ts"
      ],
      "env": {
        "SANITY_PROJECT_ID": "",
        "SANITY_DATASET": "",
        "SANITY_TOKEN": ""
      }
    }
  }
}

Sanity MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

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.

评论

其他 分类下的更多 MCP 服务器