contentful-mcp

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.

Input Schema

NameRequiredDescriptionDefault
contentTypeIdYesThe ID of the content type for the new entry
environmentIdYesThe ID of the environment within the space, by default this will be called Mastermaster
fieldsYesThe fields of the entry
spaceIdYesThe ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear.

Input Schema (JSON Schema)

{ "properties": { "contentTypeId": { "description": "The ID of the content type for the new entry", "type": "string" }, "environmentId": { "default": "master", "description": "The ID of the environment within the space, by default this will be called Master", "type": "string" }, "fields": { "description": "The fields of the entry", "type": "object" }, "spaceId": { "description": "The ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear.", "type": "string" } }, "required": [ "contentTypeId", "fields", "spaceId", "environmentId" ], "type": "object" }