MetorialDocs

Set up OpsGenie in Metorial for Claude, ChatGPT and Cursor

Share OpsGenie with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 28 tools (17 read-only).

To give your team OpsGenie in Claude, ChatGPT, Cursor and other AI clients, an admin shares the OpsGenie integration in a Metorial portal, and each person connects with an API key. Agents can create, manage, and resolve alerts and incidents with priority levels, responders, and rich metadata. The integration has 28 tools, 17 read-only and 11 write, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: OpsGenie API key (Integration API key or Account-level API key)

Setup settings

Setup also asks for:

  • instance (optional): OpsGenie instance region (US or EU) One of "us", "eu".

Admin: share OpsGenie 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 OpsGenie. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

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

Choose who gets it

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

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

Employee: connect OpsGenie

In the portal

Open OpsGenie in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your 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 opsgenie
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your OpsGenie 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 opsgenie
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 17 read-only tools, such as get_team and get_user, and lose the 11 write tools, such as manage_team or manage_user.

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 opsgenie
metorial tools <integration-id>
metorial call <integration-id> list_teams -d '{}'

metorial tools lists the 28 tools, minus any you rejected. list_teams takes no input. It lists all teams in the OpsGenie account.

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

Tools

Read-only tools (17)

  • get_alert: Retrieve detailed information about a specific alert. Needs alertIdentifier.
  • get_incident: Retrieve detailed information about a specific incident. Needs incidentIdentifier.
  • get_user: Retrieve detailed information about a specific user, including their role, timezone, and optionally their teams, schedules, and escalation policies. Needs userIdentifier.
  • get_on_call: Query who is currently on-call or who is next on-call for a specific schedule. Needs scheduleIdentifier.
  • list_teams: List all teams in the OpsGenie account.
  • get_team: Retrieve detailed information about a specific team, including its members and their roles. Needs teamIdentifier.
  • list_users: List users in the OpsGenie account.
  • list_incidents: List and search incidents in OpsGenie.
  • list_schedules: List all on-call schedules.
  • list_services: List services in the OpsGenie account.
  • list_alerts: List and search alerts in OpsGenie.
  • list_escalations: List all escalation policies in the account.
  • get_alert_request_status: Check the processing status of an asynchronous alert request, such as create, delete, acknowledge, close, snooze, assign, or tag updates. Needs requestId.
  • get_incident_request_status: Check the processing status of an asynchronous incident request, such as create, delete, resolve, close, or add note. Needs requestId.
  • get_account: Retrieve information about the connected OpsGenie account, including its name, user count, and subscription plan.
  • list_alert_logs: List the activity log of an alert: creation, notifications, acknowledgements, assignments, escalations, and other state changes.
  • list_alert_notes: List the notes added to an alert, such as responder updates and investigation findings.

Write tools (11)

  • alert_action: Perform an action on an existing alert: close, acknowledge, unacknowledge, snooze, assign ownership, escalate, add a note, add/remove tags, add a responder, add/remove custom details, run a custom action, or delete. Needs alertIdentifier and action.
  • create_incident: Create a new incident in OpsGenie. Needs message.
  • incident_action: Perform an action on an existing incident: close, resolve, reopen, delete, add a note, add a responder, add/remove tags, or change priority. Needs incidentIdentifier and action.
  • manage_team: Create, update, or delete a team, or add/remove a single team member. Needs action.
  • create_alert: Create a new alert in OpsGenie. Needs message.
  • manage_service: Create, update, or delete a service. Needs action.
  • manage_schedule: Create, update, or delete an on-call schedule. Needs action.
  • manage_user: Create, update, or delete a user. Needs action.
  • manage_escalation: Create, update, or delete an escalation policy. Needs action.
  • update_alert: Update properties of an existing alert. Needs alertIdentifier.
  • manage_schedule_override: Create, get, update, delete, or list temporary on-call overrides for an Opsgenie schedule. Needs action and scheduleIdentifier.

Triggers

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

  • alert_activity: Triggered when alert activity occurs in OpsGenie via a configured Webhook integration.

Next steps