Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration. With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.
VariableRequiredDescription
PAGERDUTY_CLIENT_IDYesPagerDuty OAuth Client ID Docs.
PAGERDUTY_CLIENT_SECRETYesPagerDuty OAuth Client Secret Docs.

Setup

  1. Get a PagerDuty account: Sign up at https://www.pagerduty.com - a free trial or developer account is sufficient for testing.
  2. Register an app: In PagerDuty go to Integrations > App Registration (https://app.pagerduty.com/developer/applications), create an app, and add Scoped OAuth functionality. Select the scopes incidents.read, incidents.write, services.read, oncalls.read, and users.read.
  3. Configure the redirect URI: Set the redirect URI to your app’s /api/auth/pagerduty/callback URL, then copy the Client ID and Client Secret into your .env as PAGERDUTY_CLIENT_ID and PAGERDUTY_CLIENT_SECRET.
  4. Verify access: Complete the OAuth flow, then run List Services and List Incidents.
  • OAuth endpoints live on identity.pagerduty.com; the REST API lives on api.pagerduty.com
  • Creating or updating incidents requires a From header containing the email of a valid PagerDuty user - the tools expose it as a required parameter
  • Scoped OAuth tokens expire and are renewed with the refresh token
Provider API reference: https://developer.pagerduty.com/api-reference/

Tools

ToolAccessDescription
List IncidentsReadList PagerDuty incidents with optional status, service, and time filters
Get IncidentReadGet a PagerDuty incident by ID or incident number
Create IncidentWriteManually trigger a new incident on a service
Manage IncidentWriteAcknowledge, resolve, reassign, or escalate an incident
List ServicesReadList PagerDuty services
List On-CallsReadList on-call entries for schedules, escalation policies, and users

Example prompts

  • List my PagerDuty incidents that are triggered or acknowledged and summarize them by service.
  • Show who is currently on call in PagerDuty.