Sanity MCP
Query content with GROQ, manage schemas, deploy studios, and run editorial workflows on your Sanity projects.
Add Sanity MCP to your agent
Hosted OAuth server at mcp.sanity.io. Run npx sanity@latest mcp configure for CLI-guided setup. Token auth via Authorization header is also supported.
1Config location
Global: ~/.cursor/mcp.json or project: .cursor/mcp.json
2Copy this snippet
{
"mcpServers": {
"Sanity": {
"type": "http",
"url": "https://mcp.sanity.io"
}
}
}
Add this block under mcpServers, then restart Cursor.