Collection of resources to help AI agents build better with Sanity. Supports Cursor, Claude Code, Codex, VS Code, Lovable, v0, Replit, OpenCode, and any other editor/agent compatible with MCP or…
Sanity is an MCP project maintained in the sanity-io/agent-toolkit repository. The maintainer describes its purpose as “Collection of resources to help AI agents build better with Sanity. Supports Cursor, Claude Code, Codex, VS Code, Lovable, v0, Replit, OpenCode, and any other…”. Read the project documentation for the complete scope.
The maintainer’s configuration uses https://mcp.sanity.io. It declares streamable-http transport. Check the project’s account and authentication instructions when adding the endpoint to your client.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| query_documents | run GROQ queries directly |
| create_documents | create draft documents from structured content, or version documents when a release ID is provided |
| patch_documents | surgical edits to existing documents; published documents are edited by creating or updating drafts |
| deploy_studio | deploy a hosted Studio bound to an MCP-managed schema |
| create_version | create version documents for releases |
| whoami | verify the authenticated Sanity user |
| get_project_studios | list Studio applications linked to a project |
| give_feedback | report MCP tool errors, missing capabilities, confusing output, or documentation issues |
{
"mcpServers": {
"Sanity": {
"type": "http",
"url": "https://mcp.sanity.io"
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.