Sanity MCP Server
Sanity MCP サーバー
この MCP サーバーは、Claude Desktop から Sanity.io コンテンツを操作するためのツールを提供します。
インストール
このリポジトリをクローンする
依存関係をインストールします:
npm installSanity の資格情報を使用して
.envファイルを作成します。
SANITY_PROJECT_ID=your_project_id
SANITY_DATASET=your_dataset
SANITY_TOKEN=your_tokenRelated MCP server: MCP Tool
Claude Desktopでの使用
Claudeデスクトップで、[設定] > [MCPサーバー]に移動します。
次の設定で新しいサーバーを追加します。
{
"command": "node",
"args": ["src/sanity-mcp-server.ts"],
"env": {
"SANITY_PROJECT_ID": "your_project_id",
"SANITY_DATASET": "your_dataset",
"SANITY_TOKEN": "your_token"
}
}利用可能なツール
ドキュメントを作成
Sanityで新しいドキュメントを作成します
パラメータ:
type: 文書の種類content: ドキュメントコンテンツ
例:
{
"type": "post",
"content": {
"title": "My Post",
"body": [
{
"_type": "block",
"children": [
{
"_type": "span",
"text": "Hello world!"
}
]
}
]
}
}ドキュメントを編集
既存のドキュメントを編集します
パラメータ:
id: ドキュメントIDcontent:更新されたコンテンツ
ドキュメントの一覧
特定の種類のドキュメントを一覧表示します
パラメータ:
type: 文書の種類limit: 返されるドキュメントの最大数(デフォルト: 10)
スキーマを取得
既存のドキュメントに基づいてスキーマ テンプレートを取得します
**注:**最良の結果を得るには、このツールを使用する前に、各タイプのドキュメントを少なくとも 1 つ手動で作成してください。
パラメータ:
type: 文書の種類
使用例
新しいブログ投稿を作成します:
{
"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!"
}
]
}
]
}
}
}既存の投稿を編集する:
{
"tool": "edit-document",
"arguments": {
"id": "post-id-123",
"content": {
"title": "Updated Title"
}
}
}最近の投稿を一覧表示する:
{
"tool": "list-documents",
"arguments": {
"type": "post",
"limit": 5
}
}投稿のスキーマを取得します:
{
"tool": "get-schema",
"arguments": {
"type": "post"
}
}This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn 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.
- FlicenseDqualityDmaintenanceA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.11
- FlicenseCqualityDmaintenanceA 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.384
- AlicenseAqualityDmaintenanceAn 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.6312MIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jlmelis/sanity-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server