contentful-mcp

upload_asset

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" }