MetorialDocs

Set up Kontent.ai in Metorial for Claude, ChatGPT and Cursor

Share Kontent.ai with your team in Claude, ChatGPT and Cursor through Metorial: management API key sign-in, 19 tools (12 read-only).

To give your team Kontent.ai in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Kontent.ai integration in a Metorial portal, and each person connects with a management API key. Agents can manage structured content in a headless CMS. The integration has 19 tools, 12 read-only, 4 write and 3 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Kontent.ai in a portal and how each person connects
  • What Kontent.ai asks for when you connect, and where to find it
  • How to keep the 12 read-only tools and reject the other 7

Before you start

Sign-in method

MethodTypeWhat a person provides
Management API KeyAPI tokentoken

Management API Key

To connect, a person enters:

  • token: Management API key from Kontent.ai > Project settings > API keys

Setup settings

Setup also asks for:

  • environmentId: The Environment ID (formerly Project ID) from Kontent.ai project settings. Identifies the specific environment within a project.

Admin: share Kontent.ai in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Kontent.ai. For how members connect, choose Each person connects so everyone enters their own management API key, or Shared connection to enter one management API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Kontent.ai.

Choose who gets it

Add the access groups that should see Kontent.ai. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Kontent.ai integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search kontent.ai

Employee: connect Kontent.ai

In the portal

Open Kontent.ai in the catalog

Sign in to your portal and open Kontent.ai. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your management API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search kontent.ai
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Kontent.ai connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list kontent.ai
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 12 read-only tools, such as get_asset and list_assets, and lose the 4 write tools, such as update_asset or manage_workflow, and the 3 destructive tools, such as delete_asset or delete_content_item.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list kontent.ai
metorial tools <integration-id>
metorial call <integration-id> list_languages -d '{}'

metorial tools lists the 19 tools, minus any you rejected. list_languages takes no input.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (12)

  • list_content_types: Retrieves content types from a Kontent.ai environment.
  • get_content_item: Retrieves a single content item by its ID, codename, or external ID. Needs identifier.
  • list_assets: Retrieves assets (files, images, documents) from a Kontent.ai environment.
  • list_collections: Retrieves all collections in the environment.
  • get_content_type: Retrieves a single content type with full details including all element definitions, content groups, and constraints. Needs identifier.
  • list_languages: Retrieves a page of languages configured in the environment.
  • list_taxonomy_groups: Retrieves all taxonomy groups with their hierarchical term structures.
  • list_workflows: Retrieves all workflows defined in the environment.
  • get_asset: Retrieves a single asset by its ID or external ID. Needs identifier.
  • list_content_items: Retrieves content items from a Kontent.ai environment.
  • get_language_variant: Retrieves the latest version of one content item in a specific language, including element values and workflow identifiers.
  • get_environment: Retrieves the selected environment ID, project name, environment name, and production status.

Write tools (4)

  • manage_workflow: Manages the workflow state of a content item's language variant. Needs itemIdentifier, languageCodename and action.
  • update_asset: Updates an existing asset's metadata including title, descriptions, and folder assignment. Needs assetId.
  • create_content_item: Creates a new content item in Kontent.ai. Needs name and contentTypeCodename.
  • upsert_language_variant: Creates or updates a language variant for a content item. Needs itemIdentifier, languageCodename and elements.

Destructive tools (3)

  • delete_asset: Permanently deletes an asset from Kontent.ai. Needs identifier.
  • delete_content_item: Permanently deletes a content item and all its language variants from Kontent.ai. Needs identifier.
  • delete_language_variant: Deletes one language variant of a content item.

Triggers

Kontent.ai has 4 triggers, which fire on events in Kontent.ai:

  • content_item_events: Triggers when content items are created, changed, deleted, published, unpublished, or when their workflow step changes.
  • asset_events: Triggers when assets are created, changed, or deleted in the Kontent.ai environment.
  • content_type_events: Triggers when content types are created, changed, or deleted in the Kontent.ai environment.
  • taxonomy_events: Triggers when taxonomy groups or their terms are created, changed, moved, or deleted in the Kontent.ai environment.

Next steps