> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Kontent.ai in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/kontentai
Last updated: 2026-11-24

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 will 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**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- A management API key from Kontent.ai for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **Management API Key** | API token | `token` |

### 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

1. **Open Shared Resources**

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

2. **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.

3. **Limit the tools**

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

4. **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:

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

## Employee: connect Kontent.ai

### In the portal

1. **Open Kontent.ai in the catalog**

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

2. **Authenticate**

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

3. **Confirm**

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

### With the CLI

```bash
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.

```bash
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](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
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

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Kontent.ai there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Kontent.ai on metorial.com](https://metorial.com/integrations/kontentai): the integration overview