MetorialDocs

Set up VictorOps in Metorial for Claude, ChatGPT and Cursor

Share VictorOps with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 18 tools (7 read-only).

To give your team VictorOps in Claude, ChatGPT, Cursor and other AI clients, an admin shares the VictorOps integration in a Metorial portal, and each person connects with an API key. Agents can manage Splunk On-Call (formerly VictorOps) incidents, teams, users, escalation policies and routing keys. The integration has 18 tools, 7 read-only, 3 write and 8 destructive, plus 3 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyCustom credentialsapiId and apiKey

API Key

To connect, a person enters these values:

  • apiId: Your VictorOps API ID (X-VO-Api-Id). Found under Integrations >> API in your VictorOps account.
  • apiKey: Your VictorOps API Key (X-VO-Api-Key). Only admin users can create API keys.

Admin: share VictorOps 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 VictorOps. 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 VictorOps.

Choose who gets it

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

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

Employee: connect VictorOps

In the portal

Open VictorOps in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiId and apiKey).

Confirm

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

With the CLI

metorial catalog search victorops
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your VictorOps 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 victorops
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 7 read-only tools, such as get_on_call and get_incident, and lose the 3 write tools, such as create_incident or send_chat_message, and the 8 destructive 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 victorops
metorial tools <integration-id>
metorial call <integration-id> list_incidents -d '{}'

metorial tools lists the 18 tools, minus any you rejected. list_incidents takes no input. It lists currently open, acknowledged, and recently resolved incidents.

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

Tools

Read-only tools (7)

  • list_incidents: List currently open, acknowledged, and recently resolved incidents.
  • get_on_call: Get current on-call users and schedules. Needs scope.
  • search_incident_history: Search through historical incidents with various filters.
  • get_team_rotations: Get all rotation groups for a team. Needs teamSlug.
  • get_shift_log: Get shift change history for a team. Needs teamSlug.
  • get_incident: Read one Splunk On-Call incident by its numeric incident number, including phase, alerts and paging targets.
  • list_chat_messages: Read organization or incident chat messages with offset pagination.

Write tools (3)

  • send_chat_message: Send a chat message to the VictorOps timeline. Needs username and text.
  • create_incident: Create a new incident and page the specified targets. Needs summary, details, userName and targets.
  • manage_routing_keys: List all routing keys with their associated teams, or create a new routing key with escalation policy mappings. Needs action.

Destructive tools (8)

  • manage_incident: Acknowledge, resolve, or reroute one or more incidents. Needs action and userName.
  • manage_escalation_policy: List, get, create, update, or delete escalation policies. Needs action.
  • manage_incident_notes: Create, update, delete, or list notes on a specific incident. Needs action and incidentNumber.
  • create_on_call_override: Take on-call from another user within an escalation policy. Needs policySlug, fromUser and toUser.
  • manage_user: Create, update, retrieve, or remove a user in the organization. Needs action.
  • manage_maintenance_mode: Check, start, or end maintenance mode. Needs action.
  • manage_team: Create, update, retrieve, delete teams, or manage team membership. Needs action.
  • delete_routing_key: Remove an existing routing key.

Triggers

VictorOps has 3 triggers, which fire on events in VictorOps:

  • on_call_change: [Polling fallback] Fires when the on-call user changes for any team.
  • incident_webhook: Receives VictorOps outgoing webhook events for incident state changes (triggered, acknowledged, resolved).
  • incident_events: [Polling fallback] Fires when incidents are triggered, acknowledged, or resolved.

Next steps