drio
Open app

Contentful MCP Server

Source

mcp server that queries my contentful space.

Catalog onlyCatalog onlySTDIO

Overview

Contentful MCP Server is a Model Context Protocol (MCP) server that allows integration with Contentful CMS, enabling AI assistants like Claude to interact with and fetch data from your Contentful space.

To use the Contentful MCP Server, clone the repository, install the necessary dependencies, configure your Contentful credentials in a .env file, and run the server using Node.js.

  • Fetch all content types from your Contentful space. - Retrieve entries for specific content types. - Provides structured responses for easy consumption by AI assistants.
  1. Integrating AI assistants with Contentful CMS for dynamic content retrieval.
  2. Automating content management tasks through API calls.
  3. Enabling real-time data access for applications using Contentful.

Add to your AI client

Use these steps to connect Contentful MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-contenful-tejedamiguel6": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-contenful-tejedamiguel6"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-contenful-tejedamiguel6": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-contenful-tejedamiguel6"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-contenful-tejedamiguel6": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-contenful-tejedamiguel6"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-contenful-tejedamiguel6": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-contenful-tejedamiguel6"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-contenful-tejedamiguel6": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-contenful-tejedamiguel6"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-contenful-tejedamiguel6": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-contenful-tejedamiguel6"
      ]
    }
  }
}

FAQ

What are the prerequisites to use the Contentful MCP Server?

You need Node.js (v16 or higher), a Contentful account with API keys, and Claude Desktop to use the MCP server with Claude.

Is there a specific way to configure the server?

Yes! You need to create a .env file with your Contentful credentials and configure the server command in Claude Desktop.

Can I use this server with other AI assistants?

While it is designed for Claude, it can be adapted for use with other AI assistants that support API integration.