Understanding PagerDuty Regions
PagerDuty has two primary regions:US Region
API Endpoint:
https://api.pagerduty.comThis is the default region and is used by most PagerDuty accounts.EU Region
API Endpoint:
https://api.eu.pagerduty.comUsed by accounts based in the European Union.Default Configuration
By default, the PagerDuty MCP Server connects to the US region API endpoint (https://api.pagerduty.com). If your account is in the US region, you don’t need to configure anything.
The default endpoint is set in the server’s
ApplicationContextStrategy class at pagerduty_mcp/context/application_context_strategy.py:21.Determining Your Region
To determine which region your PagerDuty account is in:- Log in to your PagerDuty account
- Check the URL in your browser:
- If it’s
*.pagerduty.com, you’re in the US region - If it’s
*.eu.pagerduty.com, you’re in the EU region
- If it’s
Configuring Regional Endpoints
To configure a different API endpoint, set thePAGERDUTY_API_HOST environment variable when starting the MCP server.
VS Code
settings.json
Cursor
settings.json
Claude Desktop
macOS:~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
claude_desktop_config.json
Docker
Pass the regional endpoint as an environment variable:Local Development
settings.json
Regional Considerations
Data Residency
Data Residency
Data in EU region accounts is stored and processed within the European Union to comply with GDPR and other regional data protection regulations.
API Token Compatibility
API Token Compatibility
API tokens are region-specific. A token generated in the US region will not work with the EU API endpoint and vice versa.
Service Availability
Service Availability
Both regions offer the same features and API capabilities. Regional endpoints are designed for data residency compliance, not feature differences.
Performance
Performance
Using the correct regional endpoint may provide better performance due to geographic proximity to the data centers.
Troubleshooting Regional Endpoint Issues
401 Unauthorized with correct token
401 Unauthorized with correct token
Connection timeouts or DNS errors
Connection timeouts or DNS errors
Double-check the
PAGERDUTY_API_HOST value for typos. The correct values are:- US:
https://api.pagerduty.com - EU:
https://api.eu.pagerduty.com
https://) is required.Not sure which region to use
Not sure which region to use
If you’re unsure about your region:
- Try the default US endpoint first
- If you get authentication errors with a valid token, try the EU endpoint
- Check with your PagerDuty administrator
- Look at your PagerDuty web URL - it will indicate the region
Configuration Examples
US Region (Default)
For US region accounts, you can omit thePAGERDUTY_API_HOST variable entirely:
EU Region
For EU region accounts, you must set thePAGERDUTY_API_HOST variable:
How It Works
The MCP server’screate_pd_client() function reads the PAGERDUTY_API_HOST environment variable and configures the PagerDuty API client accordingly:
This implementation is in
pagerduty_mcp/context/application_context_strategy.py:18-29.Next Steps
API Authentication
Set up your PagerDuty API token
Write Mode
Learn about read-only vs write operations
Client Integration
Configure your MCP client
Troubleshooting
Get help with common issues