MCP.so
ログイン

Sanity MCP Server

@jlmelis

Sanity MCP Server について

MCP for interacting with Sanity IO projects.

基本情報

カテゴリ

その他

ランタイム

node

トランスポート

stdio

公開者

jlmelis

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは 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

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.

コメント

「その他」の他のコンテンツ