# MCP (Model Context Protocol) at PagerDuty If you're looking to use MCP with PagerDuty, you've come to the right place! MCP (or [Model Context Protocol]) is designed to allow agent-based clients to discover and use tools for performing complex interactions via an API, based on [JSON-RPC]. PagerDuty's MCP server allows you to fetch and manage information in your PagerDuty account. ## Remote MCP Server You can call our [Remote MCP Server][MCP API Reference]. This supports the same authentication methods as the REST API, including API tokens and OAuth -- see our [authentication documentation] for more information. Key URLs: - MCP Base URL: `https://mcp.pagerduty.com/mcp` - OAuth Metadata: `https://identity.pagerduty.com/global/oauth/anonymous/.well-known/openid-configuration` You can see the full list of tools by calling the `list/tools` method. ### Sample configuration Here is a sample MCP configuration for Microsoft Visual Studio Code: ```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 } ] } ``` ## Resources - [PagerDuty MCP API Reference][MCP API Reference] - [Model Context Protocol] documentation from Anthropic - [JSON-RPC] documentation [Model Context Protocol]: https://modelcontextprotocol.io/specification/2025-06-18/basic [JSON-RPC]: https://www.jsonrpc.org/ [authentication documentation]: https://developer.pagerduty.com/docs/rest-api-v2/authentication/ [MCP API Reference]: https://developer.pagerduty.com/api-reference/83ebf88243817-mcp-endpoint