Skip to main content

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_..."
ToolDoes
list_alertsList alerts, optional status (active, open, acknowledged, closed, all) and query
get_alertOne alert with its activity log
acknowledge_alertAcknowledge (assigns to you if unassigned)
close_alert, reopen_alertClose or reopen
assign_alertAssign to a user id, or unassign; the user gets a push notification
comment_alertAdd a comment
list_usersUsers 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.