Skip to content

Menu

Contentstack MCP Server logo

Contentstack MCP Server

Published

At a glance

Hosted by the vendor
https://www.contentstack.com/docs/developers/contentstack-mcp-server
Watch out for
The cma group includes delete tools such as delete_an_entry, delete_content_type and delete_a_branch, so a token with write access lets the agent remove content.

Contentstack publishes its own MCP server as the npm package @contentstack/mcp. It runs locally over stdio: your client launches it with npx, and it talks to Contentstack's REST and GraphQL APIs on your behalf. The package links to a GitHub repo, but that repo is not public, so the npm listing and Contentstack's docs page are the reference points.

The server is split into API groups that you switch on with the GROUPS variable. The main ones are cma (78 tools for day-to-day content management) and cma-extended (22 tools for audit logs, version history and workflow inspection). Others include cda for published content, analytics, automations, brandkit, launch, developerhub, lytics and personalize. Only cma is on by default. The docs suggest keeping the set small, since every enabled tool definition is sent to the model on each turn.

Version 0.9.0 added stack-aware tool enrichment, which reads your content types, environments, locales and branches and writes them into tool schemas so the agent picks valid IDs. Contentstack also serves the raw tool definitions at https://mcp.contentstack.com/<group>/tools for anyone building their own client.

How it connects

Your AI app

An assistant or agent that supports MCP

Contentstack MCP Server

Runs as

  • npx (Node.js)

Gives the agent

  • Entries and assets
  • Content modelling
  • Branches and releases
  • Published content via CDN
  • Launch deployments
  • Wider platform

Contentstack

Signs in with

  • OAuth / browser sign-in
  • API key
Your AI app talks to Contentstack MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Entries and assets
The cma group covers the content lifecycle with tools such as get_all_entries, create_an_entry, update_an_entry, publish_an_entry, unpublish_an_entry and localize_an_entry, plus get_all_assets and publish_an_asset.
Content modelling
Agents can read and change schemas through get_all_content_types, create_a_content_type, export_content_type and get_all_global_fields, and manage taxonomies with create_a_taxonomy and create_a_term.
Branches and releases
Tools like create_a_branch, compare_branches and get_all_merge_jobs handle branching, while create_a_release, add_items_to_a_release and deploy_a_release bundle changes for publishing.
Published content via CDN
The cda group has four read tools: get_all_entries_cdn, get_a_single_entry_cdn, get_all_assets_cdn and get_a_single_asset_cdn, authenticated with a delivery token.
Launch deployments
The launch group can list projects and environments, call create_deployment or trigger_deploy_hook, read get_deployment_logs and get_server_logs, and run revalidate_cdn_cache.
Wider platform
Optional groups reach Automation Hub, BrandKit AI voice profiles and knowledge vault, Personalize audiences and experiences, Developer Hub apps, Lytics audiences and usage analytics.

Setting it up

You need Node.js 18 or later. For the cma, cma-extended, analytics, automations, brandkit, launch, developerhub and personalize groups, first run npx @contentstack/mcp --auth, which opens an OAuth flow and stores tokens and your region locally. If you only need content tools, you can skip OAuth and pass a management token instead: npx @contentstack/mcp --groups cma --stack-api-key <STACK_API_KEY> --management-token <MANAGEMENT_TOKEN> --region NA. Then register the server in your client. For Claude Desktop, add an entry under mcpServers in claude_desktop_config.json with "command": "npx", "args": ["-y", "@contentstack/mcp"] and an env block holding CONTENTSTACK_API_KEY and GROUPS (for example cma or cma,cma-extended), plus CONTENTSTACK_DELIVERY_TOKEN if you enable cda. Cursor takes the same block in ~/.cursor/mcp.json. Other groups need their own IDs: CONTENTSTACK_LAUNCH_PROJECT_ID and CONTENTSTACK_ORGANIZATION_UID for launch, CONTENTSTACK_BRAND_KIT_ID for brandkit, CONTENTSTACK_PERSONALIZE_PROJECT_ID for personalize and LYTICS_ACCESS_TOKEN for lytics. Set CONTENTSTACK_REGION (NA, EU, AU, AZURE_NA and so on) if you use a management token. Restart the client after saving.

Run in a terminal
claude mcp add contentstack -- npx -y @contentstack/mcp

Runs the @contentstack/mcp package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Inspect a content type and its references before a model change, then create the new fields on a branch and compare it with main.
  • Bulk publish or unpublish a set of entries to an environment, or collect them into a release and deploy it.
  • Localize entries into a new locale and check which variants exist for a given entry.
  • Look at a failed Launch deployment, read its logs, fix the config and trigger the deploy hook again.
  • Pull published entries from the CDN to draft documentation or test a frontend query.

Limitations and things to watch

  • The cma group includes delete tools such as delete_an_entry, delete_content_type and delete_a_branch, so a token with write access lets the agent remove content.
  • A management token only covers cma, cma-extended and cda; the other groups need the OAuth flow.
  • Each group needs its own IDs or tokens, and enabling many groups sends a long tool list to the model on every turn.
  • It is a local stdio server only, so each user runs it with Node.js 18 or later on their own machine.
  • The source repository linked from npm is not public, so you cannot audit the code before running it.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…