KosmoKrator

productivity

PagerDuty MCP Integration for Vercel AI SDK

Connect PagerDuty to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write API token auth

Connect PagerDuty to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

PagerDuty MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "mcpServers": {
    "kosmokrator-pagerduty": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=pagerduty",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=pagerduty --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only PagerDuty instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

PagerDuty Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the PagerDuty integration catalog.

MCP toolSource functionTypeDescription
integration__pagerduty__pagerduty_list_incidents pagerduty.pagerduty_list_incidents Read List PagerDuty incidents. Filter by status (triggered, acknowledged, resolved), urgency (high, low), service ID, or team ID. Returns a paginated list of incidents.
integration__pagerduty__pagerduty_get_incident pagerduty.pagerduty_get_incident Read Get full details for a single PagerDuty incident, including status, urgency, assignments, alerts, and timeline.
integration__pagerduty__pagerduty_list_services pagerduty.pagerduty_list_services Read List PagerDuty services. Optionally filter by team ID. Returns a paginated list of services with status and escalation policy info.
integration__pagerduty__pagerduty_get_service pagerduty.pagerduty_get_service Read Get full details for a single PagerDuty service, including status, escalation policy, integrations, and alert settings.
integration__pagerduty__pagerduty_list_teams pagerduty.pagerduty_list_teams Read List PagerDuty teams. Returns a paginated list of teams with their names, descriptions, and parent team info.
integration__pagerduty__pagerduty_get_team pagerduty.pagerduty_get_team Read Get full details for a single PagerDuty team, including name, description, parent team, and default role.
integration__pagerduty__pagerduty_get_current_user pagerduty.pagerduty_get_current_user Read Get the profile of the currently authenticated PagerDuty user — name, email, role, time zone, and other account details.

Related PagerDuty Pages