contentful-mcp

upload_asset

Upload new assets to a specified environment and space in Contentful, including file details, titles, and descriptions using the input schema.

Instructions

Upload a new asset

Input Schema

NameRequiredDescriptionDefault
descriptionNo
environmentIdYesThe ID of the environment within the space, by default this will be called Mastermaster
fileYes
spaceIdYesThe ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear.
titleYes

Input Schema (JSON Schema)

{ "properties": { "description": { "type": "string" }, "environmentId": { "default": "master", "description": "The ID of the environment within the space, by default this will be called Master", "type": "string" }, "file": { "properties": { "contentType": { "type": "string" }, "fileName": { "type": "string" }, "upload": { "type": "string" } }, "required": [ "upload", "fileName", "contentType" ], "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" }, "title": { "type": "string" } }, "required": [ "title", "file", "spaceId", "environmentId" ], "type": "object" }
ID: l2fxeaot4p