Sanity MCP Server

Developmentstdiohttp-streaming
Репозиторий

Sanity's official MCP server that connects structured content to AI agents. Provides tools to run GROQ queries, read and write documents, explore and deploy schemas, manage content releases, and generate images, all with full schema context. Available as a hosted remote server at mcp.sanity.io and works with MCP-compatible clients like Cursor, Claude Code, and VS Code.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

Подключение:
{
  "mcpServers": {
    "sanity": {
      "command": "npx",
      "args": [],
      "env": {
        "SANITY_PROJECT_ID": "<YOUR_SANITY_PROJECT_ID>",
        "SANITY_DATASET": "<YOUR_SANITY_DATASET>",
        "SANITY_API_TOKEN": "<YOUR_SANITY_API_TOKEN>"
      }
    }
  }
}

Инструменты (3)

query_documents

Run a GROQ query to fetch documents from the Sanity dataset.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "GROQ query string"
    }
  }
}

create_document

Create a new document in the Sanity dataset.

{
  "type": "object",
  "required": [
    "document"
  ],
  "properties": {
    "document": {
      "type": "object",
      "description": "Document body including its _type"
    }
  }
}

get_schema

Retrieve the schema types configured for the Sanity project.

{
  "type": "object",
  "properties": {}
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
Sanity (@sanity-io)
Репозиторий
https://github.com/sanity-io/sanity-mcp-server
Звёзды
0
Последнее обновление
12 июля 2026 г.