Incident management, on-call scheduling, and intelligent analysis powered by Rootly.
Rootly MCP Server (com.rootly/mcp-server)
An MCP server that connects to the Rootly API to provide incident management, on-call scheduling, and intelligent analysis. It is designed to run with MCP clients such as Cursor, Windsurf, Claude, and other MCP-compatible applications.
๐ ๏ธ Key Features
Incident management
On-call scheduling
Intelligent analysis via Rootly API
MCP server for Rootly API integration
๐ Use Cases
Supporting incident response workflows
Managing and coordinating on-call schedules
Performing analysis related to incidents using Rootly data
โก Developer Benefits
Integrates with the Rootly API for incident-related functions
Works with common MCP clients (Cursor, Windsurf, Claude, and other MCP clients)
โ ๏ธ Limitations
Functionality details beyond incident management, on-call scheduling, and intelligent analysis are not specified in the provided source.
Choose the token type based on the access you need:
Global API Key: Full access across the Rootly instance. Best for organization-wide visibility.
Team API Key: Access limited to entities owned by that team.
Personal API Key: Access matches the user who created it.
A Global API Key is recommended for organization-wide queries and for actions that modify data, especially when workflows may span multiple teams, schedules, or incidents.
Code Mode (experimental) endpoint path: /mcp-codemode in hosted dual-transport mode
Hosted and self-hosted deployments now both expose the full tool surface by default.
Hosted default: full surface
Hosted slim profile: about 70 high-usage tools via ?tool_profile=slim
Self-hosted default: full surface
To restrict either deployment to read-only tools, start the server with --no-enable-write-tools or set ROOTLY_MCP_ENABLE_WRITE_TOOLS=false.
For hosted clients that want the smaller remote profile, append ?tool_profile=slim to the MCP URL or send X-Rootly-Tool-Profile: slim.
AgentCat and Sentry telemetry
Hosted deployments can send MCP telemetry to AgentCat by setting
ROOTLY_MCPCAT_PROJECT_ID. To also export AgentCat events to Sentry, provide
SENTRY_DSN through the deployment's secret store. The optional
ENVIRONMENT defaults to production, and SENTRY_RELEASE defaults to the
installed Rootly MCP Server version. Sentry performance tracing is enabled when
the exporter is configured.
Free-form event text is redacted and actor names are omitted from Sentry-bound
telemetry; stable internal actor IDs remain available for correlation.
Telemetry runs on AgentCat v2 (MCP 2026-07-28 spec). Sessions are correlated via
a session_id carried in the tool list rather than stateful connections, which
suits our stateless hosted transport; initialize and tools/list events are no
longer published by the SDK.
To override the hosted or self-hosted default profile entirely, set ROOTLY_MCP_ENABLED_TOOLS (or pass --enabled-tools) with a comma-separated allowlist of exact tool names. When that variable is set, it fully replaces the default selection.
To expose only a specific subset of MCP tools on a self-hosted deployment, set ROOTLY_MCP_ENABLED_TOOLS (or pass --enabled-tools) with a comma-separated allowlist of exact tool names, for example list_incidents,get_incident,get_server_version.
OpenAI Apps domain verification
Hosted deployments expose an unauthenticated domain-verification endpoint used by the OpenAI plugin directory:
Set ROOTLY_OPENAI_APPS_CHALLENGE_TOKEN to the token generated in the OpenAI submission portal. The endpoint returns that exact token as text/plain (with Cache-Control: no-store), and returns 404 when the variable is unset or empty. The token is read from the environment at request time โ never hardcode or commit it. The route is served on both the dual-transport (--transport both) and profiled streamable-HTTP hosted deployments and is not subject to Bearer authentication.
To discover the exact tool names available under your current self-hosted configuration, run:
bash
ROOTLY_API_TOKEN=<YOUR_ROOTLY_API_TOKEN> \
uv run python -m rootly_mcp_server --list-tools
This prints the effective MCP tool names after applying your current settings, including ROOTLY_MCP_ENABLE_WRITE_TOOLS and ROOTLY_MCP_ENABLED_TOOLS.
On-Call Health Integration: Detects workload health risk in scheduled responders
Supported Tools
The default tool surface depends on deployment profile:
Hosted default: about 218 tools
Hosted slim profile: about 70 tools
Self-hosted default: about 218 tools
Custom Agentic Tools
check_oncall_health_risk
check_responder_availability
collect_incidents
create_incident - create a new incident with a scoped set of fields for agent workflows
create_override_recommendation
find_related_incidents
get_incident - retrieve a single incident for direct verification, including PIR-related fields
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_incidents
list_shifts
search_incidents
suggest_solutions
update_incident - scoped incident update tool for summary and retrospective_progress_status
OpenAPI-Generated Tools
Tool naming: all tools use snake_case. The historical camelCase names
(e.g. getScheduleShifts, listIncidents) are no longer advertised in
tools/list, but remain callable as hidden aliases โ they are transparently
routed to their snake_case canonical. Update configs and ROOTLY_MCP_ENABLED_TOOLS
allowlists to the snake_case names; legacy camelCase allowlist entries are
auto-canonicalized.
Major Expansion: This version includes 50+ new endpoints covering communications, dashboards, playbooks, post-incident reviews, monitoring, and advanced form management - while carefully excluding security-sensitive operations like API key management, user creation/deletion, role management, and webhook configuration.
Delete operations remain disabled in the default tool surface.
On-Call Health Integration
Integrates with On-Call Health to detect workload health risk in scheduled responders.
Setup
Set the ONCALLHEALTH_API_KEY environment variable:
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 projectmkdir -p .claude/skills
cp examples/skills/rootly-incident-responder.md .claude/skills/
# Then in Claude Code, invoke it:# @rootly-incident-responder analyze incident #12345
It demonstrates a full incident response workflow using Rootly tools and GitHub context.
On-Call Shift Metrics
Get on-call shift metrics for any time period, grouped by user, team, or schedule. Includes primary/secondary role tracking, shift counts, hours, and days on-call.
Complete handoff: current/next on-call + incidents during shifts.
python
# All on-call (any timezone)
get_oncall_handoff_summary(
team_ids="team-1,team-2",
timezone="America/Los_Angeles"
)
# Regional filter - only show APAC on-call during APAC business hours
get_oncall_handoff_summary(
timezone="Asia/Tokyo",
filter_by_region=True
)
Regional filtering shows only people on-call during business hours (9am-5pm) in the specified timezone.
Returns: schedules with current_oncall, next_oncall, and shift_incidents
MCP Resources for Context
AI agents can access these resources for situational awareness:
incident://{incident_id} - Detailed incident information for specific incidents
team://{team_id} - Team details including name, color, and metadata
rootly://incidents - List of recent incidents for quick reference
rootly://oncall-status - Current on-call status across all schedules (critical for incident response)
rootly://workflow-guide - Step-by-step workflow guidance for common operations
Example usage: "Check the current on-call status" โ AI reads rootly://oncall-status resource
Shift Incidents
Incidents during a time period, with filtering by severity/status/tags.
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.
Rootly AI logo