Rootly MCP Server
An MCP server for Rootly API that you can plug into your favorite 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
Run it in your IDE
Install with our PyPi package or by cloning this repo.
To set it up in your favorite MCP-compatible editor (we tested it with Cursor and Windsurf), here is the config :
If you want to customize allowed_paths
to access more Rootly API paths, clone the package and use this config.
Features
This server dynamically generates MCP resources based on Rootly's OpenAPI (Swagger) specification:
- Dynamically generated MCP tools based on Rootly's OpenAPI specification
- Default pagination (10 items) for incident endpoints to prevent context window overflow
- Limits the number of API paths exposed to the AI agent
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
):
We limited the number of API paths exposed for 2 reasons:
- Context size: because Rootly's API is very rich in paths, AI agents can get overwhelmed and not perform simple actions properly.
- Security: if you want to limit the type of information or actions that users can access through the MCP server
If you want to make more paths available, edit the variable allowed_paths
in src/rootly_mcp_server/server.py
.
About the Rootly AI Labs
This project was developed by the Rootly AI Labs. The AI Labs is building the future of system reliability and operational excellence. We operate as an open-source incubator, sharing ideas, experimenting, and rapidly prototyping. We're committed to ensuring our research benefits the entire community.
Developer Setup & Troubleshooting
1. Install dependencies with uv
This project uses uv
for fast dependency management. To install all dependencies from your pyproject.toml
:
2. Using a virtual environment
It is recommended to use a virtual environment for development:
3. Running the test client
To run the test client and verify your setup:
5. General tips
- Always activate your virtual environment before running scripts.
- If you add new dependencies, use
uv pip install <package>
to keep your environment up to date. - If you encounter issues, check your Python version and ensure it matches the project's requirements.
6. Connecting to Our MCP Server
You can configure your client to connect directly to our hosted MCP server:
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
- -securityAlicense-qualityEnables AI applications to manage JIRA issues, workflows, and tasks through a standardized MCP interface, facilitating real-time updates and seamless interaction with JIRA's API.Last updated -6PythonMIT License
- 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 -1731TypeScriptMIT 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 -16813TypeScript
- AsecurityAlicenseAqualityAn MCP server implementation that integrates with Backlog API, enabling project management operations including issues, projects, and wikis through natural language interactions.Last updated -12533TypeScriptMIT License