Registry / devops / pagerduty-mcp

pagerduty-mcp

JSON →
library0.17.0pypypiunverified

PagerDuty's official local MCP (Model Context Protocol) server providing tools to interact with your PagerDuty account directly from MCP-enabled clients (like Claude Desktop). Version 0.17.0; active development with frequent releases.

pip install pagerduty-mcp
INSTALL
IMPORT
SIG · PAGERDUTY-MCP
P
pagerduty-mcp
devopspythonv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PagerDutyMCPServer
from pagerduty_mcp import PagerDutyMCPServer
from pagerduty_mcp.server import PagerDutyMCPServer

Initialize and run the MCP server with your PagerDuty API key.

from pagerduty_mcp.server import PagerDutyMCPServer import os api_key = os.environ.get('PAGERDUTY_API_KEY', '') if not api_key: raise ValueError('PAGERDUTY_API_KEY environment variable required') server = PagerDutyMCPServer(api_key=api_key) server.run()
Debug
Known issues
breakingPython version requirement is ~=3.12.0 (3.12 only). This library does not support Python 3.11 or 3.13.
fix
Use Python 3.12. If you need a different Python version, consider using the official Docker image or an alternative MCP server.
affects: 0.17.0
gotchaThe API key must have appropriate scopes (e.g., read access to incidents, write for actions). Using a read-only key will cause errors when attempting to perform actions like acknowledging incidents.
fix
Ensure your PagerDuty API token has the necessary scopes (e.g., incidents.read, incidents.write). Generate a new token with scoped permissions from the PagerDuty console.
affects: all
gotchaThe MCP server runs locally and requires an MCP host (like Claude Desktop) to connect. It does not expose a standalone HTTP API.
fix
Use this library as a stdio-based MCP server. Configure your MCP client to launch the server via command (e.g., `uv run pagerduty-mcp`).
affects: all
deprecatedThe `--transport` flag was removed in recent versions. Previously you could specify transport type.
fix
Remove any `--transport` CLI argument. The server now uses stdio by default.
affects: <0.15.0
Upgrade
Version history
0.17.0latest on PyPI · released Mar 26, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

pagerduty-mcp — pip install pagerduty-mcp · libregistry