MCP PagerDuty

by judexzhu

347 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server that provides integration with PagerDuty for incident management and monitoring operations.

Details

Author
judexzhu
Downloads
347
Categories
Other, Infrastructure

- Early development; functionality not yet fully implemented
- Provides incident list, detail, and notes retrieval tools
- Uses environment variables for PagerDuty API authentication
- Requires Python 3.13+ and the UV package manager
- Compatible with the Model Context Protocol specification
- Community-driven; not affiliated with PagerDuty, Inc.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP PagerDuty
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies using uv sync, copy .env.example to .env, and edit the file with your PagerDuty API credentials. Then run the server with python pagerduty.py. The server exposes MCP tools for incident operations.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp pagerduty": {
            "mcp-pagerduty": {
                "command": "uv",
                "args": [
                    "sync"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-pagerduty": {
        "command": "uv",
        "args": [
            "sync"
        ]
    }
}

MCP PagerDuty

🚧 Early Development - Work in Progress 🚧

Python 3.13+
MCP Compatible
UV

A Model Context Protocol (MCP) server that provides integration with PagerDuty for incident management and monitoring operations.

⚠️ Project Status

This project is in its initial development phase. Many features are planned but not yet implemented. Contributions and feedback are welcome!

πŸš€ Getting Started

Prerequisites

- Python 3.13 or higher
- PagerDuty API token

Installation

1. Clone the repository

   git clone https://github.com/judexzhu/mcp-pagerduty.git
cd mcp-pagerduty

2. Install dependencies with UV

   uv sync

3. Configure environment

   cp .env.example .env
# Edit .env with your PagerDuty API credentials

Configuration

Create a .env file with your PagerDuty configuration:

PAGERDUTY_API_TOKEN=your_api_token_here
PAGERDUTY_API_URL=https://api.pagerduty.com

Note: PAGERDUTY_API_URL is optional and defaults to https://api.pagerduty.com if not specified.

πŸ”§ Development

This project is actively under development. Current structure:

mcp-pagerduty/
β”œβ”€β”€ pagerduty.py          # Main MCP server implementation
β”œβ”€β”€ pyproject.toml        # Project configuration
β”œβ”€β”€ .env                  # Environment variables (create from .env.example)
└── README.md            # This file

Running the Server

python pagerduty.py

πŸ“š MCP Integration

This server implements the Model Context Protocol to provide PagerDuty functionality to AI assistants and other MCP clients.

Current Tools

- pagerduty_list_incidents - List incidents with filtering options
- pagerduty_get_incident - Get detailed incident information
- pagerduty_get_incident_notes - Get detailed incident information

Planned Resources

- Incident templates
- Escalation policy information
- Service status dashboards

🀝 Contributing

This project is in early development and contributions are very welcome!

How to Contribute

1. Fork the repository
2. Create a feature branch

   git checkout -b feature/your-feature-name

3. Make your changes
4. Add tests (when testing framework is set up)
5. Submit a pull request

Development Priorities

Current development priorities:
1. πŸ”΄ High Priority: Basic incident listing and retrieval
2. 🟑 Medium Priority: Incident creation and updates
3. 🟒 Low Priority: Advanced features like escalation management

πŸ“‹ TODO

- [ ] Implement basic MCP server structure
- [ ] Add PagerDuty API client
- [ ] Implement incident management tools
- [ ] Add comprehensive error handling
- [ ] Write tests
- [ ] Add logging and monitoring
- [ ] Create example configurations
- [ ] Write comprehensive documentation

πŸ› Known Issues

- Project is in initial development phase
- No functionality implemented yet
- API integration not yet built

πŸ“– Resources

- PagerDuty API Documentation
- Model Context Protocol Specification
- MCP Python SDK

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support

Since this project is in early development:
- πŸ“ Documentation: Coming soon
- πŸ› Bug Reports: Please open an issue
- πŸ’‘ Feature Requests: Welcome via issues
- πŸ’¬ Questions: Open a discussion or issue

---

Note: This project is not affiliated with PagerDuty, Inc. It's a community-driven integration for the Model Context Protocol.

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.