Skip to content
VS Code

pagerduty mcp for VS Code

io.github.pagerduty/pagerduty-mcp

PagerDuty's official MCP server which provides tools to interact with your PagerDuty account.

client:VS Code transport:stdio runtime:pypi

Install pagerduty mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pagerduty-user-api-key",
      "description": "PAGERDUTY_USER_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pagerduty-api-host",
      "description": "PAGERDUTY_API_HOST",
      "password": true
    }
  ],
  "servers": {
    "pagerduty-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pagerduty-mcp"
      ],
      "env": {
        "PAGERDUTY_USER_API_KEY": "${input:pagerduty-user-api-key}",
        "PAGERDUTY_API_HOST": "${input:pagerduty-api-host}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

pagerduty mcp in other clients