Content and CMS - official Sanity server
Sanity MCP server
Hosted MCP server that lets agents run GROQ queries, create, patch and publish documents, manage releases, schemas, datasets, CORS origins and Media Library assets in Sanity projects, plus search Sanity docs and load best-practice rules. Sanity hosts it at https://mcp.sanity.io with OAuth or API key auth.
Last verified 15 tools2 sources
Install
Claude Code
About Claude Codeclaude mcp add Sanity -t http https://mcp.sanity.io --scope userCodex
About Codexcodex mcp add Sanity --url https://mcp.sanity.ioCursor
About Cursor{
"mcpServers": {
"Sanity": {
"type": "http",
"url": "https://mcp.sanity.io"
}
}
}VS Code
{
"servers": {
"Sanity": {
"type": "http",
"url": "https://mcp.sanity.io"
}
}
}Generic
{
"mcpServers": {
"Sanity": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.sanity.io",
"--transport",
"http-only"
]
}
}
}Tools
query_documents- Query documents from Sanity using GROQ.
get_document- Fetch a single document by its exact ID.
create_documents- Create one or more draft documents by directly providing structured content.
patch_documents- Update existing documents with @sanity/client patch() operations, saved to the draft or release version.
publish_documents- Publish one or more drafts.
unpublish_documents- Unpublish one or more published documents (moves them back to drafts).
get_schema- Fetch a deployed schema.
deploy_schema- Directly deploy schema types to the cloud.
deploy_studio- Deploy a managed Sanity Studio bound to an MCP-managed schema.
create_release- Create a new release for grouping content changes.
create_version- Create a version document for a specific release.
list_projects- Lists all Sanity projects associated with your account.
create_dataset- Creates a new dataset with specified name and access settings.
generate_image- Trigger async AI image generation for a document field (consumes AI credits).
search_docs- Search Sanity docs.
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- OAuth is the default; an API token can be supplied instead via an Authorization: Bearer header, in which case OAuth is not used.
- OAuth sessions typically expire after 7 days.
- Quick setup for Cursor, VS Code and Claude Code: npx sanity@latest mcp configure (uses the logged-in CLI user's token). generate_image and transform_image consume Sanity AI credits.
- The tool set may vary as Sanity releases updates, and tool availability depends on project and dataset permissions.
- The hosted server is not open source; sanity-io/agent-toolkit (MIT) holds client configs, agent skills and plugins and has no tagged releases.
- Codex snippet comes from the agent-toolkit README.
- Also available as a Claude Code plugin (/plugin install sanity@claude-plugins-official) and on the Cursor Marketplace.
More MCP servers for content and CMS
- Adobe
AEM MCP server
Unified Adobe-hosted MCP server for AEM as a Cloud Service covering content operations on pages, content fragments and assets, Experience Governance checks, and Cloud Manager programs, environments and pipelines. Requests run under the signed-in user's AEM permissions.
Transport: Streamable HTTPAuth: OAuth - beehiiv
beehiiv MCP server
Hosted MCP server that connects an AI client to a beehiiv workspace to draft and edit posts and templates, manage subscribers, segments, automations, podcasts and monetisation, and read analytics. Publishing posts and activating automations remain manual actions in the beehiiv app.
Transport: Streamable HTTPAuth: OAuth - Contentful
Contentful MCP server
Contentful offers a hosted remote MCP server and an open-source local server that let agents manage entries, content types, assets, releases, locales, taxonomy, environments and AI Actions in Contentful spaces. Both expose the same core toolset and differ in authentication and access gating.
Transport: Streamable HTTP, stdioAuth: OAuth or API key - GhostStatus: Beta
ghst CLI MCP server mode
Ghost's official ghst CLI has an MCP server mode, run over stdio or local HTTP, that exposes Ghost Admin API tool groups (posts, pages, tags, members, comments, settings, stats, social web and more) to MCP clients.
Transport: stdio, Streamable HTTPAuth: API key - IBMStatus: Preview
IBM Content Services MCP server
MCP server that exposes IBM FileNet Content Manager capabilities to AI models in four configurations: core document and folder management, property extraction and classification, legal hold, and AI document insight.
Transport: stdioAuth: Other - Storyblok
Storyblok MCP server
Hosted MCP server that exposes the Storyblok Management API through a search, describe and execute workflow, so agents can read, create, update, delete and upload content and assets in a Storyblok space.
Transport: Streamable HTTPAuth: OAuth or API key
Related reading
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
- MCP Client Features: Sampling, Elicitation and Roots ExplainedMCP sampling, elicitation and roots explained against the 2026-07-28 spec, with JSON-RPC examples and which of 24 clients support each one.
- REA vs leanrea: Skill or MCP for Reverse Engineering Agents?leanrea is an 8 KB skill pitched as a replacement for the REA (Reverse Engineer Anything) MCP server. What its benchmark shows, what it skips, and which to install.
- How to Publish a Plugin to the Claude Directory (Developer Portal Guide)Submit a plugin to the Claude directory: validate it, clear the security scan, publish, and read 90 days of usage analytics. Needs a paid plan.
- ChatGPT Plugin Extensions: Sidebar Apps, Panels and File EditorsChatGPT plugins can now add sidebar apps, side panels, file editors and native forms. How openai/ui entrypoints work, with type-checked code.
FAQ
What does the Sanity MCP server do?
Hosted MCP server that lets agents run GROQ queries, create, patch and publish documents, manage releases, schemas, datasets, CORS origins and Media Library assets in Sanity projects, plus search Sanity docs and load best-practice rules. The vendor documents 15 tools, including query_documents, get_document, create_documents and patch_documents.
How do I add the Sanity MCP server to Claude Code?
Run claude mcp add Sanity -t http https://mcp.sanity.io --scope user, copied from Sanity's docs. This page also has snippets for Codex, Cursor, VS Code and Generic.
Does the Sanity MCP server need authentication?
Yes, OAuth or API key. Transport: Streamable HTTP. Status: Unlabelled, last checked October 17, 2026.
Sources
Last verified against 2 Sanity pages, then re-checked independently.
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.