PagerDuty MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PAGERDUTY_API_TOKEN | No | Your PagerDuty API token for authentication. | |
| PAGERDUTY_CLIENT_ID | No | Client ID for OAuth 2.0 PKCE authentication (required if not using API token). | |
| PAGERDUTY_CLIENT_SECRET | No | Optional client secret for OAuth token refresh (confidential client). | |
| PAGERDUTY_OAUTH_CALLBACK_PORT | No | Port for OAuth callback (default: 5173). | 5173 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
PagerDuty MCP Server v4.1.1
REQUIRED READING: You MUST read all tool documentation using the resource docs://tools before using any tools. Failure to read the tools documentation may result in incorrect or incomplete results.
Scoped list tools (get_incidents, get_services, get_users, get_escalation_policies, get_oncalls) have two modes:
Default
current_user_context=True: omit team/service/user ID filters (and omitcurrent_user_context=False). Namequeryworks in this mode (limited to the current user's teams/policies).Explicit filters: pass
service_ids/team_ids/user_ids/escalation_policy_idsas documented per tool. Providing those exclusive filters with real IDs impliescurrent_user_context=False(even if True was set explicitly). Blank-only exclusive ID lists error (non-exclusive filters likeschedule_idscannot paper over them). Never setcurrent_user_context=Falsewith only a namequeryand no ID filters. Forget_incidents,include_notes/include_past_incidents/include_related_incidentsrequireincident_id(list first, then fetch details).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_escalation_policiesA | Get PagerDuty escalation policies by filters or get details for a specific policy ID. Call patterns:
|
| get_incidentsA | Get PagerDuty incidents by filters or get details for a specific incident ID or number. Call patterns:
|
| acknowledge_incidentB | Acknowledge a PagerDuty incident. This signals that someone is actively working on the incident. |
| resolve_incidentA | Resolve a PagerDuty incident. This marks the incident as resolved and stops any further escalations. |
| add_incident_noteA | Add a note to a PagerDuty incident. Notes are used to record additional context, investigation progress, or resolution details. |
| get_oncallsA | List on-call entries for schedules, policies, or time ranges. Call patterns:
Behavior varies by time parameters:
|
| get_schedulesB | Get PagerDuty schedules by filters or get details for a specific schedule ID. |
| list_users_oncallC | List the users on call for a schedule during the specified time range. |
| get_servicesA | Get PagerDuty services by filters or get details for a specific service ID. Call patterns:
|
| get_teamsA | Get PagerDuty teams by filters or get details for a specific team ID. |
| get_usersA | Get PagerDuty users by filters or get details for a specific user ID. Call patterns:
|
| build_user_contextA | Validate and build the current user's context into a dictionary with the following format: { "user_id": str, "team_ids": List[str], "service_ids": List[str], "escalation_policy_ids": List[str] } The MCP server tools use this user context to filter the following resources: - Escalation policies - Incidents - Oncalls - Services - Users |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_tool_documentation |
TDQS
Scored across 12 tools
Most tools map cleanly to distinct PagerDuty resources or incident actions. The main ambiguity is between get_oncalls and list_users_oncall, and several get_* tools combine list and detail modes, though the descriptions make reasonable distinctions.
All tool names follow a consistent snake_case verb_noun pattern using get_, list_, acknowledge_, resolve_, add_, and build_. The use of get_ for both listing and fetching details is a minor semantic issue rather than a naming inconsistency.
Twelve tools is a well-scoped size for a PagerDuty incident-management MCP server. Each tool covers a distinct resource or action, with no obvious filler tools.
The surface covers core read operations plus acknowledge, resolve, and note actions, which supports incident triage and response. However, it lacks create/update incident operations, assignment or priority changes, and write operations for schedules, teams, and services, leaving notable lifecycle gaps.