• AUTOMATED
  • CONTEXTUAL
  • HUMAN
  • AUDITED

How to trigger PagerDuty incidents with your AI

Connect your AI to PagerDuty once. From then on, your agent can watch your error streams and trigger incidents automatically.

Ask AI about this page

Short answer

How can I trigger PagerDuty incidents with my AI?

You give your agent access to the PagerDuty Events API. It scans your logs for specific failures and calls the trigger tool to create an incident. This moves you from manual reporting to automated escalation.

Alert destinations.

Where your alerts land.

The AI handles the detection and the API call, leaving you to handle the fix.

AUTOMATED

Instant incident creation

The agent uses the trigger tool to send error data to PagerDuty. You get an incident without having to log in and type anything manually.

CONTEXTUAL

Rich error data

Your agent pulls relevant log snippets and error details into the incident. You get the exact context you need to start debugging immediately.

HUMAN

On-call response

Once the incident is live, PagerDuty takes over. You or your on-call engineer receives the notification to begin the actual repair work.

AUDITED

Clear event history

Every incident created by your agent is logged in PagerDuty. You can see exactly which log pattern triggered each alert.

The workflow

What your AI does when an error arrives.

The AI acts as the bridge between your raw system logs and your on-call rotation.

  1. Scan logs

    Your agent reads through your error logs or system outputs to find specific failure patterns.

    trigger_pagerduty_incident
  2. Evaluate severity

    The AI determines if a detected error is a minor warning or a critical failure that requires an immediate page.

    trigger_pagerduty_incident
  3. Trigger incident

    The agent calls the API to send the error details and severity level directly to PagerDuty.

    trigger_pagerduty_incident
  4. Confirm status

    The agent verifies the incident was successfully created and reports the outcome to you.

    trigger_pagerduty_incident

Try it

Copy these to start.

Use these prompts to begin automating your incident response.

Starting points

These are opening lines. Swap out the specific log source or error type for your own environment.

PagerDuty Events Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_kKI8TivX0k47Sbfm98eG7QAfs3djX089vGi7fwVA/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — PagerDuty Events capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "pagerduty-incident-trigger-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_kKI8TivX0k47Sbfm98eG7QAfs3djX089vGi7fwVA/mcp"
    }
  }
}
Copy into chat04
  • Watch these logs from my production server and trigger a PagerDuty incident if you see a 'Critical' error.

  • If the error rate in this GitHub Action exceeds 5%, trigger a PagerDuty incident immediately.

  • Monitor this error stream and create a PagerDuty incident whenever a database connection timeout occurs.

  • Check the latest logs in this CloudWatch group and trigger an incident if any auth failures appear.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect PagerDuty Incident Trigger once, then ask.

Link your PagerDuty account once. Your credentials stay encrypted on our side, and you can immediately start asking your agent to monitor and trigger alerts.

Connect PagerDuty Incident Trigger to your AI

FAQ

How this task behaves

  • 01

    Can the AI resolve incidents in PagerDuty?

    No. This MCP only has the capability to trigger new incidents. Resolving or acknowledging them must be done by a human through PagerDuty.

  • 02

    Does the AI decide who gets paged?

    No. The AI triggers the incident. PagerDuty's own escalation policies and on-call schedules determine which human receives the notification.

  • 03

    Can the AI delete existing incidents?

    No. The tool is limited to triggering new incidents. It cannot modify or delete existing records in PagerDuty.

  • 04

    What information goes into the incident?

    The AI sends the payload defined by the trigger tool, which includes the severity, a description of the error, and any metadata it pulled from your logs.

  • 05

    Does the AI need my PagerDuty API key?

    Yes. You provide the credentials during the connection process. Vinkius manages these securely so your AI client can make the API calls.

  • More questions about PagerDuty Incident Trigger? The Connector page answers them. See everything the PagerDuty Incident Trigger Connector can do

Connect PagerDuty Events to Claude, Cursor, ChatGPT & more