MetorialDocs

Set up Mezmo in Metorial for Claude, ChatGPT and Cursor

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'll 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

Sign-in method

MethodTypeWhat a person provides
IAM Access TokenAPI tokentoken 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

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

Limit the tools

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

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:

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

Employee: connect Mezmo

In the portal

Open Mezmo in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your IAM access token (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 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.

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.

Check it worked

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