PagerDuty Claude Code Plugins

PagerDuty's open source Claude Code plugins that bring operational intelligence into your development workflow.
Before you start: one-time admin step
A PagerDuty account admin must install the Claude Code app once per PagerDuty account. Until they do, nobody in the account can use this plugin.
Install the Claude Code app in PagerDuty (requires an account admin)
If the app is not installed, sign-in fails after you log in, with an error saying the app is not installed in the account. Send the link above to your PagerDuty admin, then try again.
With the admin step you do not need a client ID or client secret. See the CIMD clients guide for details.
Can't get the app installed?
Register your own OAuth app in PagerDuty and connect with its client ID and secret instead.
-
Register an OAuth app in PagerDuty with redirect URL http://localhost:8080/callback.
-
Add the server with your client ID and secret:
MCP_CLIENT_SECRET=<client-secret> claude mcp add-json pagerduty \
'{"type":"http","url":"https://mcp.pagerduty.com/mcp?tool_groups=full-tools,ai-agents","oauth":{"clientId":"<client-id>","callbackPort":8080}}' --client-secret
-
Run /mcp, select pagerduty, and complete the browser sign-in.
See Use an OAuth client ID and client secret. Never put the client secret in a file in your repository.
Available plugins
| Plugin | Description |
|---|
| pre-commit-risk-scoring | Pre-commit risk assessment using PagerDuty incident history, change event correlation, and git diff analysis |
| investigate | Investigate a PagerDuty incident with the PagerDuty SRE Agent |
| on-call-handoff | Summarize incidents and on-call state for an on-call handoff |
Getting started
Prerequisites
1. Add the marketplace
Run this once in any Claude Code session:
/plugin marketplace add pagerduty/claude-code-plugins
2. Browse and install plugins
Open the plugin manager and go to the Discover tab to browse available plugins:
/plugin
Or install a plugin directly:
/plugin install pagerduty@pagerduty-claude-code-plugins
3. Sign in to PagerDuty
The plugin bundles one MCP server, pagerduty, pointing at the PagerDuty-hosted MCP server (https://mcp.pagerduty.com/mcp?tool_groups=full-tools,ai-agents). Git commit history is read directly from the local repository.
Once your admin has completed the one-time admin step, run /mcp, select pagerduty, and complete the browser sign-in.
Troubleshooting
| Symptom | Fix |
|---|
| Sign-in fails after login with an error that the app is not installed in the account | A PagerDuty account admin must install the Claude Code app once, then sign in again from /mcp. |
401 / unauthorized responses | Your session expired or was revoked. Run /mcp, select pagerduty, and re-authenticate. |
429 rate limit | The PagerDuty API is rate limiting requests. Wait a minute and retry. |
Restricting scopes
The Claude Code app requests all scopes. If your organization wants narrower scopes, register your own Scoped OAuth app and connect with it as described in Can't get the app installed?.
Set up for your team
You can configure a repository so team members are automatically prompted to add this marketplace when they trust the project folder. Add the following to your project's .claude/settings.json:
{
"extraKnownMarketplaces": {
"pagerduty-claude-code-plugins": {
"source": {
"source": "github",
"repo": "pagerduty/claude-code-plugins"
}
}
}
}
To also auto-enable specific plugins for the project:
{
"extraKnownMarketplaces": {
"pagerduty-claude-code-plugins": {
"source": {
"source": "github",
"repo": "pagerduty/claude-code-plugins"
}
}
},
"enabledPlugins": {
"pagerduty@pagerduty-claude-code-plugins": true
}
}
Managing plugins