Prerequisites
Before installing the PagerDuty MCP Server, ensure you have the following.
For Local Serverโ
Python Runtimeโ
The PagerDuty MCP Server requires Python 3.12. The recommended way to install and run it is via uv, which handles Python version management automatically.
Install uv:
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Or via Homebrew
brew install uv
PagerDuty API Tokenโ
You need a PagerDuty User API Token:
- Log in to your PagerDuty account
- Navigate to My Profile โ User Settings โ API Access
- Click Create New API User Token
- Copy the token โ you'll need it for authentication
caution
Store your API token securely. Never commit it to version control.
For Remote Serverโ
The remote PagerDuty MCP Server is OAuth-based. You only need:
- A PagerDuty account
- An MCP-compatible client (Cursor, VS Code, Claude Desktop, etc.)
See Remote Server Setup for details.
Supported MCP Clientsโ
| Client | Local Server | Remote Server |
|---|---|---|
| Cursor | โ | โ |
| VS Code | โ | โ |
| Claude Desktop | โ | โ |
| Any MCP client | โ | โ |