Is the Contentful MCP server safe? What it can reach
What the Contentful MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Contentful maintains the official server in two forms: a hosted one with OAuth and a local npm one that uses a personal access token. It can publish and delete entries, assets, content types and environments. On the hosted server, an admin sets read-only or read/write by tool category for each environment.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Contentful MCP server, hosted (mcp.contentful.com) | Official | active |
| @contentful/mcp-server, local (contentful/contentful-mcp-server) | Official | active |
It runs as a local process on your machine or as a hosted remote server. The documented endpoint is https://mcp.contentful.com/mcp.
How it signs in
The hosted server uses OAuth 2.1, and each user signs in and acts under their own Contentful permissions. The local server uses a Content Management API personal access token, and that token is the only boundary.
What its tools can do
| Kind | Tools |
|---|---|
| Read | get_initial_context, search_entries, semantic_search, get_entry, get_entry_snapshot, resolve_entry_references, list_content_types, get_content_type, list_assets, get_asset, list_releases, get_release, validate_release, get_release_action, list_release_actions, list_scheduled_actions, list_spaces, get_space, list_environments, list_orgs, get_org, list_locales, get_locale, list_tags, get_ai_action, get_ai_action_invocation, list_ai_actions, list_concepts, get_concept, list_concept_schemes, get_concept_scheme, get_editor_interface, list_editor_interfaces, list_content_previews, get_entry_preview_url, get_usages |
| Write | create_entry, update_entry, patch_entry, archive_entry, unarchive_entry, create_content_type, update_content_type, disable_content_type_field, upload_asset, create_upload_session, update_asset, archive_asset, unarchive_asset, create_release, update_release, create_environment, create_locale, update_locale, create_tag, create_ai_action, invoke_ai_action, update_ai_action, create_concept, update_concept, create_concept_scheme, update_concept_scheme, update_editor_interface |
| Can’t be undone | publish_entry, unpublish_entry, publish_content_type, unpublish_content_type, publish_asset, unpublish_asset, publish_release, unpublish_release, schedule_publish_release, schedule_unpublish_release, cancel_scheduled_release, publish_ai_action, unpublish_ai_action, delete_entry, delete_content_type, delete_content_type_field, omit_content_type_field, delete_asset, delete_release, delete_environment, delete_locale, delete_ai_action, delete_concept, delete_concept_scheme |
Names come from Contentful’s docs page and the repo README together. The hosted server filters tools per environment by its MCP app settings, and the local server exposes everything the token allows. The README also lists patch_entry, delete_release, list_content_previews, get_entry_preview_url and get_usages, and the docs page adds tools such as taxonomy, editor interface and upload-session tools. Your version may list fewer or more.
Built-in limits
| Option | What it does |
|---|---|
Contentful MCP app allow-list | Admins install the app in each space and environment and choose which tool categories are allowed, as read-only or read/write. Disabled tools are rejected even if a client calls them. |
PROTECTED_ENVIRONMENTS | On the local server, a list of environment IDs where write and delete calls are blocked. Reads still work. invoke_ai_action is not guarded and org-level resources have no environment to check. |
Token permissions | The local server has no per-tool gating, so a minimum-permission personal access token is the only limit. |
Session scoping | On the hosted server you pick the spaces and environments at each connection. |
The risks
- publish_entry, publish_release and schedule_publish_release make content live on your site or apps, so an injected instruction could put wrong or off-brand copy in front of customers.
- delete_content_type, delete_environment and the field removal tools change or erase your content model, and content built on it can break or be lost.
- The local server accepts a personal access token and a spaceId on every call, so it can reach any space and environment that token can reach, not only the one in your config.
- Draft entries and assets often hold unreleased copy, and search_entries and get_entry send that text to the model.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http contentful https://mcp.contentful.com/mcpClaude Code names MCP tools mcp__contentful__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__contentful__delete_entry",
"mcp__contentful__delete_content_type",
"mcp__contentful__delete_content_type_field",
"mcp__contentful__omit_content_type_field",
"mcp__contentful__delete_asset",
"mcp__contentful__delete_release",
"mcp__contentful__delete_environment",
"mcp__contentful__delete_locale",
"mcp__contentful__delete_ai_action",
"mcp__contentful__delete_concept",
"mcp__contentful__delete_concept_scheme"
],
"ask": [
"mcp__contentful__create_entry",
"mcp__contentful__update_entry",
"mcp__contentful__patch_entry",
"mcp__contentful__archive_entry",
"mcp__contentful__unarchive_entry",
"mcp__contentful__create_content_type",
"mcp__contentful__update_content_type",
"mcp__contentful__disable_content_type_field",
"mcp__contentful__upload_asset",
"mcp__contentful__create_upload_session",
"mcp__contentful__update_asset",
"mcp__contentful__archive_asset",
"mcp__contentful__unarchive_asset",
"mcp__contentful__create_release",
"mcp__contentful__update_release",
"mcp__contentful__create_environment",
"mcp__contentful__create_locale",
"mcp__contentful__update_locale",
"mcp__contentful__create_tag",
"mcp__contentful__create_ai_action",
"mcp__contentful__invoke_ai_action",
"mcp__contentful__update_ai_action",
"mcp__contentful__create_concept",
"mcp__contentful__update_concept",
"mcp__contentful__create_concept_scheme",
"mcp__contentful__update_concept_scheme",
"mcp__contentful__update_editor_interface",
"mcp__contentful__publish_entry",
"mcp__contentful__unpublish_entry",
"mcp__contentful__publish_content_type",
"mcp__contentful__unpublish_content_type",
"mcp__contentful__publish_asset",
"mcp__contentful__unpublish_asset",
"mcp__contentful__publish_release",
"mcp__contentful__unpublish_release",
"mcp__contentful__schedule_publish_release",
"mcp__contentful__schedule_unpublish_release",
"mcp__contentful__cancel_scheduled_release",
"mcp__contentful__publish_ai_action",
"mcp__contentful__unpublish_ai_action"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.contentful]
url = "https://mcp.contentful.com/mcp"
disabled_tools = ["delete_entry", "delete_content_type", "delete_content_type_field", "omit_content_type_field", "delete_asset", "delete_release", "delete_environment", "delete_locale", "delete_ai_action", "delete_concept", "delete_concept_scheme"]Checklist
- Use the hosted server and enable read-only categories first.
- Protect your production environment with the MCP app or PROTECTED_ENVIRONMENTS.
- Deny the delete and field removal tools.
- Keep publish and schedule tools on a prompt so a person approves what goes live.
Checked against the vendor documentation on November 25, 2026. Contentful MCP server docs · contentful/contentful-mcp-server README
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing