Skip to main content
Glama

内容丰富的 MCP 服务器

模型上下文协议 (MCP) 服务器允许 Claude 直接与 Contentful CMS 数据交互。此集成使 Claude 能够从您的 Contentful 空间获取内容类型和条目。

特征

  • 从 Contentful 空间获取所有内容类型

  • 检索特定内容类型的条目

  • 结构化回复,方便人工智能助手使用

Related MCP server: microCMS MCP Server

先决条件

  • Node.js(v16 或更高版本)

  • 具有 API 密钥的 Contentful 帐户

  • Claude Desktop(将 MCP 服务器与 Claude 一起使用)

安装

  1. 克隆此存储库:

    git clone https://github.com/yourusername/contentful-mcp-server.git
    cd contentful-mcp-server

2.安装依赖项:npm install

使用您的 Contentful 凭据在根目录中创建一个 .env 文件:4. CONTENTFUL_SPACE_ID=your_space_id CONTENTFUL_ACCESS_TOKEN=your_access_token CONTENTFUL_ENVIRONMENT=develop CONTENTFUL_PREVIEW_ACCESS_TOKEN=your_preview_token

npm 运行构建

或者在你的 package.json 中配置构建脚本:“scripts”: { “build”: “tsc”, “start”: “node dist/index.js” }

##Claude 桌面配置

{
  "mcpServers": {
    "contentful": {
      "command": "node",
      "args": [
        "/absolute/path/to/contentful-mcp-server/dist/index.js"
      ]
    }
  }
}

Available Tools

2 tools
get-content-typesC

get content types

Inputs: no named parameters.

get-entriesC

Get entries for a specific content type

Inputs: contentType (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: get-content-types retrieves metadata about content types, while get-entries fetches actual content entries for a specific type. There is no overlap or ambiguity between these operations.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun naming pattern with hyphens (get-content-types and get-entries). The naming is predictable and uniform across the set.

    Tool Count2/5

    With only 2 tools, the server feels severely under-scoped for a Contentful MCP server, which typically involves content management operations like creating, updating, or deleting entries and content types. This minimal set limits functionality.

    Completeness2/5

    The toolset is significantly incomplete for a content management domain. It only provides read operations (get-content-types and get-entries), missing essential CRUD operations such as create, update, or delete for entries and content types, which are core to content management workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers