Contentful MCP Server

by tejedamiguel6

2 stars
204 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server that enables Claude to fetch content types and entries from a Contentful CMS space using structured responses.

Details

Author
tejedamiguel6
GitHub stars
2
Downloads
204
Categories
Other

- Fetch all content types from your Contentful space
- Retrieve entries for specific content types
- Structured responses designed for AI assistant consumption

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Contentful MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies, and create a .env file with your Contentful credentials (CONTENTFUL_SPACE_ID, CONTENTFUL_ACCESS_TOKEN, CONTENTFUL_ENVIRONMENT, CONTENTFUL_PREVIEW_ACCESS_TOKEN). Build the project with npm run build, then add the server to your Claude Desktop configuration using the MCP server JSON entry with the built dist/index.js path.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

Contentful MCP Server

A Model Context Protocol (MCP) server that allows Claude to interact with Contentful CMS data directly. This integration enables Claude to fetch content types and entries from your Contentful space.
Verified on MseeP

Features

- Fetch all content types from your Contentful space
- Retrieve entries for specific content types
- Structured responses for easy consumption by AI assistants

Prerequisites

- Node.js (v16 or higher)
- A Contentful account with API keys
- Claude Desktop (to use the MCP server with Claude)

Installation

1. Clone this repository:

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

2.Install dependencies:
npm install

Create a .env file in the root directory with your Contentful credentials:
4. CONTENTFUL_SPACE_ID=your_space_id
CONTENTFUL_ACCESS_TOKEN=your_access_token
CONTENTFUL_ENVIRONMENT=develop
CONTENTFUL_PREVIEW_ACCESS_TOKEN=your_preview_token

npm run build

Or configure a build script in your package.json:
"scripts": {
"build": "tsc",
"start": "node dist/index.js"
}

##Configuration for Claude Desktop


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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.