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

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

Share Mezmo with your team in Claude, ChatGPT and Cursor through Metorial: IAM access token sign-in, 25 tools (9 read-only).

---

To give your team Mezmo in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Mezmo integration in a Metorial portal, and each person connects with an IAM access token. Agents can use Mezmo Log Analysis to ingest and search logs, download filtered JSONL exports, manage views, preset alerts, boards and exclusion rules, inspect usage, and configure account-wide ingestion and archiving. The integration has 25 tools, 9 read-only, 1 write and 15 destructive, plus 1 trigger.

**What you will learn**

- How an admin shares Mezmo in a portal and how each person connects
- What Mezmo asks for when you connect, and where to find it
- How to keep the 9 read-only tools and reject the other 16

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An IAM access token from Mezmo 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 |
| --- | --- | --- |
| **IAM Access Token** | API token | `token` and `ingestionKey` |

### IAM Access Token

To connect, a person enters these values:

- `token`: IAM Access Token from Settings > Organization > API Keys
- `ingestionKey` (optional): Ingestion key for log ingestion (optional, from Settings > Organization > API Keys)

## Admin: share Mezmo 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 Mezmo. For how members connect, choose **Each person connects** so everyone enters their own IAM access token, or **Shared connection** to enter one IAM access token for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

   Add the access groups that should see Mezmo. 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 Mezmo integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search mezmo
```

## Employee: connect Mezmo

### In the portal

1. **Open Mezmo in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your IAM access token (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 mezmo
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Mezmo 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 mezmo
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 9 read-only tools, such as `get_usage` and `list_views`, and lose the write tool `create_board`, and the 15 destructive tools, such as `create_view` or `delete_view`.

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 mezmo
metorial tools <integration-id>
metorial call <integration-id> list_views -d '{}'
```

`metorial tools` lists the 25 tools, minus any you rejected. `list_views` takes no input. It lists all views configured in Mezmo.

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

## Tools

### Read-only tools (9)

- `list_views`: List all views configured in Mezmo.
- `list_boards`: List all boards in Mezmo.
- `search_logs`: Search and export log lines from Mezmo using the Export API v2. Needs `from` and `to`.
- `list_exclusion_rules`: List all ingestion exclusion rules.
- `get_usage`: Retrieve aggregated usage information for your Mezmo account. Needs `from` and `to`.
- `get_archive_config`: Retrieve the current archiving configuration.
- `list_preset_alerts`: List all preset alerts configured in the Mezmo account.
- `get_ingestion_status`: Check the current ingestion status for your Mezmo account.
- `export_logs`: Prepare filtered Mezmo logs as a downloadable JSONL file.

### Write tools (1)

- `create_board`: Create a new board (dashboard) in Mezmo for visualizing log data. Needs `title`.

### Destructive tools (15)

- `ingest_logs`: Send log lines to Mezmo programmatically. Needs `hostname` and `lines`.
- `delete_preset_alert`: Delete a preset alert. Needs `presetAlertId`.
- `delete_exclusion_rule`: Delete an exclusion rule. Needs `ruleId`.
- `delete_view`: Delete a view and all of its attached alerts from Mezmo. Needs `viewId`.
- `update_exclusion_rule`: Update an existing exclusion rule's title, filters, or active status. Needs `ruleId`.
- `create_exclusion_rule`: Create an exclusion rule to prevent matching log lines from being stored. Needs `title`.
- `suspend_ingestion`: Suspend all log ingestion for the account. Needs `confirm`.
- `delete_board`: Delete a board (dashboard) from Mezmo. Needs `boardId`.
- `create_preset_alert`: Create a reusable preset alert that can be attached to multiple views. Needs `name` and `channels`.
- `create_view`: Create a new view in Mezmo with search filters and optional alert channels. Needs `name`.
- `update_preset_alert`: Update an existing preset alert's name or notification channels. Needs `presetAlertId`.
- `update_view`: Update an existing view's configuration including its name, search query, filters, and alert channels. Needs `viewId`.
- `configure_archiving`: Create or update the archiving configuration for long-term log storage. Needs `integration` and `bucket`.
- `delete_archive_config`: Remove the archiving configuration.
- `resume_ingestion`: Resume log ingestion after it has been suspended.

## Triggers

Mezmo has 1 trigger, which fire on events in Mezmo:

- `log_alert`: Triggers when a Mezmo view-based alert fires.

## 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 Mezmo there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Mezmo on metorial.com](https://metorial.com/integrations/mezmo): the integration overview