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.

EndpointURL
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 Endpointhttps://mcp.contismo.com/oauth/authorize
Token Endpointhttps://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).

KeyPrefixAccess
MCP - Read Onlymcp_Read tools only
MCP - Read/Writemcpw_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.

ToolWhat it returns
list_content_modelsModels the server is allowed to expose
get_content_modelFields and taxonomy assignments for one model
list_entriesEntries for a model, with limit, offset, locale, status, and filters
get_entryOne entry by model API ID and entry ID. Singletons do not need an ID
list_localesLocales for the current environment
list_taxonomiesTaxonomies in the current environment
get_taxonomyFields and model assignments for one taxonomy
list_taxonomy_termsTerms for one taxonomy
list_componentsReusable components in the environment
get_componentField definitions for one component
get_ui_translationsUI 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.

ToolWhat it does
create_entryCreate an entry. input keys are field API IDs
update_entryUpdate an entry, including status and schedule
delete_entryDelete an entry by model API ID and entry ID
create_content_modelCreate a content model. Add fields with update_content_model
update_content_modelUpdate a model’s name, settings, tabs, or fields
delete_content_modelDelete a model and all of its entries
create_taxonomyCreate a taxonomy, optionally scoped to model API IDs
update_taxonomyUpdate a taxonomy’s name, appliesTo scope, tabs, or fields
delete_taxonomyDelete a taxonomy and all of its terms
create_taxonomy_termCreate a term. input keys are the taxonomy’s field API IDs
update_taxonomy_termUpdate a term, including status and schedule
delete_taxonomy_termDelete a term by taxonomy API ID and term ID
create_componentCreate a component with field definitions
update_componentUpdate a component’s name or fields
delete_componentDelete a component
create_ui_translation_keyCreate a UI translation key
set_ui_translationsUpsert translation values per locale; missing keys are created
delete_ui_translation_keyDelete a translation key and all of its values
copy_ui_translationsCopy all UI translation values between locales
create_localeAdd a locale to the environment
update_localeUpdate a locale’s language, region, or default status
delete_localeDelete a locale. The default locale cannot be deleted
create_assetUpload a file to the media library as base64 contents
update_assetUpdate an asset’s custom field values
delete_assetDelete 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://models
  • contismo://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"
      }
    }
  }
}