AgentTask Atlas

MCP server · Sanity

Sanity MCP Server (hosted)

Pick it when the agent works on a Sanity-backed site and should query content, evolve schemas and draft documents itself; edits land as drafts, but use a token with a limited role if it should not publish or touch datasets.

Install

Run `npx sanity@latest mcp configure` to set up detected editors, or add it manually: Claude Code `claude mcp add Sanity -t http https://mcp.sanity.io --scope user`, then authenticate with OAuth; in Cursor or VS Code add an http server with url https://mcp.sanity.io and sign in when prompted. Official install docs ↗

Credentials: Sanity account via OAuth (default) or a Sanity API token in an `Authorization: Bearer` header, limited to that token's role.

What it can access

Acts on your Sanity organization within your role: runs GROQ queries, reads and deploys schemas, creates, patches, publishes and unpublishes documents and release versions, uploads assets, manages datasets, projects and CORS origins, deploys a managed Studio, runs a limited subset of Sanity CLI commands, and searches Sanity docs. generate_image and transform_image spend AI credits.

Details

Type
MCP server
Tasks
Databases & SQLInfra & deploy
Compatible agents
Claude Code, Codex, Cursor, VS Code, OpenCode, v0, Lovable, Replit, Gemini CLI, Zed (source: clients with setup steps in the official Sanity docs (sanity.io/docs/ai/mcp-server), including those `npx sanity@latest mcp configure` sets up)
Maintenance
Hosted remote server https://mcp.sanity.io (GA since v2.6.0, 2025-12-11); changelog v2.44.0 on 2026-10-27. The old open-source sanity-io/sanity-mcp-server repo is archived and points to the hosted server.
License
Not stated (hosted service)
Source
https://www.sanity.io/docs/ai/mcp-server
Verified on
2026-10-28

No independent security audit: entries summarize official sources only. Review permissions and code before installing.

Compared in: Best MCP servers for Infra & deploy in Cursor · Best MCP servers for Databases & SQL in Cursor · Best MCP servers for Databases & SQL · Best MCP servers for Infra & deploy

Badge for your README (maintainers)

The badge only says it's listed; it is not a security review or an endorsement.

Listed on AgentTask Atlas

← All MCP servers and skills