# Sanity

> Use this tool when you need to integrate AI agents with your Sanity workspace for advanced content management operations. It enables agents to execute GROQ queries, manage releases, and patch documents, eliminating manual context supply. Ideal for use cases requiring automated content updates and schema-aware interactions, with inputs including GROQ queries and document updates, and outputs including executed queries and updated documents.

Canonical page: https://skillsregistry.net/skills/sanity  
JSON: https://api.skillsregistry.net/v1/skills/sanity

## Description

Enable AI agents to interact with your Sanity workspace through the Model Context Protocol (MCP).

The Sanity Model Context Protocol (MCP) server enables AI assistants like Claude Code and Cursor to interact directly with your Sanity projects.

With the MCP server, agents can go beyond code generation and perform advanced content management operations in your Sanity projects—execute GROQ queries, manage releases, and patch documents with full awareness of your schema, eliminating the need to manually supply context.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-05-12

## Source

- **Source listing:** [Smithery](https://smithery.ai/server/sanity)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "sanity"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/sanity` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/sanity/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
