For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remote MCP Server

Connect AI assistants like Claude (Desktop & Code CLI), Cursor, ChatGPT, and automated AI coding agents directly to Pagerly using the Model Context Protocol (MCP).


⚡ Overview

The Pagerly Remote MCP Server exposes your on-call schedules, incident management, SRE AI investigations, MTTR metrics, alert noise analytics, and Status Pages directly to your local or cloud AI tools.

  • Server Endpoint: https://api.pagerly.io/mcp

  • Protocol: JSON-RPC 2.0 over HTTP / SSE

  • Authentication: OAuth 2.0 (Browser Login) or API Key (Authorization: Bearer <token>)


🛠️ Available MCP Tools

1. pagerly_get_oncall

Query who is currently on call for any team or rotation schedule across PagerDuty, Opsgenie, Datadog, Google Calendar, and Outlook.

{
  "org_id": "T0123456",
  "team_name": "Platform"
}

2. pagerly_create_incident

Declare a new incident, provision a dedicated Slack channel, assign severity (P1-P4), and set the incident commander.

3. pagerly_update_incident

Update ongoing incident status (Open, In Progress, Investigating, Identified, Monitoring, Resolved) or severity.

4. pagerly_get_ai_investigation

Fetch or trigger a deep SRE AI investigation for an incident. Returns:

  • Telemetry: Datadog / CloudWatch Metrics (-15m) & Error Logs (300 lines)

  • Deployments: Recent GitHub deploy events (-2h)

  • Root Cause Hypotheses & Debugging Next Steps

5. pagerly_incident_stats

Query incident analytics, Mean Time to Resolve (MTTR), severity distribution, and recurring root-cause hypothesis themes.

6. pagerly_alert_noise_analysis

Analyze alert volume vs actual incidents, noise ratio %, top noisy alert sources (CloudWatch, Datadog, etc.), and off-hours page percentages.

7. pagerly_update_statuspage

Update component health (Operational, Degraded Performance, Partial Outage, Major Outage) or publish public status updates.

8. pagerly_update_schedule

Update team rotation schedule ID, rotation frequency (daily, weekly), or timezone settings.

9. pagerly_set_reminder

Set or update shift rotation reminder notifications for an on-call team.


🔑 Quick Setup

1. Claude Code CLI

Add the server via CLI:

2. Claude Desktop & Cursor

Add to your claude_desktop_config.json or Cursor MCP settings:

3. Claude.ai Custom Connectors (Enterprise)

If Claude prompts for manual OAuth settings in custom connector options:

  • Server URL: https://api.pagerly.io/mcp

  • Authorization URL: https://workspace.pagerly.io/oauth/authorize

  • Token URL: https://workspace.pagerly.io/oauth/token

  • OAuth Client ID: pagerly_mcp_client (or auto-registered via .well-known discovery) Upon first query, Claude will prompt you to authenticate via OAuth browser login.

Last updated