
Contentful
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive tools to interact with Contentful APIs.
README
Contentful MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive tools to interact with Contentful APIs.
🚀 Example Use Cases
This MCP server provides a comprehensive set of tools for content management, allowing AI to help you create, edit, organize, and publish content directly within Contentful. Once configured, you can use natural language in your AI assistant of choice to manage and interact with your Contentful spaces, including:
- Content Creation: "Create a new blog post for our fall product launch"
- Content Management: "Update all product entries to include the new pricing structure"
- Asset Organization: "Upload and organize these marketing images by campaign"
- Workflow Automation: "Create an AI action that translates content to Spanish"
- Content Modeling: "Add a new field to the product content type for customer ratings"
📓 Table of Contents
- ⚙️ Getting Started
- 🛠️ Available Tools
- 🔍 Development
- 📦 Releases
- 🤝 Contributing
- 📚 Documentation
- ❓ Help & Support
- 📄 License and Notices
- 🛡️ Code of Conduct
⚙️ Getting started
Prerequisites
- Node.js
- npm
- A Contentful account with a Space ID
- Contentful Management API personal access token
Installation
One-Click install
Note: This requires Cursor to be installed. If the link doesn't work, try the manual installation below.
Claude Desktop:
Download the .dxt configuration file here from the latest release and import it into Claude Desktop to automatically configure the MCP server with your environment variables.
Install from source
git clone https://github.com/contentful/contentful-mcp-server.git
cd contentful-mcp-server
npm install
npm run build
Environment Variables
Environment Variable | Required | Default Value | Description |
---|---|---|---|
CONTENTFUL_MANAGEMENT_ACCESS_TOKEN |
✅ Yes | - | Your Contentful Management API personal access token |
SPACE_ID |
✅ Yes | - | Your Contentful Space ID |
ENVIRONMENT_ID |
❌ No | master |
Target environment within your space |
CONTENTFUL_HOST |
❌ No | api.contentful.com |
Contentful API host |
NODE_ENV |
❌ No | production |
Node Environment to run in |
Configuration
Refer to the documentation for your AI tool of choice for how to configure MCP servers. For example, see the documentation for Cursor, VS Code, or Claude Desktop.
Below is a sample configuration:
{
"mcpServers": {
"contentful-mcp": {
"command": "npx",
"args": ["-y", "@contentful/mcp-server"],
"env": {
"CONTENTFUL_MANAGEMENT_ACCESS_TOKEN": "your-CMA-token",
"SPACE_ID": "your-space-id",
"ENVIRONMENT_ID": "master",
"CONTENTFUL_HOST": "api.contentful.com"
}
}
}
}
🛠️ Available Tools
Category | Tool Name | Description |
---|---|---|
Context & Setup | get_initial_context |
Initialize connection and get usage instructions |
Content Types | list_content_types |
List all content types |
get_content_type |
Get detailed content type information | |
create_content_type |
Create new content types | |
update_content_type |
Modify existing content types | |
publish_content_type |
Publish content type changes | |
unpublish_content_type |
Unpublish content types | |
delete_content_type |
Remove content types | |
Entries | search_entries |
Search and filter entries |
get_entry |
Retrieve specific entries | |
create_entry |
Create new content entries | |
update_entry |
Modify existing entries | |
publish_entry |
Publish entries (single or bulk) | |
unpublish_entry |
Unpublish entries (single or bulk) | |
delete_entry |
Remove entries | |
Assets | upload_asset |
Upload new assets |
list_assets |
List and browse assets | |
get_asset |
Retrieve specific assets | |
update_asset |
Modify asset metadata | |
publish_asset |
Publish assets (single or bulk) | |
unpublish_asset |
Unpublish assets (single or bulk) | |
delete_asset |
Remove assets | |
Spaces & Environments | list_spaces |
List available spaces |
get_space |
Get space details | |
list_environments |
List environments | |
create_environment |
Create new environments | |
delete_environment |
Remove environments | |
Locales | list_locales |
List all locales in your environment |
get_locale |
Retrieve specific locale information | |
create_locale |
Create new locales for multi-language content | |
update_locale |
Modify existing locale settings | |
delete_locale |
Remove locales from environment | |
Tags | list_tags |
List all tags |
create_tag |
Create new tags | |
AI Actions | create_ai_action |
Create custom AI-powered workflows |
invoke_ai_action |
Invoke an AI action with variables | |
get_ai_action_invocation |
Get AI action invocation details | |
get_ai_action |
Retrieve AI action details and configuration | |
list_ai_actions |
List AI actions in a space | |
update_ai_action |
Update existing AI actions | |
publish_ai_action |
Publish AI actions for use | |
unpublish_ai_action |
Unpublish AI actions | |
delete_ai_action |
Remove AI actions |
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for local development setup and contribution guidelines.
📦 Releases
This project uses Nx Release for automated versioning and publishing. Releases are automatically generated based on Conventional Commits. See Contributing Guide for more information on release process.
📚 Documentation
❓ Help & Support
📄 License and Notices
This project is licensed under the MIT License. See LICENSE for details.
It also includes open-source components licensed under MIT, BSD-2-Clause, and Apache-2.0. For details, see the NOTICE file.
This project includes an automated license management system that keeps track of all dependencies and their licenses. See the AUTOMATION-FOR-LICENSES file for more information.
🛡️ Code of Conduct
We want to provide a safe, inclusive, welcoming, and harassment-free space and experience for all participants, regardless of gender identity and expression, sexual orientation, disability, physical appearance, socioeconomic status, body size, ethnicity, nationality, level of experience, age, religion (or lack thereof), or other identity markers.
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。