
ivo-toby/contentful-mcp 是从 https://github.com/ivo-toby/contentful-mcp. 导入的 MCP 服务器候选
概览
ivo-toby/contentful-mcp 是从 https://github.com/ivo-toby/contentful-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
通知
这是一个社区驱动的服务器!Contentful 发布了一个官方服务器,你可以在这里找到
一个与Contentful内容管理API集成的MCP服务器实现,提供全面的内容管理功能。
- 请注意 *;如果你对代码不感兴趣,只想在 Claude Desktop(或其他能使用 MCP 服务器的工具)你不必这么做 克隆这个仓库,你可以直接在Claude桌面里设置,参考相关部分 “使用 Claude Desktop”,了解如何安装。
特色
- 内容管理:条目和资产的完整CRUD操作
- 评论管理:创建、检索和管理条目评论,支持纯文本和富文本格式,包括线程对话
- 空间管理:创建、更新和管理空间和环境
- 内容类型:管理内容类型定义
- 本地化:支持多地点
- 发布:控制内容发布工作流程
- 批量操作:执行多个条目和资产的批量发布、卸发布和验证
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Contentful MCP Server
Notice
This is a community driven server! Contentful has released an official server which you can find here
An MCP server implementation that integrates with Contentful’s Content Management API, providing comprehensive content management capabilities.
- Please note *; if you are not interested in the code, and just want to use this MCP in Claude Desktop (or any other tool that is able to use MCP servers) you don’t have to clone this repo, you can just set it up in Claude desktop, refer to the section “Usage with Claude Desktop” for instructions on how to install it.
Features
- Content Management: Full CRUD operations for entries and assets
- Comment Management: Create, retrieve, and manage comments on entries with support for both plain-text and rich-text formats, including threaded conversations
- Space Management: Create, update, and manage spaces and environments
- Content Types: Manage content type definitions
- Localization: Support for multiple locales
- Publishing: Control content publishing workflow
- Bulk Operations: Execute bulk publishing, unpublishing, and validation across multiple entries and assets
- Smart Pagination: List operations return maximum 3 items per request to prevent context window overflow, with built-in pagination support
Pagination
To prevent context window overflow in LLMs, list operations (like search_entries and list_assets) are limited to 3 items per request. Each response includes:
- Total number of available items
- Current page of items (max 3)
- Number of remaining items
- Skip value for the next page
- Message prompting the LLM to offer retrieving more items
This pagination system allows the LLM to efficiently handle large datasets while maintaining context window limits.
Bulk Operations
The bulk operations feature provides efficient management of multiple content items simultaneously:
- Asynchronous Processing: Operations run asynchronously and provide status updates
- Efficient Content Management: Process multiple entries or assets in a single API call
- Status Tracking: Monitor progress with success and failure counts
- Resource Optimization: Reduce API calls and improve performance for batch operations
These bulk operation tools are ideal for content migrations, mass updates, or batch publishing workflows.
Tools
安装
npx -y @ivotoby/contentful-management-mcp-server配置
{
"mcpServers": {
"contentful": {
"command": "npx",
"args": ["-y", "@ivotoby/contentful-management-mcp-server"],
"env": {
"CONTENTFUL_MANAGEMENT_ACCESS_TOKEN": "<Your CMA token>"
}
}
}
}