MCP
The MCP server lets AI clients read, and optionally write, structured content in a project. You control the connection from the Studio.
MCP uses its own API keys. GraphQL keys do not work with the MCP server, and MCP keys do not work with GraphQL.
Enable MCP
Section titled “Enable MCP”- Go to Settings → MCP.
- Turn on Enabled.
- Choose a Default Environment, or leave it unset and send
X-Environmentfrom the client. - Optionally limit Models. Leave the list empty to expose every content model.
- Turn on Allow Writes only if clients should create, update, or delete entries.
- Turn on Allow Drafts if read tools should be able to request draft and other non-published statuses.
- Click Save Settings.
When MCP is turned off, every request returns 403.
Create an MCP API key
Section titled “Create an MCP API key”Keys are created on the API Keys page, not on the MCP page.
- Go to Settings → API Keys.
- Click Create API Key.
- Choose MCP - Read Only (
mcp_) or MCP - Read/Write (mcpw_). - Copy the key and store it somewhere safe.
Read-only keys can list and read content. Read/write keys can also create, update, and delete entries, but only when Allow Writes is on. MCP keys cannot change models, components, team members, or billing.
Connect a client
Section titled “Connect a client”Clients connect to https://mcp.contismo.com. The MCP page shows the connection URL, the required headers, and a Cursor mcp.json snippet.
Send the key as a Bearer token. Send X-Environment with the environment API ID, or omit it to use the default environment configured above.
Authorization: Bearer <your-mcp-api-key>X-Environment: <environment-api-id>For tool names, resources, and a full client example, see the MCP server reference.