Contismo MCP
Let AI clients explore, read, and edit your Contismo CMS content models and entries securely.
Hosted MCP Server
npx add-mcp 'https://mcp.contismo.com'Installs into Claude Code, Codex, Cursor and more
Documentation
MCP Server
Use the MCP server when an AI client should read or edit Contismo content. Websites and apps should keep using the GraphQL API.
Turn the server on and choose which models, drafts, and writes are allowed in Settings → MCP. See MCP.
Endpoint
The server speaks Streamable HTTP. Clients connect to:
https://mcp.contismo.com
Authentication
The MCP server supports both OAuth 2.1 (RFC 9728 / RFC 8414 with PKCE S256 and Dynamic Client Registration) and MCP API keys. GraphQL keys are rejected.
OAuth 2.1 Discovery & Endpoints
When an unauthenticated MCP client connects to https://mcp.contismo.com, the server responds with 401 Unauthorized and a WWW-Authenticate header pointing to the Protected Resource Metadata endpoint.
| Endpoint | URL |
|---|---|
| Protected Resource Metadata (RFC 9728) | https://mcp.contismo.com/.well-known/oauth-protected-resource |
| Authorization Server Metadata (RFC 8414) | https://mcp.contismo.com/.well-known/oauth-authorization-server |
| Dynamic Client Registration (RFC 7591) | https://mcp.contismo.com/oauth/register |
| Authorization Endpoint | https://mcp.contismo.com/oauth/authorize |
| Token Endpoint | https://mcp.contismo.com/oauth/token |
| Token Revocation (RFC 7009) | https://mcp.contismo.com/oauth/revoke |
Supported OAuth scopes:
mcp:read: Read-only access (MCP - Read Only)mcp:write: Read and write access (MCP - Read/Write)
When an authorization code is exchanged at /oauth/token, Contismo automatically creates a standard MCP API key named after the client in the authorized workspace. Editing or revoking that key in Settings → API Keys takes effect immediately on all subsequent OAuth requests and token refreshes.
Manual API Key Authentication
Clients that do not use OAuth can authenticate directly with a project MCP API key:
Authorization: Bearer <your-mcp-api-key>
X-Environment: <environment-api-id>
X-Environment is optional when a default environment is saved in the Studio (or falls back to master).
| Key | Prefix | Access |
|---|---|---|
| MCP - Read Only | mcp_ | Read tools only |
| MCP - Read/Write | mcpw_ | Read tools, plus write tools when Allow Writes is on |
A disabled server returns 403. Requests count toward the project’s monthly API call quota, the same limit as GraphQL.
Read tools
Call get_content_model first and use each field’s apiId in later tools. Only models selected in Studio are visible. An empty model list means every content model.
| Tool | What it returns |
|---|---|
list_content_models | Models the server is allowed to expose |
get_content_model | Fields and taxonomy assignments for one model |
list_entries | Entries for a model, with limit, offset, locale, status, and filters |
get_entry | One entry by model API ID and entry ID. Singletons do not need an ID |
list_locales | Locales for the current environment |
list_taxonomies | Taxonomies in the current environment |
get_taxonomy | Fields and model assignments for one taxonomy |
list_taxonomy_terms | Terms for one taxonomy |
list_components | Reusable components in the environment |
get_component | Field definitions for one component |
get_ui_translations | UI translation strings for a locale |
Read tools default to published entries. A status of DRAFT, IN_REVIEW, or SCHEDULED is accepted only when Allow Drafts is on, or when the key can write.
Asset fields on an entry include metadata and the delivery URL.
Write tools
Write tools are registered only for a read-write key when Allow Writes is on.
| Tool | What it does |
|---|---|
create_entry | Create an entry. input keys are field API IDs |
update_entry | Update an entry, including status and schedule |
delete_entry | Delete an entry by model API ID and entry ID |
create_content_model | Create a content model. Add fields with update_content_model |
update_content_model | Update a model’s name, settings, tabs, or fields |
delete_content_model | Delete a model and all of its entries |
create_taxonomy | Create a taxonomy, optionally scoped to model API IDs |
update_taxonomy | Update a taxonomy’s name, appliesTo scope, tabs, or fields |
delete_taxonomy | Delete a taxonomy and all of its terms |
create_taxonomy_term | Create a term. input keys are the taxonomy’s field API IDs |
update_taxonomy_term | Update a term, including status and schedule |
delete_taxonomy_term | Delete a term by taxonomy API ID and term ID |
create_component | Create a component with field definitions |
update_component | Update a component’s name or fields |
delete_component | Delete a component |
create_ui_translation_key | Create a UI translation key |
set_ui_translations | Upsert translation values per locale; missing keys are created |
delete_ui_translation_key | Delete a translation key and all of its values |
copy_ui_translations | Copy all UI translation values between locales |
create_locale | Add a locale to the environment |
update_locale | Update a locale’s language, region, or default status |
delete_locale | Delete a locale. The default locale cannot be deleted |
create_asset | Upload a file to the media library as base64 contents |
update_asset | Update an asset’s custom field values |
delete_asset | Delete an asset by ID |
Status values match GraphQL: DRAFT, IN_REVIEW, PUBLISHED, and SCHEDULED. create_entry, update_entry, create_taxonomy_term, and update_taxonomy_term also accept scheduledPublishAt and scheduledUnpublishAt as ISO datetime strings, plus locale.
Deleting a content model or taxonomy permanently deletes all of its entries or terms.
Resources
Resources mirror the read tools for clients that prefer URIs:
contismo://modelscontismo://model/{apiId}contismo://entry/{modelApiId}/{id}
Connect Cursor
Copy the snippet from Settings → MCP, or use this shape. Replace the key and environment.
{
"mcpServers": {
"contismo": {
"url": "https://mcp.contismo.com",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_KEY",
"X-Environment": "master"
}
}
}
}