Sanity Agent Toolkit
Coding agent skill package · Free
Sanity's official toolkit with skills and MCP for content schemas, GROQ queries, datasets, and preparing headless CMS changes.
Also known as: sanity-io/agent-toolkit

What you can use for free
The package code and instructions are available under the stated license; the installed agent and required dependencies must be provided separately.
Paid features and costs
Sanity hosting and paid AI models are paid for separately.
Access and limitations
The package code and instructions are available under the stated license; the installed agent and required dependencies must be provided separately. Sanity hosting and paid AI models are paid for separately.
Use cases
- Connect the toolkit to a test dataset and review its schema.
- Create a content model change and check GROQ against sample documents.
Example workflow
A possible workflow; this is not a report of hands-on testing.
Sanity's official toolkit with skills and MCP for content schemas, GROQ queries, datasets, and preparing headless CMS changes.
Before you start
- A Sanity project, dataset, and document schema.
Steps
- Connect the toolkit to a test dataset and review its schema.
- Create a content model change and check GROQ against sample documents.
- Compare the result with the workflow's goal; after changing the project, run its standard checks.
Check your result
- Queries return the expected documents; content migration preserves references.
- Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.
Choosing Sanity Agent Toolkit
Connect the toolkit to a test dataset and review its schema.
Choose this when
- Connect the toolkit to a test dataset and review its schema.
- Create a content model change and check GROQ against sample documents.
Requirements
- Working with real datasets requires an authenticated Sanity account and appropriate permissions.
Things to consider
- Costs and limits of free use: Sanity hosting and paid AI models are paid for separately.
- Terms of use: MIT for the code and instructions in this repository; integrated products have separate licenses.
- A local skill copy does not update itself; an MCP connection may permit content modification and publication.
Frequently asked questions
What can you use for free in Sanity Agent Toolkit?
The package's code and instructions are available under the stated license; an installed agent and required dependencies must be provided separately.
What additional costs might arise with Sanity Agent Toolkit?
Sanity hosting and paid AI models are paid for separately.
What terms of use matter for Sanity Agent Toolkit?
MIT for the code and instructions in this repository; integrated products have separate licenses.
How do you get started with Sanity Agent Toolkit?
Connect the toolkit to a test dataset and review its schema. Create a content model change and check GROQ against sample documents. Compare the result with the workflow's goal; after changing the project, run its standard checks.
How do Sanity skills differ from MCP, and which operations change the project?
Skills provide best practices for content modeling, GROQ, SEO/AEO, and experimentation. MCP connects real projects: query/create/patch/publish documents, releases, and schemas. CLI configuration uses an authenticated CLI user, while manual setup uses OAuth or a bearer token. Image generation/transformation and create_version with an instruction consume Sanity AI credits.
License
MIT for the code and instructions in this repository; integrated products have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Sanity Agent Toolkit
- sanity-io
- Agent Skills