The Rootly MCP server integrates with MCP-compatible IDEs to streamline incident resolution by providing access to Rootly's API endpoints. It's optimized for AI agents and enables management of various Rootly resources directly from your IDE.
Key capabilities:
- Incident Management: Create, list, and search incidents with advanced pagination controls
- Alert Handling: Create, list, and attach alerts to incidents
- Resource Management: Create and list environments, functionalities, workflows, incident types, services, severities, and teams
- User Operations: List all users and retrieve current user details
- Action Items: Create and manage incident action items
- API Discovery: List all available Rootly API endpoints
- IDE Integration: Designed for direct interaction with Rootly from editors like Cursor and Windsurf
- AI Optimization: Features dynamic tool generation from OpenAPI specifications with smart pagination to manage context windows
Rootly MCP Server
An MCP server for the Rootly API that integrates seamlessly with MCP-compatible editors like Cursor, Windsurf, and Claude. Resolve production incidents in under a minute without leaving your IDE.
Prerequisites
- Python 3.12 or higher
uv
package manager- Rootly API token
Installation
Install via our PyPi package or by cloning this repository.
Configure your MCP-compatible editor (tested with Cursor and Windsurf) with the following:
With uv
With uv-tool-uvx
To customize allowed_paths
and access additional Rootly API paths, clone the repository and use this configuration:
Connect to Hosted MCP Server
Alternatively, connect directly to our hosted MCP server:
Features
- Dynamic Tool Generation: Automatically creates MCP resources from Rootly's OpenAPI (Swagger) specification
- Smart Pagination: Defaults to 10 items per request for incident endpoints to prevent context window overflow
- API Filtering: Limits exposed API endpoints for security and performance
Whitelisted Endpoints
By default, the following Rootly API endpoints are exposed to the AI agent (see allowed_paths
in src/rootly_mcp_server/server.py
):
Why Path Limiting?
We limit exposed API paths for two key reasons:
- Context Management: Rootly's comprehensive API can overwhelm AI agents, affecting their ability to perform simple tasks effectively
- Security: Control which information and actions are accessible through the MCP server
To expose additional paths, modify the allowed_paths
variable in src/rootly_mcp_server/server.py
.
About Rootly AI Labs
This project was developed by Rootly AI Labs, where we're building the future of system reliability and operational excellence. As an open-source incubator, we share ideas, experiment, and rapidly prototype solutions that benefit the entire community.
Developer Setup & Troubleshooting
Prerequisites
- Python 3.12 or higher
uv
for dependency management
1. Set Up Virtual Environment
Create and activate a virtual environment:
2. Install Dependencies
Install all project dependencies:
To add new dependencies during development:
3. Verify Installation
Run the test client to ensure everything is configured correctly:
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Manage incidents from your IDE. An MCP server allowing to pull out incidents and their associated metadata using Rootly API.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that provides tools for interacting with Linear issue tracking system, currently supporting issue search with plans to expand to issue creation, updates, comments, and project management.Last updated -1261TypeScriptMIT License
- -securityFlicense-qualityA server that connects MCP clients (Claude, Cursor, Windsurf, etc.) to EventCatalog instances, allowing users to ask questions about their event-driven architecture and get insights about domains, services, and message schemas directly within their development tools.Last updated -716TypeScript
- -securityFlicense-qualityAn MCP server that connects to Sentry.io or self-hosted Sentry instances to retrieve and analyze error reports, stack traces, and debugging information.Last updated -Python
- -securityFlicense-qualityA remote MCP server that provides AI agents access to the Rootly API for incident management, allowing users to query and manage incidents, alerts, teams, services, and other incident management resources through natural language.Last updated -TypeScript