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
uvpackage managercurl -LsSf https://astral.sh/uv/install.sh | sh- 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 :
{
"mcpServers": {
"rootly": {
"command": "uvx",
"args": [
"--from",
"rootly-mcp-server",
"rootly-mcp-server"
],
"env": {
"ROOTLY_API_TOKEN": "<YOUR_ROOTLY_API_TOKEN>"
}
}
}
}
If you want to customize allowed_paths to access more Rootly API paths, clone the package and use this config.
{
"mcpServers": {
"rootly": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/rootly-mcp-server",
"rootly-mcp-server"
],
"env": {
"ROOTLY_API_TOKEN": "<YOUR_ROOTLY_API_TOKEN>"
}
}
}
}
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
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. As of now we only expose the /incidents and /incidents/{incident_id}/alerts.
- 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 path available, edit the variable allowed_paths in src/rootly_mcp_server/server.py.
Disclaimer
This project is a prototype and not intended for production use. If you have featured ideas or spotted some issues, feel free to submit a PR or open an issue.
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.

Rootly MCP Server
Project Details
- Rootly-AI-Labs/Rootly-MCP-server
- Apache License 2.0
- Last Updated: 4/20/2025
Recomended MCP Servers
MCP Server for blockchain interactions with Web DApp for secure transaction signing
🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows
This is MCP server for Claude that gives it terminal control, file system search and diff file editing...
Model Context Protocol server for ActivityWatch time tracking data
MCP server for discord bot - adds one tool with raw API access
MCP to explore websites with llms.txt files
支持SSE,STDIO;不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展 Support for SSE, STDIO in MySQL MCP server mcp_mysql_server_pro is not just about MySQL CRUD operations,...
FreeCAD MCP(Model Context Protocol) server
A powerful headless browser MCP server that enables AI agents to fetch web content and perform Google searches...
Analyzes your codebase identifying important files based on dependency relationships. Generates diagrams and importance scores per file, helping...
A Model Context Protocol (MCP) server that provides AI assistants access to AWS CloudWatch Logs for analysis, searching,...





