Sanity MCP server
Sanity's hosted MCP server for its content platform, providing schema exploration, GROQ query execution, document patching, release management, and project resource administration. OAuth is the default authentication, with API-token Bearer auth as an alternative; a subset of AI-inference tools consumes Sanity AI credits.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
OAuth sign-inEndpoint checked 2026-10-05
MCP endpoint (Streamable HTTP)
https://mcp.sanity.ioWhat you can do with it
- Explore a Sanity project's schema from an AI editor.
- Run GROQ queries against a dataset.
- Patch documents and manage content releases.
- Create datasets and API tokens via project management tools.
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http sanity https://mcp.sanity.ioCodex
Codex configuration
codex mcp add sanity --url https://mcp.sanity.ioCursor
Cursor configuration
{
"mcpServers": {
"sanity": {
"url": "https://mcp.sanity.io"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"sanity": {
"type": "streamableHttp",
"url": "https://mcp.sanity.io",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"sanity": {
"type": "http",
"url": "https://mcp.sanity.io"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http sanity https://mcp.sanity.ioClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"sanity": {
"url": "https://mcp.sanity.io"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"sanity": {
"serverUrl": "https://mcp.sanity.io"
}
}
}Other data and analytics servers
Do you run Sanity?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.