PluginInstalls cleanly

Manage Sanity CMS content

Sanity plugin

Sanity's official plugin connects your assistant to Sanity CMS to model content, query and edit documents, deploy schemas and follow SEO rules.

Works with
Claude Code, Codex CLI, Gemini CLI
Good for
Web developers, Build an app

What it does

Sanity is a headless CMS. Your content lives in Sanity, and your website (Next.js, Astro and others) pulls it in. This plugin connects your assistant to Sanity's hosted MCP server and adds best-practice skills.

What you get:

  • MCP tools to run GROQ queries, create and edit documents, publish and unpublish them, manage releases, deploy schemas and Studios, and search Sanity's docs
  • skills for content modelling, Sanity best practices, migrations, Studio upgrades, Portable Text, content experiments, and SEO/AEO (structured data, sitemaps, hreflang)
  • commands /sanity:sanity, /sanity:sanity-review, /sanity:typegen and /sanity:deploy-schema

Example prompts

  • "Design a content model for a blog with authors, categories and SEO fields."
  • "Find all posts with no meta description."
  • "/sanity:sanity-review"
  • "Add JSON-LD and a sitemap to my Next.js site that uses Sanity."

How to install

/plugin install sanity@claude-plugins-official

How to use it

Install, sign in to Sanity when /mcp asks, then ask: Design a content model for a blog with authors and categories. Commands include /sanity:sanity-review.

Check it works

In Claude Code, run /plugin and check that sanity is installed. Run /mcp, sign in to Sanity, then ask "whoami" to check the connection (whoami is a read-only tool).

Common problems

Other assistants

  • Codex: codex mcp add Sanity --url https://mcp.sanity.io, or codex plugin marketplace add sanity-io/agent-toolkit and install Sanity from the plugin directory (README).
  • Gemini CLI: the README and Sanity's MCP docs give no Gemini CLI command. The README says any MCP client can add https://mcp.sanity.io as the server URL, and npx skills add sanity-io/agent-toolkit adds the skills.

What to watch out for

  • The Sanity server (https://mcp.sanity.io, sign-in needed) can create, edit, publish and unpublish documents and deploy schemas and Studios in your real project; publishing changes your live site, so read each step before you approve
  • The deploy-schema command runs npx sanity schemas deploy, which changes the schema of your Sanity project
  • generate_image, transform_image and create_version with an instruction use Sanity AI credits (README); the pricing page lists 1,000 AI credits a month on Free and Growth
  • The give_feedback tool sends reports to Sanity
  • The repo's AGENTS.md is written as instructions for the assistant: it tells the assistant to always deploy the schema after schema changes and to prefer MCP writes; the plugin does not install it, so copy it into your project only if you want your assistant to follow those rules
  • Anthropic's directory pins commit 88d6cdf (2026-09-16), 5 commits behind main; the 2 newest skills (singletons, form component suspense) are only on main

Licence and author

Licence
MIT
Author
Sanity
Source code
github.com/sanity-io/agent-toolkit

How we tested it

We installed it on an empty test computer on 26 Oct 2026. Installed and started in a clean test system. Not yet used in a real AI session.

Test level

Not yet used on real work.

Technical details of the test
Date
26 Oct 2026
Method
Intake sandbox run on 2026-10-26 in a clean container with no account: cloned the repository and checked its skill, agent and plugin files; installed sanity@claude-plugins-official with the Claude Code command line.

Checked again on 26 Oct 2026

Alternatives

  • Build with WordPress — manages a WordPress.com site instead of a headless CMS
  • Wix Skills — for sites built on Wix

FAQ

  • Q: Does it cost money? A: The plugin is MIT. Sanity's pricing page lists a Free plan at $0 (20 seats, 2 public datasets, 10k documents) and Growth at $15 per seat a month (checked 2026-10-26). AI image tools use AI credits: 1,000 a month on Free and Growth, and extra credits cost $0.05 each on Growth.
  • Q: Can it change my live site? A: Yes, publishing documents or deploying a schema changes your real project. Read each step before you approve it.
  • Q: Do I need to code? A: Some. Sanity is usually used with a developer-built website.

Sources