Skip to main content
Glama

Contentful

Official
by contentful

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

Prerequisites

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 VariableRequiredDefault ValueDescription
CONTENTFUL_MANAGEMENT_ACCESS_TOKEN✅ Yes-Your Contentful Management API personal access token
SPACE_ID✅ Yes-Your Contentful Space ID
ENVIRONMENT_ID❌ NomasterTarget environment within your space
CONTENTFUL_HOST❌ Noapi.contentful.comContentful API host
NODE_ENV❌ NoproductionNode 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

CategoryTool NameDescription
Context & Setupget_initial_contextInitialize connection and get usage instructions
Content Typeslist_content_typesList all content types
get_content_typeGet detailed content type information
create_content_typeCreate new content types
update_content_typeModify existing content types
publish_content_typePublish content type changes
unpublish_content_typeUnpublish content types
delete_content_typeRemove content types
Entriessearch_entriesSearch and filter entries
get_entryRetrieve specific entries
create_entryCreate new content entries
update_entryModify existing entries
publish_entryPublish entries (single or bulk)
unpublish_entryUnpublish entries (single or bulk)
delete_entryRemove entries
Assetsupload_assetUpload new assets
list_assetsList and browse assets
get_assetRetrieve specific assets
update_assetModify asset metadata
publish_assetPublish assets (single or bulk)
unpublish_assetUnpublish assets (single or bulk)
delete_assetRemove assets
Spaces & Environmentslist_spacesList available spaces
get_spaceGet space details
list_environmentsList environments
create_environmentCreate new environments
delete_environmentRemove environments
Localeslist_localesList all locales in your environment
get_localeRetrieve specific locale information
create_localeCreate new locales for multi-language content
update_localeModify existing locale settings
delete_localeRemove locales from environment
Tagslist_tagsList all tags
create_tagCreate new tags
AI Actionscreate_ai_actionCreate custom AI-powered workflows
invoke_ai_actionInvoke an AI action with variables
get_ai_action_invocationGet AI action invocation details
get_ai_actionRetrieve AI action details and configuration
list_ai_actionsList AI actions in a space
update_ai_actionUpdate existing AI actions
publish_ai_actionPublish AI actions for use
unpublish_ai_actionUnpublish AI actions
delete_ai_actionRemove 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.

Read our full Code of Conduct.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol (MCP) server that provides AI assistants with comprehensive tools to interact with Contentful APIs.

  1. 🚀 Example Use Cases
    1. 📓 Table of Contents
      1. ⚙️ Getting started
        1. Prerequisites
        2. Installation
        3. Environment Variables
        4. Configuration
      2. 🛠️ Available Tools
        1. 🤝 Contributing
          1. 📦 Releases
            1. 📚 Documentation
              1. ❓ Help & Support
                1. 📄 License and Notices
                  1. 🛡️ Code of Conduct

                    Related MCP Servers

                    • -
                      security
                      F
                      license
                      -
                      quality
                      A Model Context Protocol server implementation that enables connection between OpenAI APIs and MCP clients for coding assistance with features like CLI interaction, web API integration, and tool-based architecture.
                      Last updated -
                      33
                      Python
                      • Linux
                      • Apple
                    • -
                      security
                      A
                      license
                      -
                      quality
                      Model Context Protocol (MCP) server that provides AI assistants with advanced web research capabilities, including Google search integration, intelligent content extraction, and multi-source synthesis.
                      Last updated -
                      23
                      4
                      TypeScript
                      MIT License
                    • A
                      security
                      F
                      license
                      A
                      quality
                      A Model Context Protocol (MCP) server that enables AI assistants to perform comprehensive file operations including finding, reading, writing, editing, searching, moving, and copying files with security validations.
                      Last updated -
                      7
                      TypeScript
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A Model Context Protocol (MCP) Server that provides unified access to multiple external APIs (weather, news, financial data) through a single, consistent interface for AI agents and LLMs.
                      Last updated -
                      1
                      Python

                    View all related MCP servers

                    MCP directory API

                    We provide all the information about MCP servers via our MCP API.

                    curl -X GET 'https://glama.ai/api/mcp/v1/servers/contentful/contentful-mcp-server'

                    If you have feedback or need assistance with the MCP directory API, please join our Discord server