Claude Desktop
Claude Desktop supports local MCP servers. This guide shows how to add the PagerDuty MCP Server.
Configuration File Locationโ
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
Configurationโ
{
"mcpServers": {
"pagerduty": {
"command": "uvx",
"args": ["pagerduty-mcp"],
"env": {
"PAGERDUTY_USER_API_KEY": "your-api-token-here"
}
}
}
}
With Write Toolsโ
{
"mcpServers": {
"pagerduty": {
"command": "uvx",
"args": ["pagerduty-mcp", "--enable-write-tools"],
"env": {
"PAGERDUTY_USER_API_KEY": "your-api-token-here"
}
}
}
}
Verifyโ
Restart Claude Desktop. A hammer icon in the chat input area indicates MCP tools are loaded. Click it to confirm PagerDuty tools are listed.
caution
The API token is stored in the config file in plaintext. Ensure the file has appropriate permissions:
chmod 600 ~/Library/Application\ Support/Claude/claude_desktop_config.json