> Documentation index for AI agents: https://docs.pagerduty.com/llms.txt

# MCP Server

# PagerDuty MCP API

The PagerDuty Model Context Protocol (MCP) API is a remote MCP server that is designed to give agentic clients the tools they need
to interact with your PagerDuty account, based on [Model Context Protocol](https://modelcontextprotocol.io/specification/2025-06-18/basic)
and [JSON-RPC](https://www.jsonrpc.org/).

Key URLs:
 - MCP Base URL: `https://mcp.pagerduty.com/mcp`
 - OAuth Metadata: `https://identity.pagerduty.com/global/oauth/anonymous/.well-known/openid-configuration`

See the full list of tools by calling the `list/tools` method, or by browsing our [MCP server repository](https://github.com/PagerDuty/pagerduty-mcp-server),
where you can also find instructions to run the server locally.

## Getting Started

The MCP API supports the same authentication methods as the REST API, including API tokens and OAuth. See the
[authentication documentation](https://docs.pagerduty.com/developer/authentication) for more information.

Here is a sample MCP configuration for clients such as Microsoft VSCode:

```json
{
  "servers": {
    "pagerduty-mcp": {
      "url": "https://mcp.pagerduty.com/mcp",
      "type": "http",
      "headers": {
        "Authorization": "Token token=${input:pagerduty-api-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "pagerduty-api-key",
      "description": "PagerDuty API Key",
      "password": true
    }
  ]
}
```

- [PagerDuty MCP API](https://docs.pagerduty.com/developer/api/reference/mcp/pagerduty-mcp-api.md)

## Developer Agreement

Your access to and use of the PagerDuty Developer Services is governed by the [PagerDuty Developer Agreement](https://docs.pagerduty.com/developer/pagerduty-developer-agreement).
