Skip to content
appsgit

Sanity

Sanity is an MCP server that adds developer tools to AI assistants such as Claude Code, Cursor and VS Code. Direct access to your Sanity projects (content, datasets, releases, schemas) and agent rules. It has 187 GitHub stars, is released under the MIT license and runs as a remote server at https://mcp.sanity.io.

github.com/sanity-io/agent-toolkit (opens in a new tab)

Install Sanity

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

Settings > Connectors > Add custom connector
URL: https://mcp.sanity.io

Remote servers are added as a custom connector, not in claude_desktop_config.json.

Claude Code

claude mcp add --transport http sanity "https://mcp.sanity.io"

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "sanity": {
      "url": "https://mcp.sanity.io"
    }
  }
}

VS Code

.vscode/mcp.json
{
  "servers": {
    "sanity": {
      "type": "http",
      "url": "https://mcp.sanity.io"
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Tools (14)

Parsed from the Tools section of the README; check the repository for the current list.

  • query_documents

    run GROQ queries directly

  • create_documents

    create draft documents from structured content, or version documents when a release ID is provided

  • patch_documents

    surgical edits to existing documents; published documents are edited by creating or updating drafts

  • publish_documents

    / unpublishdocuments — manage document lifecycle

  • deploy_schema

    / getschema — deploy MCP-managed schemas and inspect deployed schemas

  • deploy_studio

    deploy a hosted Studio bound to an MCP-managed schema

  • create_release

    / listreleases — create and inspect Content Releases

  • create_version

    create version documents for releases

  • generate_image

    / transformimage — AI image generation and editing

  • whoami

    verify the authenticated Sanity user

  • get_project_studios

    list Studio applications linked to a project

  • search_docs

    / readdocs — search and read Sanity documentation

  • list_sanity_rules

    / getsanityrules — load agent rules on demand

  • give_feedback

    report MCP tool errors, missing capabilities, confusing output, or documentation issues

About Sanity

Collection of resources to help AI agents build better with Sanity. Supports Cursor, Claude Code, Codex, VS Code, Lovable, v0, Replit, OpenCode, and any other editor/agent compatible with MCP or Agent Skills.

  • ai-rules
  • claude-code
  • claude-code-plugin
  • cursor-ai
  • mcp
  • mcp-server
  • vs-code
  • agent-rules

FAQ

Sanity FAQ

Still curious? Email info@appsgit.com.

What is Sanity?

Sanity is an MCP server that adds developer tools to AI assistants such as Claude Code, Cursor and VS Code. Direct access to your Sanity projects (content, datasets, releases, schemas) and agent rules. It has 187 GitHub stars, is released under the MIT license and runs as a remote server at https://mcp.sanity.io. The source code is at github.com/sanity-io/agent-toolkit.

How do I install the Sanity MCP server?

It is a remote MCP server at https://mcp.sanity.io. Add it with claude mcp add --transport http in Claude Code, as a url entry in .cursor/mcp.json or .vscode/mcp.json, or as a custom connector in the Claude apps.

Is Sanity free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Sanity actively maintained?

The most recent commit was on Sep 16, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.