Lets agents run GROQ queries, patch and publish documents, manage releases, and deploy schemas in Sanity projects over a hosted OAuth MCP server.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your assistant, with Sanity MCP connected:
- GROQ Queries
Use Sanity MCP to run GROQ queries against a dataset: ‹what you need›
- Document Editing
Use Sanity MCP to create documents: ‹what you need›
- Schema Deployment
Use Sanity MCP to fetch and list deployed schemas: ‹what you need›
Connect it over MCP
Connect Sanity MCP as an MCP server, following its setup instructions at https://www.sanity.io/docs/ai/mcp-server
Its page: sanity.io/docs/ai/mcp-server
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- MCP
- Auth
- OAuth 2.0
- Skills
- 5
Skills
GROQ Queries
Runs GROQ queries against a dataset with query_documents and fetches single documents with get_document.
Document Editing
Creates, patches, publishes, and unpublishes documents, and discards drafts, with awareness of the deployed schema.
Schema Deployment
Fetches and lists deployed schemas, deploys schema types to the cloud, and deploys a managed Sanity Studio.
Release Management
Creates and lists content releases and creates document versions that belong to a release.
Asset Uploads
Uploads images and files from a public URL or a prepared one-use upload URL into a dataset or a Media Library.