Docker
The PagerDuty MCP Server is available as a Docker image, providing isolation and portability.
Run with Dockerโ
docker run --rm -i \
-e PAGERDUTY_USER_API_KEY="your-api-token-here" \
ghcr.io/pagerduty/pagerduty-mcp:latest
Run with Write Toolsโ
docker run --rm -i \
-e PAGERDUTY_USER_API_KEY="your-api-token-here" \
ghcr.io/pagerduty/pagerduty-mcp:latest \
--enable-write-tools
Docker Composeโ
Create a docker-compose.yml:
services:
pagerduty-mcp:
image: ghcr.io/pagerduty/pagerduty-mcp:latest
environment:
PAGERDUTY_USER_API_KEY: ${PAGERDUTY_USER_API_KEY}
stdin_open: true
tty: true
Integrate with MCP Clientsโ
To use the Docker container as your MCP server, configure your client to use Docker as the command:
{
"mcpServers": {
"pagerduty": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "PAGERDUTY_USER_API_KEY",
"ghcr.io/pagerduty/pagerduty-mcp:latest"
],
"env": {
"PAGERDUTY_USER_API_KEY": "your-api-token-here"
}
}
}
}
EU Region with Dockerโ
docker run --rm -i \
-e PAGERDUTY_USER_API_KEY="your-api-token-here" \
-e PAGERDUTY_API_HOST="https://api.eu.pagerduty.com" \
ghcr.io/pagerduty/pagerduty-mcp:latest