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
- What's New in Mastra (Late 2026): Harness, AgentController GA, Eval Gates and MCP 2.xMastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.
- MCP vs A2A vs Function Calling: Which Layer Does What in 2026MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.
- Pydantic AI V2 in Late 2026: Capabilities, Graphs, Evals and MCPPydantic AI V2 explained through v2.57.0: capabilities, typed output, Conversation storage, caching, graphs, evals, MCP Apps and Logfire, with checked code.
- Reverse Engineer Anything (REA): What the MCP Server Does and Where the Line IsREA (Reverse Engineer Anything) is an MIT-licensed MCP server that lets Claude Code, Codex or Cursor inspect binaries, Electron apps and APKs. How to try it.
- Claude Opus 5.5 Built a Browser 3D World: The Higgsfield MCP WorkflowClaude Opus 5.5 and Higgsfield MCP built an interactive 3D Library of Alexandria in the browser. The verified connector setup and where the workflow holds up.
- Pi 1.0 Release Guide: MCP, Codemode and Pi DurablePi 1.0 adds built-in MCP through Codemode, a fullscreen TUI by default and Pi Durable. What changed, how to install it, and what breaks on upgrade.
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.