contentful-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPACE_IDNoOptional space ID to scope operations to a specific space
ENVIRONMENT_IDNoOptional environment ID to scope operations to a specific environment
CONTENTFUL_HOSTNoContentful Management API Endpointhttps://api.contentful.com
CONTENTFUL_MANAGEMENT_ACCESS_TOKENNoYour Content Management API token

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
explain-api-conceptsExplain Contentful API concepts and relationships
space-identificationGuide for identifying the correct Contentful space for operations
content-modeling-guideGuide through content modeling decisions and best practices
api-operation-helpGet detailed help for specific Contentful API operations

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
search_entries

Search for entries using query parameters. Returns a maximum of 3 items per request. Use skip parameter to paginate through results.

create_entry

Create a new entry in Contentful, before executing this function, you need to know the contentTypeId (not the content type NAME) and the fields of that contentType, you can get the fields definition by using the GET_CONTENT_TYPE tool.

get_entry

Retrieve an existing entry

update_entry

Update an existing entry, always send all field values, also the fields values that have not been updated

delete_entry

Delete an entry

publish_entry

Publish an entry

unpublish_entry

Unpublish an entry

list_assets

List assets in a space. Returns a maximum of 3 items per request. Use skip parameter to paginate through results.

upload_asset

Upload a new asset

get_asset

Retrieve an asset

update_asset

Update an asset

delete_asset

Delete an asset

publish_asset

Publish an asset

unpublish_asset

Unpublish an asset

list_content_types

List content types in a space. Returns a maximum of 10 items per request. Use skip parameter to paginate through results.

get_content_type

Get details of a specific content type

create_content_type

Create a new content type

update_content_type

Update an existing content type

delete_content_type

Delete a content type

publish_content_type

Publish a content type

list_spaces

List all available spaces

get_space

Get details of a space

list_environments

List all environments in a space

create_environment

Create a new environment

delete_environment

Delete an environment