Rootly Mcp Servidor
Resumen
¿Qué es Rootly MCP Server?
Rootly MCP Server es una plataforma innovadora diseñada para optimizar y mejorar la gestión de recursos y servicios en la nube. Proporciona un centro centralizado para que los desarrolladores y equipos de TI monitoreen, controlen y optimicen su infraestructura en la nube de manera eficiente. Con su interfaz fácil de usar y características robustas, Rootly MCP Server simplifica operaciones complejas en la nube, haciéndolas accesibles para equipos de todos los tamaños.
Características de Rootly MCP Server
- Gestión Centralizada: Administra todos tus recursos en la nube desde un solo panel, lo que permite una supervisión y control más fáciles.
- Monitoreo en Tiempo Real: Obtén actualizaciones instantáneas sobre el rendimiento y la salud de tus servicios en la nube, lo que permite una gestión proactiva.
- Alertas Automatizadas: Configura notificaciones para eventos críticos, asegurando que tu equipo esté siempre informado sobre cambios o problemas importantes.
- Escalabilidad: Escala fácilmente tus recursos en la nube hacia arriba o hacia abajo según las necesidades de tu proyecto, optimizando costos y rendimiento.
- Interfaz Amigable: Diseñada pensando en la usabilidad, la plataforma permite a los usuarios navegar y gestionar recursos sin esfuerzo.
- Capacidades de Integración: Integra sin problemas con diversas herramientas y servicios de terceros para mejorar la funcionalidad y optimizar flujos de trabajo.
Cómo Usar Rootly MCP Server
- Regístrate: Crea una cuenta en la plataforma Rootly MCP Server.
- Conecta Tus Servicios en la Nube: Vincula tus cuentas en la nube existentes a Rootly MCP Server para una gestión centralizada.
- Configura Ajustes: Personaliza tu panel y configura alertas según las necesidades de tu equipo.
- Monitorea el Rendimiento: Utiliza las herramientas de monitoreo en tiempo real para hacer un seguimiento de tus recursos en la nube y métricas de rendimiento.
- Optimiza Recursos: Analiza patrones de uso y ajusta tus recursos para asegurar un rendimiento óptimo y rentabilidad.
Preguntas Frecuentes
P: ¿Qué tipos de servicios en la nube puedo gestionar con Rootly MCP Server?
R: Rootly MCP Server admite una amplia gama de servicios en la nube, incluidos AWS, Azure y Google Cloud, lo que te permite gestionar diversos recursos de diferentes proveedores en un solo lugar.
P: ¿Hay una prueba gratuita disponible?
R: Sí, Rootly MCP Server ofrece una prueba gratuita para nuevos usuarios para explorar sus características y capacidades antes de comprometerse a una suscripción.
P: ¿Puedo integrar Rootly MCP Server con otras herramientas?
R: ¡Absolutamente! Rootly MCP Server admite la integración con numerosas aplicaciones de terceros, mejorando su funcionalidad y permitiendo un flujo de trabajo más optimizado.
P: ¿Cómo garantiza Rootly MCP Server la seguridad de los datos?
R: Rootly MCP Server emplea medidas de seguridad estándar de la industria, incluyendo cifrado y protocolos de acceso seguro, para proteger tus datos y asegurar el cumplimiento de regulaciones.
P: ¿Qué opciones de soporte están disponibles?
R: Rootly MCP Server proporciona varias opciones de soporte, incluyendo documentación, foros comunitarios y soporte al cliente directo para cualquier consulta o problema.
Detalle
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 managercurl -LsSf https://astral.sh/uv/install.sh | sh
- Rootly API token
Installation
Configure your MCP-compatible editor (tested with Cursor) with one of the configurations below. The package will be automatically downloaded and installed when you first open your editor.
With uv
{
"mcpServers": {
"rootly": {
"command": "uv",
"args": [
"tool",
"run",
"--from",
"rootly-mcp-server",
"rootly-mcp-server",
],
"env": {
"ROOTLY_API_TOKEN": "<YOUR_ROOTLY_API_TOKEN>"
}
}
}
}
With uvx
{
"mcpServers": {
"rootly": {
"command": "uvx",
"args": [
"--from",
"rootly-mcp-server",
"rootly-mcp-server",
],
"env": {
"ROOTLY_API_TOKEN": "<YOUR_ROOTLY_API_TOKEN>"
}
}
}
}
To customize allowed_paths
and access additional Rootly API paths, clone the repository and use this configuration:
{
"mcpServers": {
"rootly": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/rootly-mcp-server",
"rootly-mcp-server"
],
"env": {
"ROOTLY_API_TOKEN": "<YOUR_ROOTLY_API_TOKEN>"
}
}
}
}
Connect to Hosted MCP Server
Alternatively, connect directly to our hosted MCP server:
{
"mcpServers": {
"rootly": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.rootly.com/sse",
"--header",
"Authorization:${ROOTLY_AUTH_HEADER}"
],
"env": {
"ROOTLY_AUTH_HEADER": "Bearer <YOUR_ROOTLY_API_TOKEN>"
}
}
}
}
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
- AI-Powered Incident Analysis: Smart tools that learn from historical incident data
find_related_incidents
: Uses TF-IDF similarity analysis to find historically similar incidentssuggest_solutions
: Mines past incident resolutions to recommend actionable solutions
- MCP Resources: Exposes incident and team data as structured resources for easy AI reference
- Intelligent Pattern Recognition: Automatically identifies services, error types, and resolution patterns
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
):
/v1/incidents
/v1/incidents/{incident_id}/alerts
/v1/alerts
/v1/alerts/{alert_id}
/v1/severities
/v1/severities/{severity_id}
/v1/teams
/v1/teams/{team_id}
/v1/services
/v1/services/{service_id}
/v1/functionalities
/v1/functionalities/{functionality_id}
/v1/incident_types
/v1/incident_types/{incident_type_id}
/v1/incident_action_items
/v1/incident_action_items/{incident_action_item_id}
/v1/incidents/{incident_id}/action_items
/v1/workflows
/v1/workflows/{workflow_id}
/v1/workflow_runs
/v1/workflow_runs/{workflow_run_id}
/v1/environments
/v1/environments/{environment_id}
/v1/users
/v1/users/{user_id}
/v1/users/me
/v1/status_pages
/v1/status_pages/{status_page_id}
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: Controls 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
.
AI-Powered Smart Tools
The MCP server includes intelligent tools that analyze historical incident data to provide actionable insights:
find_related_incidents
Finds historically similar incidents using machine learning text analysis:
find_related_incidents(incident_id="12345", similarity_threshold=0.3, max_results=5)
- Input: Incident ID, similarity threshold (0.0-1.0), max results
- Output: Similar incidents with confidence scores, matched services, and resolution times
- Use Case: Get context from past incidents to understand patterns and solutions
suggest_solutions
Recommends solutions by analyzing how similar incidents were resolved:
suggest_solutions(incident_id="12345", max_solutions=3)
### OR for new incidents:
suggest_solutions(incident_title="Payment API errors", incident_description="Users getting 500 errors during checkout")
- Input: Either incident ID OR title/description text
- Output: Actionable solution recommendations with confidence scores and time estimates
- Use Case: Get AI-powered suggestions based on successful past resolutions
How It Works
- Text Similarity: Uses TF-IDF vectorization and cosine similarity (scikit-learn)
- Service Detection: Automatically identifies affected services from incident text
- Pattern Recognition: Finds common error types, resolution patterns, and time estimates
- Fallback Mode: Works without ML libraries using keyword-based similarity
- Solution Mining: Extracts actionable steps from resolution summaries
Data Requirements
For optimal results, ensure your Rootly incidents have descriptive:
- Titles: Clear, specific incident descriptions
- Summaries: Detailed resolution steps when closing incidents
- Service Tags: Proper service identification
Example good resolution summary: "Restarted auth-service, cleared Redis cache, and increased connection pool from 10 to 50"
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:
uv venv .venv
source .venv/bin/activate # Always activate before running scripts
2. Install Dependencies
Install all project dependencies:
uv pip install .
To add new dependencies during development:
uv pip install <package>
3. Verify Installation
The server should now be ready to use with your MCP-compatible editor.
For developers: Additional testing tools are available in the tests/
directory.
Configuración del Servidor
{
"mcpServers": {
"rootly-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--rootly-ai-labs--rootly-mcp-server--rootly-mcp-server",
"rootly-mcp-server"
],
"env": {
"ROOTLY_API_TOKEN": "rootly-api-token"
}
}
}
}