MCP server
Pager has a built-in MCP server, so AI assistants can read and triage alerts for you.
- Endpoint:
https://pager.example.com/mcp(streamable HTTP, stateless) - Auth: a personal API token as
Authorization: Bearer <token>. Create one under Team → API tokens. The token is shown once and acts as you, in your tenant only. Revoke it there at any time.
claude mcp add --transport http pager https://pager.example.com/mcp \
--header "Authorization: Bearer pgr_..."
| Tool | Does |
|---|---|
list_alerts | List alerts, optional status (active, open, acknowledged, closed, all) and query |
get_alert | One alert with its activity log |
acknowledge_alert | Acknowledge (assigns to you if unassigned) |
close_alert, reopen_alert | Close or reopen |
assign_alert | Assign to a user id, or unassign; the user gets a push notification |
comment_alert | Add a comment |
list_users | Users of the tenant, to find ids |
Actions are written to the activity log under your name, like in the UI. The same tokens also work as Bearer token for the REST API.