MCP Catalogs
Homeagent-toolkit screenshot

agent-toolkit

by sanity-io·137·Score 49

MCP server providing direct access to Sanity projects with content management tools and development best practices.

developer-toolsai-llmdatabase
18
Forks
10
Open issues
this month
Last commit
2d ago
Indexed

Overview

The Sanity Agent Toolkit is a comprehensive MCP server that connects AI agents directly to Sanity projects, enabling content creation, management, and deployment. It provides tools for querying documents, creating content from JSON/Markdown, managing document lifecycles, deploying schemas, and more. The toolkit also includes best practice skills for content modeling, SEO/AEO, and experimentation, following Agent Skills format.

Try asking AI

After installing, here are 7 things you can ask your AI assistant:

you:Create and manage Sanity content through AI agents using MCP tools
you:Deploy and update Sanity schemas programmatically
you:Apply Sanity best practices automatically during development
you:Generate and transform images within Sanity content
you:What authentication method does the Sanity MCP server use?
you:Which MCP clients are compatible with the Sanity Agent Toolkit?
you:What capabilities does the MCP server provide?

When to choose this

Choose this if you're already using Sanity CMS and want AI agents to directly interact with your content management system, schemas, and releases.

When NOT to choose this

Don't choose this if you're not using Sanity CMS, as it requires integration with their platform and provides no value for other CMS systems.

Tools this server exposes

12 tools extracted from the README
  • query_documents

    Run GROQ queries directly

  • create_documents_from_json

    Create draft documents from JSON

  • create_documents_from_markdown

    Create draft documents from Markdown

  • patch_document_from_json

    Make surgical edits to existing documents using JSON

  • patch_document_from_markdown

    Edit existing documents using Markdown

  • publish_documents

    Publish documents to make them publicly available

  • unpublish_documents

    Unpublish documents to hide them from public view

  • deploy_schema

    Deploy schema changes to Sanity

  • get_schema

    Retrieve current schema information

  • create_version

    Create version documents for releases

  • generate_image

    Generate AI images with Sanity

  • transform_image

    Edit existing images with AI tools

Comparable tools

strapi-mcpcontentful-mcpheadless-cms-toolsdirect-api-access

Installation

Quick Install

For most MCP-compatible clients:

npx sanity@latest mcp configure

Manual Install

Add to your MCP configuration (format varies by client):

{
  "mcpServers": {
    "Sanity": {
      "type": "http",
      "url": "https://mcp.sanity.io"
    }
  }
}

Claude Desktop Configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "Sanity": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.sanity.io", "--transport", "http-only"]
    }
  }
}

FAQ

What authentication method does the Sanity MCP server use?
It uses your logged-in CLI user for authentication. No manual tokens or OAuth needed when using the Sanity CLI to configure. For other clients, OAuth authentication is required.
Which MCP clients are compatible with the Sanity Agent Toolkit?
The server works with Cursor, VS Code, Claude Code, Lovable, v0, Codex, Replit, OpenCode, and any other MCP-compatible clients. It also supports Agent Skills format for compatible agents.
What capabilities does the MCP server provide?
Tools include document querying (GROQ), content creation (JSON/Markdown), document patching, publishing/unpublishing, schema management, versioning, image generation/transformation, Sanity documentation search, and rule management.

Compare agent-toolkit with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.