developer-tools

Rootly

by rootly-ai-labs

Integrate Rootly's incident management API for real-time production issue resolution in code editors with efficient cont

Integrates with Rootly's incident management API to enable real-time production incident resolution directly within code editors, focusing on core endpoints with optimized pagination to prevent context overflow.

github stars

40

Resolve incidents in under 60 secondsWorks directly in Cursor, Windsurf, ClaudeOptimized pagination prevents context overflow

best for

  • / DevOps engineers handling production incidents
  • / On-call developers needing quick incident access
  • / Teams wanting incident management in their IDE
  • / SREs tracking incident metrics

capabilities

  • / Query incident status and details
  • / Manage incident resolution workflows
  • / Get on-call handoff summaries
  • / Track on-call shift metrics
  • / Update incident information
  • / Access team schedules and assignments

what it does

Integrates with Rootly's incident management API to handle production incidents directly from your code editor. Resolves incidents in under a minute without switching tools.

about

Rootly is an official MCP server published by rootly-ai-labs that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate Rootly's incident management API for real-time production issue resolution in code editors with efficient cont It is categorized under developer tools.

how to install

You can install Rootly in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

Apache-2.0

Rootly is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

# Rootly MCP Server [![PyPI version](https://badge.fury.io/py/rootly-mcp-server.svg)](https://pypi.org/project/rootly-mcp-server/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/rootly-mcp-server)](https://pypi.org/project/rootly-mcp-server/) [![Python Version](https://img.shields.io/pypi/pyversions/rootly-mcp-server.svg)](https://pypi.org/project/rootly-mcp-server/) [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=rootly&config=eyJ1cmwiOiJodHRwczovL21jcC5yb290bHkuY29tL3NzZSIsImhlYWRlcnMiOnsiQXV0aG9yaXphdGlvbiI6IkJlYXJlciA8WU9VUl9ST09UTFlfQVBJX1RPS0VOPiJ9fQ==) An MCP server for the [Rootly API](https://docs.rootly.com/api-reference/overview) that integrates seamlessly with MCP-compatible editors like Cursor, Windsurf, and Claude. Resolve production incidents in under a minute without leaving your IDE. ![Demo GIF](https://raw.githubusercontent.com/Rootly-AI-Labs/Rootly-MCP-server/refs/heads/main/rootly-mcp-server-demo.gif) ## Prerequisites - Python 3.12 or higher - `uv` package manager ```bash curl -LsSf https://astral.sh/uv/install.sh | sh ``` - [Rootly API token](https://docs.rootly.com/api-reference/overview#how-to-generate-an-api-key%3F) with appropriate permissions (see below) ### API Token Permissions The MCP server requires a Rootly API token. Choose the appropriate token type based on your needs: - **Global API Key** (Recommended): Full access to all entities across your Rootly instance. Required for organization-wide visibility across teams, schedules, and incidents. - **Team API Key**: Team Admin permissions with full read/edit access to entities owned by that team. Suitable for team-specific workflows. - **Personal API Key**: Inherits the permissions of the user who created it. Works for individual use cases but may have limited visibility. For full functionality of tools like `get_oncall_handoff_summary`, `get_oncall_shift_metrics`, and organization-wide incident search, a **Global API Key** is recommended. ## Quick Start The fastest way to get started is to connect to our hosted MCP server — no installation required. ### Hosted (Streamable HTTP, recommended) ```json { "mcpServers": { "rootly": { "url": "https://mcp.rootly.com/mcp", "headers": { "Authorization": "Bearer " } } } } ``` ### Hosted (SSE, backward compatible) ```json { "mcpServers": { "rootly": { "url": "https://mcp.rootly.com/sse", "headers": { "Authorization": "Bearer " } } } } ``` For **Claude Desktop**, if direct `url` config causes launch issues on your build, use this fallback: ```json { "mcpServers": { "rootly": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.rootly.com/sse", "--transport", "sse-only", "--header", "Authorization: Bearer " ] } } } ``` For **Claude Code**, run: ```bash claude mcp add rootly --transport http https://mcp.rootly.com/mcp \ --header "Authorization: Bearer YOUR_ROOTLY_API_TOKEN" ``` SSE fallback: ```bash claude mcp add rootly-sse --transport sse https://mcp.rootly.com/sse \ --header "Authorization: Bearer YOUR_ROOTLY_API_TOKEN" ``` For **Gemini CLI**, install the extension: ```bash gemini extensions install https://github.com/Rootly-AI-Labs/Rootly-MCP-server ``` Or configure manually in `~/.gemini/settings.json`: ```json { "mcpServers": { "rootly": { "command": "uvx", "args": ["--from", "rootly-mcp-server", "rootly-mcp-server"], "env": { "ROOTLY_API_TOKEN": "" } } } } ``` ## Alternative Installation (Local) If you prefer to run the MCP server locally, configure your editor with one of the options below. The package will be automatically downloaded and installed when you first open your editor. ### With uv ```json { "mcpServers": { "rootly": { "command": "uv", "args": [ "tool", "run", "--from", "rootly-mcp-server", "rootly-mcp-server" ], "env": { "ROOTLY_API_TOKEN": "" } } } } ``` ## Self-Hosted Transport Options Choose one transport per server process: - **Streamable HTTP** endpoint path: `/mcp` - **SSE** endpoint path: `/sse` Example Docker run (Streamable HTTP): ```bash docker run -p 8000:8000 \ -e ROOTLY_TRANSPORT=streamable-http \ -e ROOTLY_API_TOKEN= \ rootly-mcp-server ``` Example Docker run (SSE): ```bash docker run -p 8000:8000 \ -e ROOTLY_TRANSPORT=sse \ -e ROOTLY_API_TOKEN= \ rootly-mcp-server ``` ### With uvx ```json { "mcpServers": { "rootly": { "command": "uvx", "args": [ "--from", "rootly-mcp-server", "rootly-mcp-server" ], "env": { "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 - **Intelligent Incident Analysis**: Smart tools that analyze historical incident data - **`find_related_incidents`**: Uses TF-IDF similarity analysis to find historically similar incidents - **`suggest_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 - **On-Call Health Integration**: Detects workload health risk in scheduled responders ## Supported Tools The default server configuration currently exposes **99 tools** (including custom agentic tools and OpenAPI-generated tools). ### Custom Agentic Tools - `check_oncall_health_risk` - `check_responder_availability` - `create_override_recommendation` - `find_related_incidents` - `get_alert_by_short_id` - `get_oncall_handoff_summary` - `get_oncall_schedule_summary` - `get_oncall_shift_metrics` - `get_server_version` - `get_shift_incidents` - `list_endpoints` - `list_shifts` - `search_incidents` - `suggest_solutions` ### OpenAPI-Generated Tools ```text attachAlert createAlert createEnvironment createEscalationLevel createEscalationLevelPaths createEscalationPath createEscalationPolicy createFunctionality createIncidentActionItem createIncidentType createOnCallRole createOnCallShadow createOverrideShift createSchedule createScheduleRotation createScheduleRotationActiveDay createScheduleRotationUser createService createSeverity createTeam createWorkflow deleteEscalationLevel deleteEscalationPath deleteEscalationPolicy deleteSchedule deleteScheduleRotation getAlert getCurrentUser getEnvironment getEscalationLevel getEscalationPath getEscalationPolicy getFunctionality getIncidentType getOnCallRole getOnCallShadow getOverrideShift getSchedule getScheduleRotation getScheduleShifts getService getSeverity getTeam getUser getWorkflow listAlerts listEnvironments listEscalationLevels listEscalationLevelsPaths listEscalationPaths listEscalationPolicies listFunctionalities listIncidentActionItems listIncidentAlerts listIncident_Types listOnCallRoles listOnCallShadows listOverrideShifts listScheduleRotationActiveDays listScheduleRotationUsers listScheduleRotations listSchedules listServices listSeverities listShifts listTeams listUsers listWorkflows updateAlert updateEnvironment updateEscalationLevel updateEscalationPath updateEscalationPolicy updateFunctionality updateIncidentType updateOnCallRole updateOnCallShadow updateOverrideShift updateSchedule updateScheduleRotation updateService updateSeverity updateTeam updateUser updateWorkflow ``` Delete operations are intentionally scoped to screenshot coverage paths: `deleteSchedule`, `deleteScheduleRotation`, `deleteEscalationPolicy`, `deleteEscalationPath`, `deleteEscalationLevel`. ## On-Call Health Integration Rootly MCP integrates with [On-Call Health](https://oncallhealth.ai) to detect workload health risk in scheduled responders. ### Setup Set the `ONCALLHEALTH_API_KEY` environment variable: ```json { "mcpServers": { "rootly": { "command": "uvx", "args": ["rootly-mcp-server"], "env": { "ROOTLY_API_TOKEN": "your_rootly_token", "ONCALLHEALTH_API_KEY": "och_live_your_key" } } } } ``` ### Usage ``` check_oncall_health_risk( start_date="2026-02-09", end_date="2026-02-15" ) ``` Returns at-risk users who are scheduled, recommended safe replacements, and action summaries. ## Example Skills Want to get started quickly? We provide pre-built Claude Code skills that showcase the full power of the Rootly MCP server: ### 🚨 [Rootly Incident Responder](examples/skills/rootly-incident-responder.md) An AI-powered incident response specialist that: - Analyzes production incidents with full context - Finds similar historical incidents using ML-based similarity matching - Suggests solutions based on past successful resolutions - Coordinates with on-call teams across timezones - Correlates incidents with recent code changes and deployments - Creates action items and remediation plans - Provides confidence scores and time estimates **Quick Start:** ```bash # Copy the skill to your project mkdir -p .claude/skills cp examples/skills/rootly-incident-responder.md .claude/skills/ # Then in Claude Code, invoke it: # @rootly-incident-responder analyze incident #12345 ``` This skill demonstrates a complete incident response workflow using Rootly's intelligent tools combined with GitHub integration for code correlati ---

FAQ

What is the Rootly MCP server?
Rootly is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Rootly?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    Rootly is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated Rootly against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: Rootly is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    Rootly reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend Rootly for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: Rootly surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    Rootly has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, Rootly benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired Rootly into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    Rootly is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.