Authentication Errors
Invalid API Token
Error message:Token not set or incorrect
Token not set or incorrect
Check your configuration:VS Code/Cursor:Claude Desktop:Verify token:
- Go to PagerDuty > My Profile > User Settings > API Access
- Ensure token exists and hasn’t been deleted
- Create a new token if needed
Token expired or revoked
Token expired or revoked
User API Tokens don’t expire automatically, but they can be revoked:
- Check if the token still exists in PagerDuty
- If revoked, create a new token
- Update your MCP server configuration
- Restart the MCP server or client
Environment variable not set
Environment variable not set
When running locally with
uv:Wrong API Region
Error message:- Log into PagerDuty
- Check the URL:
app.pagerduty.com(US) orapp.eu.pagerduty.com(EU) - Set
PAGERDUTY_API_HOSTaccordingly
Insufficient Permissions
Error message:- Check your user role: Go to PagerDuty > My Profile to see your role
-
Required roles for common operations:
- Read operations: All roles (Responder, Manager, Admin, Owner)
- Create incidents: Responder or higher
- Modify schedules: Manager or higher
- Update services: Manager or higher
- Manage teams: Admin or higher
- Request elevated permissions: Contact your PagerDuty admin if you need higher access
- Use appropriate token: Ensure the token is from a user with sufficient permissions
Connection Issues
Cannot Connect to PagerDuty API
Error message:Check firewall/proxy
- Ensure outbound HTTPS (port 443) is allowed
- If behind a corporate proxy, configure proxy settings
- Check if VPN is required for external API access
SSL/TLS Certificate Errors
Error message:- Corporate proxy with SSL inspection
- Outdated system certificates
- System clock incorrect
-
Update system certificates:
-
Check system time:
- Corporate proxy: Contact your IT department for proxy certificate configuration
Tool Invocation Errors
Missing Required Parameters
Error message:Invalid Parameter Values
Error message:- Status:
triggered,acknowledged,resolved - Urgency:
high,low - Event action:
trigger,resolve,acknowledge,suppress - Date/time: ISO 8601 format (e.g.,
2026-03-10T14:30:00Z) - IDs: Format varies by resource type:
- Incidents:
INC-####or just the numeric ID - Users:
P######format - Services:
SVC####format (varies) - Schedules:
SCHED####format (varies)
- Incidents:
Resource Not Found
Error message:-
Verify the ID:
- Check for typos in the ID
- Ensure you’re using the correct ID type
- Some resources use numeric IDs, others use prefixes
-
Check access permissions:
- You may not have permission to view the resource
- Resource might be in a team you’re not part of
-
Confirm resource exists:
- Resource may have been deleted
- Use list operations to find valid IDs
-
List available resources:
Write Operations Disabled
Error message:--enable-write-tools flag:
VS Code/Cursor:
MCP Server Startup Issues
Server Won’t Start
Symptoms:- MCP server doesn’t appear in client
- Client shows “Server not available”
- No response from MCP tools
Check Python version
Check Python version
The server requires Python 3.12:If using
asdf:Verify uv installation
Verify uv installation
Check package installation
Check package installation
For For local development:
uvx (recommended):Review client logs
Review client logs
VS Code:
- Open Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) - Search “MCP: List Servers”
- Check server status
- View logs for error messages
- macOS:
~/Library/Logs/Claude/mcp*.log - Windows:
%APPDATA%\Claude\logs\mcp*.log
Restart the client
Restart the client
Sometimes a simple restart resolves startup issues:
- VS Code/Cursor: Restart the application completely
- Claude Desktop: Quit and relaunch (not just closing windows)
Module Import Errors
Error message:-
For uvx installations:
-
For local development:
-
Verify package is installed:
Docker-Specific Issues
Docker Image Won’t Build
Error during build: Check Docker is running:Container Exits Immediately
Container starts then stops: Check logs:- Missing environment variables
- Invalid API token
- Incorrect command arguments
-i flag (interactive) is required for stdio transport.
Debugging Techniques
Enable Verbose Logging
For local development, run with debugging enabled:Test Tools Manually
You can test tools directly using the MCP inspector:Verify API Connectivity
Test the PagerDuty API directly:Check Server Health
For local development:Getting Help
Before Asking for Help
Gather this information:-
Version information:
-
Configuration (with tokens redacted):
- Your MCP client configuration
- Environment variables being set
- Command-line arguments
-
Error messages:
- Complete error output
- Client logs
- Server logs if available
-
Steps to reproduce:
- What you’re trying to do
- Commands or queries you’re using
- Expected vs actual behavior
Where to Get Help
GitHub Issues
Report bugs and request features
Community Forum
Ask questions and share solutions
Security Issues
Report security vulnerabilities
Contributing
Contribute fixes and improvements