Sanity MCP Server (official)
OfficialRead + write
Run GROQ queries, create and patch documents (edits go to drafts or release versions, never straight to published content), publish and unpublish, create releases, validate documents against the schema (beta), upload images and files to datasets or Media Library, generate or transform images with AI, deploy schemas and hosted Studios, and manage projects, datasets and CORS origins.
| Connects to | Sanity (headless CMS / Content Lake) |
|---|---|
| Official or community | Official |
| Maintainer | Sanity |
| Docs / repo | https://www.sanity.io/docs/ai/mcp-server |
| Endpoint / install | https://mcp.sanity.io |
| Hosting | Remote |
| Read-only or write | Read + write |
| Authentication | OAuth (default), or a Sanity API token in the Authorization header; npx sanity@latest mcp configure uses your CLI login |
| Supported clients | Claude Code, Cursor, VS Code, OpenCode, v0, Lovable, Replit, Codex (documented); ChatGPT web upload tool; any MCP client |
| Last updated | 2026-11-13 (MCP registry publishedAt (io.sanity.www/mcp v2.46.2)) |
| Cost | Sanity account required; most tools are standard API calls that don't use AI credits, but generate_image and transform_image consume Sanity AI credits |
| License | MIT (agent-toolkit repo) |
| MCP registry | io.sanity.www/mcp |
Sources
- https://www.sanity.io/docs/ai/mcp-server
- https://github.com/sanity-io/agent-toolkit
- https://registry.modelcontextprotocol.io/v0/servers?search=io.sanity.www/mcp
Checked 2026-11-23. “Unknown” means we could not verify it. This server can make changes. Keep your client’s approval prompts on and start with a test account.