Contentful MCP Server logo

Contentful MCP Server

Manage Contentful spaces through MCP using natural-language tools for content, assets, models, locales, tags, and environments.

Install Contentful MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "contentful-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@contentful/mcp-server"
      ],
      "env": {
        "CONTENTFUL_MANAGEMENT_ACCESS_TOKEN": "YOUR_VALUE_HERE",
        "SPACE_ID": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Contentful MCP Server connects AI assistants to the Contentful Management API for managing content in a specified space. It exposes MCP tools for entries, assets, content types, locales, tags, environments, and related content-management tasks. Run it with npx and provide a Contentful Management API token plus a Space ID. Reach for it when an agent needs to inspect or change Contentful content, model structures, or environment-scoped resources.

Use cases

  • Create and update entries in a Contentful space
  • Search entries by content criteria
  • Modify and publish content types
  • Organize assets and content metadata
  • Protect selected environments from write and delete operations

Key features

  • Contentful Management API access over MCP
  • Entry search and content management
  • Content type creation, editing, publishing, and deletion
  • Asset, locale, tag, and environment operations
  • Configurable protected environments
  • Space export with a configurable output directory

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars62Stargazers on the source repository.
npm downloads38kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.

How Contentful MCP Server works

What Contentful MCP Server does

Contentful MCP Server gives MCP-compatible AI assistants access to Contentful Management API operations. It is intended for managing a Contentful space through natural-language requests rather than requiring each operation to be performed manually in the Contentful interface or through custom scripts.

The server covers common content-management areas, including entries, assets, content types, locales, tags, and environments. Supported workflows include creating and updating content, organizing assets, changing content models, publishing or unpublishing content types, and searching entries. It also exposes operations related to Contentful AI actions and space export.

How it works

The server runs as a Node.js process and is commonly started with npx -y @contentful/mcp-server. An MCP client launches the process with environment variables that identify the Contentful space and provide authentication. Requests from the assistant are then translated into Contentful Management API operations.

Each installation targets one space through SPACE_ID. ENVIRONMENT_ID selects the environment used by environment-scoped operations and defaults to master. The Contentful host defaults to api.contentful.com, while EXPORT_BASE_DIR controls the server-side root directory for export_space output.

Setup and configuration

A Contentful account, a Space ID, a Contentful Management API personal access token, Node.js, and npm are required. The minimum configuration is:

config.json
{
  "command": "npx",
  "args": ["-y", "@contentful/mcp-server"],
  "env": {
    "CONTENTFUL_MANAGEMENT_ACCESS_TOKEN": "your-CMA-token",
    "SPACE_ID": "your-space-id"
  }
}

Set ENVIRONMENT_ID when the target is not master. CONTENTFUL_HOST, EXPORT_BASE_DIR, and NODE_ENV can be customized when needed. The repository can also be installed from source with npm install followed by npm run build.

The project documents setup paths for Claude Desktop, Cursor, Codex, and VS Code. Claude Desktop can import a DXT configuration from a release, Cursor provides a one-click installation link, and Codex can register the server with codex mcp add.

Tools and capabilities

The documented tool set includes:

  • get_initial_context for initializing the connection and returning usage instructions.
  • list_content_types and get_content_type for inspecting content models.
  • create_content_type, update_content_type, publish_content_type, unpublish_content_type, and delete_content_type for changing content types.
  • search_entries for finding and filtering entries.
  • Operations for managing entries, assets, locales, tags, environments, and other Contentful resources.
  • invoke_ai_action for invoking a Contentful AI action.
  • export_space for exporting space data to the configured export directory.

Limitations and notes

The management token determines what the assistant can do in Contentful. The optional PROTECTED_ENVIRONMENTS variable adds an MCP-level safeguard by blocking write and delete calls for listed, case-sensitive environment IDs. Reads remain available, and the guard does not affect direct Contentful SDK calls, the Contentful web app, organization-scoped concepts or concept schemes, or invoke_ai_action.

Unset or empty protection settings leave environments unprotected. The safeguard should therefore complement, rather than replace, Contentful role-based permissions. Export output is confined to the server-controlled base directory configured through EXPORT_BASE_DIR.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Contentful MCP Server

Contentful MCP Server is an MCP server that connects AI assistants to the Contentful Management API. Its main tools manage entries, assets, content types, locales, tags, and environments in a specified space, with additional capabilities for entry search, AI actions, and space export.

Install it by configuring your MCP client to run `npx -y @contentful/mcp-server`. Provide `CONTENTFUL_MANAGEMENT_ACCESS_TOKEN` and `SPACE_ID`, then optionally set the target environment and other configuration variables.

Yes, Contentful MCP Server works with Cursor. The project provides a Cursor one-click installation link and also supports manual MCP configuration with the server command and Contentful environment variables.

Configure it with `codex mcp add contentful`, passing the Contentful token, space ID, environment ID, and host as environment variables before the `npx -y @contentful/mcp-server` command.

Set `PROTECTED_ENVIRONMENTS` to a comma-separated list of exact environment IDs such as `master,staging`. Write and delete tool calls targeting those environments are blocked inside the MCP server, while read operations continue to work.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewContentful MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/contentful-mcp-server?style=directory)](https://allmcps.com/mcp/contentful-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/contentful-mcp-server"><img src="https://allmcps.com/api/badge/contentful-mcp-server?style=directory" alt="Contentful MCP Server on AllMCPs" /></a>