About Rootly-AI-Labs/Rootly-MCP-server
Rootly-AI-Labs/Rootly-MCP-server is an MCP server published by rootlyhq in the Data category: rootly MCP server. Conduid read 30 tools from its source: cancel_investigation, check_oncall_health_risk, check_responder_availability, collect_incidents, create_incident, create_override_recommendation and 24 more. It is published to PyPI as rootly-mcp-server and runs with uvx.
The repository has 45 stars and 26 forks, is licensed Apache-2.0, and its last commit was on 30 Nov 2026. The latest release is v2.3.9. It follows v2.3.8, and the 5 most recent releases go back to v2.3.20. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data.
Install
claude mcp add rootly-mcp-server -- uvx --from rootly-mcp-server rootly-mcp-serveruvx --from rootly-mcp-server rootly-mcp-serveruvx rootly-mcp-serverpip install rootly-mcp-servergit clone https://github.com/rootlyhq/rootly-mcp-serverTools (30)
cancel_investigationCancel a running investigation.| Parameter | Type | Description |
|---|---|---|
| investigation_id * | any |
check_oncall_health_riskself-hosted only| Parameter | Type | Description |
|---|---|---|
| end_date * | string | End date for the on-call period (ISO 8601, e.g., '2026-02-15') |
| include_replacements | boolean | Include recommended replacement responders (default: true) |
| och_analysis_id | integer | On-Call Health analysis ID. If not provided, uses the latest analysis |
| och_threshold | number | OCH score threshold for at-risk classification (default: 50.0) |
| start_date * | string | Start date for the on-call period (ISO 8601, e.g., '2026-02-09') |
check_responder_availabilityCheck if specific users are scheduled for on-call in a date range.| Parameter | Type | Description |
|---|---|---|
| end_date * | string | End date (ISO 8601, e.g., '2026-02-15') |
| start_date * | string | Start date (ISO 8601, e.g., '2026-02-09') |
| user_ids * | string | Comma-separated Rootly user IDs to check (e.g., '2381,94178,27965'). Accepts numeric IDs only — use list_users with filter[email] to resolve emails to IDs first. |
collect_incidents| Parameter | Type | Description |
|---|---|---|
| batch_size | integer | Number of incidents to request per upstream page while collecting (min: 10, max: 100) |
| custom_field_selected_option_ids | string | Comma-separated custom field option IDs for structured incident filtering |
| max_results | integer | Maximum number of compact incident summaries to collect across pages (max: 100) |
| query | string | Optional free-text search across incident titles and summaries |
| service_ids | string | Comma-separated Rootly service IDs to filter incidents (e.g., 'svc-1,svc-2') |
| severity | string | Optional severity filter (e.g., critical, high, medium, low) |
| sort | any | |
| started_after | string | Filter incidents that started at or after this ISO 8601 timestamp |
| started_before | string | Filter incidents that started at or before this ISO 8601 timestamp |
| status | string | Optional incident status filter (e.g., started, investigating, resolved) |
| team_ids | string | Comma-separated Rootly team IDs to filter incidents (e.g., '123,456') |
| teams | string | Comma-separated team names or slugs to filter incidents (e.g., 'Infrastructure,platform-team') |
create_incidentcreate a new incident with a scoped set of fields for agent workflows| Parameter | Type | Description |
|---|---|---|
| environment_ids | string | Comma-separated environment IDs to attach to the incident. |
| incident_type_ids | string | Comma-separated incident type IDs to attach to the incident. |
| service_ids | string | Comma-separated service IDs to attach to the incident. |
| severity_id | string | Optional severity ID to attach to the incident. |
| summary | string | Incident summary or short description. |
| team_ids | string | Comma-separated team IDs to attach to the incident. |
| title | string | Incident title. If omitted, Rootly may autogenerate one. |
create_override_recommendationRecommend replacement responders for an override shift.| Parameter | Type | Description |
|---|---|---|
| end_date * | string | Override end (ISO 8601, e.g., '2026-02-15') |
| exclude_user_ids | string | Comma-separated user IDs to exclude (e.g., other at-risk users) |
| original_user_id * | integer | User ID being replaced |
| schedule_id * | string | Schedule ID to create override for |
| start_date * | string | Override start (ISO 8601, e.g., '2026-02-09') |
find_related_incidents🔍 Find historically similar incidents using ML similarity analysis - CRITICAL for incident response.| Parameter | Type | Description |
|---|---|---|
| incident_description | string | |
| incident_id | string | |
| max_results | integer | Maximum number of related incidents to return (max: 20) |
| similarity_threshold | number | Minimum similarity score (0.0-1.0) |
| status_filter | string | Filter incidents by status (empty for all, 'resolved', 'investigating', etc.) |
get_alert_by_short_idGet alert details by short_id or alert URL. Use this when a user pastes an alert URL or short_id from a pager notification and wants to investigate the alert.| Parameter | Type | Description |
|---|---|---|
| short_id * | string | The alert short_id (e.g., 'PhIQtP') or full alert URL (e.g., 'https://rootly.com/account/alerts/PhIQtP') |
get_incidentretrieve a single incident for direct verification, including PIR-related fields| Parameter | Type | Description |
|---|---|---|
| incident_id * | string | Incident reference to retrieve. Accepts: UUID, bare sequential number (4460), #4460, or INC-4460. |
get_incident_meeting_transcriptsRead what was said on an incident's calls (Rootly Meeting Scribe).| Parameter | Type | Description |
|---|---|---|
| incident_id * | string | Incident UUID or number (e.g. '5185', '#5185', 'INC-5185'). |
| max_recordings | integer | How many recordings to read transcripts for, newest first. |
get_incident_retrospectiveFetch the written retrospective for one incident.| Parameter | Type | Description |
|---|---|---|
| incident_id * | string | Incident whose retrospective to fetch. Accepts: UUID, bare sequential number (4460), #4460, or INC-4460. |
get_investigationan AI SRE investigation's current status, outcome, summary and root cause (by id, or latest for an alert/incident)| Parameter | Type | Description |
|---|---|---|
| alert_id | string | Use the latest investigation of this alert. |
| incident_id | string | Use the latest investigation of this incident. |
| investigation_id | string | Investigation id. Omit to use alert_id/incident_id. |
get_oncall_handoff_summaryGet current on-call handoff summary. Shows who's currently on-call and who's next.| Parameter | Type | Description |
|---|---|---|
| filter_by_region | boolean | If True, only show on-call for people whose shifts are during business hours (9am-5pm) in the specified timezone. Defaults to False. |
| include_incidents | boolean | If True, fetch incidents for each shift (slower). If False, only show on-call info (faster). Defaults to False for better performance. |
| schedule_ids | string | Comma-separated list of schedule IDs (optional) |
| team_ids | string | Comma-separated list of team IDs to filter schedules (optional) |
| timezone | string | IANA timezone for display and filtering (e.g., 'America/Los_Angeles', 'Europe/London', 'Asia/Tokyo'). Defaults to UTC. |
get_oncall_schedule_summaryGet compact on-call schedule summary for a date range.| Parameter | Type | Description |
|---|---|---|
| end_date | string | End date (ISO 8601, e.g., '2026-02-15') |
| include_user_ids | boolean | Include numeric user IDs for cross-platform correlation |
| schedule_ids | string | Comma-separated schedule IDs to filter (optional) |
| start_date | string | Start date (ISO 8601, e.g., '2026-02-09'). Omit both dates for the next 7 days. |
| team_ids | string | Comma-separated team IDs to filter (optional) |
get_oncall_shift_metrics📊 Get on-call workload metrics and shift statistics - ESSENTIAL for fairness and planning.| Parameter | Type | Description |
|---|---|---|
| end_date * | string | End date for metrics (ISO 8601 format, e.g., '2025-10-31' or '2025-10-31T23:59:59Z') |
| group_by | string | Group results by: 'user', 'schedule', 'team', or 'none' |
| schedule_ids | string | Comma-separated list of schedule IDs to filter by (optional) |
| start_date * | string | Start date for metrics (ISO 8601 format, e.g., '2025-10-01' or '2025-10-01T00:00:00Z') |
| team_ids | string | Comma-separated list of team IDs to filter by (requires querying schedules first) |
| user_ids | string | Comma-separated list of user IDs to filter by (optional) |
get_schedule_shiftsList shifts for one schedule over a date range.| Parameter | Type | Description |
|---|---|---|
| end_date | string | End date/time (ISO 8601, e.g. '2026-09-30T23:59:59Z') |
| id * | string | Schedule ID (UUID) to fetch shifts for |
| start_date | string | Start date/time (ISO 8601, e.g. '2026-08-01T00:00:00Z') |
get_server_versionGet the Rootly MCP server version.get_shift_incidents| Parameter | Type | Description |
|---|---|---|
| end_time * | string | End time for incident search (ISO 8601 format, e.g., '2025-10-01T23:59:59Z') |
| schedule_ids | string | Deprecated and ignored: Rootly incidents are not linked to on-call schedules, so this does not filter anything (a `warnings` entry is returned when it is set). Results cover every incident in the time range. |
| severity | string | Filter by configured severity name, slug, ID, or level (critical, high, medium, low) |
| start_time * | string | Start time for incident search (ISO 8601 format, e.g., '2025-10-01T00:00:00Z') |
| status | string | Filter by status: 'started', 'detected', 'acknowledged', 'investigating', 'identified', 'monitoring', 'resolved', 'cancelled' (optional) |
| tags | string | Deprecated and ignored: Rootly incidents have no tags, so this does not filter anything (a `warnings` entry is returned when it is set). Incidents carry key:value labels instead (filter[labels] on the incidents API). |
get_workflow_task_params_schemaGet the task_params fields for one workflow task type.| Parameter | Type | Description |
|---|---|---|
| task_type * | string | Workflow task type, e.g. 'send_slack_message' or 'create_jira_issue'. The task_type enum on create_workflow_task lists every value. |
list_audits| Parameter | Type | Description |
|---|---|---|
| api_key_id | string | Only changes made with this API key ID. |
| include_full_object | boolean | Include each record's full object state alongside the diff. Off by default because it is the bulk of the payload. |
| item_type | string | Restrict to one resource type, e.g. 'Schedule', 'GeniusWorkflow', 'EscalationPolicy', 'ApiKey', 'Role', 'Membership'. Leave blank for every type. |
| max_results | integer | Maximum records to return. Max: {MAX_RESULTS_CEILING}. |
| since | string | Only changes at or after this ISO 8601 timestamp or date. |
| source | string | Where the change came from: 'web', 'api', 'mobile', 'slack', 'scim' or 'oauth'. |
| until | string | Only changes at or before this ISO 8601 timestamp or date. |
| user_id | string | Only changes made by this Rootly user ID. |
list_endpointsList all available Rootly API endpoints with their descriptions.list_incident_post_mortems| Parameter | Type | Description |
|---|---|---|
| created_after | string | Only retrospectives created at or after this ISO date |
| created_before | string | Only retrospectives created at or before this ISO date |
| page_number | integer | Page number, 1-indexed |
| page_size | integer | Retrospectives per page (default {RETROSPECTIVE_PAGE_SIZE_DEFAULT}, |
| service_ids | string | Comma-separated service IDs |
| severity | string | Filter by severity slug |
| sort | string | Sort order, e.g. '-created_at' for newest first |
| status | string | Filter by status, e.g. 'published' or 'draft' |
| team_ids | string | Comma-separated team IDs |
list_incident_rolesList role assignments for an incident (who is Commander, Scribe, etc.).| Parameter | Type | Description |
|---|---|---|
| incident_id | string | Incident reference whose role assignments to list. Accepts: UUID, bare sequential number (4460), #4460, or INC-4460. Omit to list the roles the organization defines instead. |
list_incidents| Parameter | Type | Description |
|---|---|---|
| custom_field_selected_option_ids | string | Comma-separated custom field option IDs for structured incident filtering |
| page_number | integer | Page number to retrieve (1-indexed) |
| page_size | integer | Number of incidents per page (max: 100) |
| query | string | Optional free-text search across incident titles and summaries |
| service_ids | string | Comma-separated Rootly service IDs to filter incidents (e.g., 'svc-1,svc-2') |
| severity | string | Optional severity filter (e.g., critical, high, medium, low) |
| sort | any | |
| started_after | string | Filter incidents that started at or after this ISO 8601 timestamp |
| started_before | string | Filter incidents that started at or before this ISO 8601 timestamp |
| status | string | Optional incident status filter (e.g., started, investigating, resolved) |
| team_ids | string | Comma-separated Rootly team IDs to filter incidents (e.g., '123,456') |
| teams | string | Comma-separated team names or slugs to filter incidents (e.g., 'Infrastructure,platform-team') |
list_investigationsList AI SRE investigations you can see, newest first.| Parameter | Type | Description |
|---|---|---|
| alert_id | string | Only investigations of this alert. |
| incident_id | string | Only investigations of this incident. |
| outcome | string | root_cause_identified, best_effort, inconclusive, blocked or could_not_investigate. |
| page_number | integer | |
| page_size | integer | |
| status | string | pending, running, completed, failed or cancelled. |
list_shifts| Parameter | Type | Description |
|---|---|---|
| from_date | string | Start date/time for shift query (ISO 8601 format, e.g., '2026-02-09T00:00:00Z'). Omit both from_date and to_date for the next 7 days starting now. |
| include_user_details | boolean | Include user name and email in response (default: True) |
| page_number | integer | Page number of enriched shifts to return (1-indexed). Use this instead of relying on the generated listShifts pagination. |
| page_size | integer | Number of enriched shifts to return per page (max: 100). This paginates the MCP response even when the upstream shifts API does not. |
| schedule_ids | string | Comma-separated list of schedule IDs to filter by (optional) |
| to_date | string | End date/time for shift query (ISO 8601 format, e.g., '2026-02-15T23:59:59Z'). Required when from_date is given. |
| user_ids | string | Comma-separated list of user IDs to filter by (e.g., '2381,94178'). Only returns shifts for these users. |
search_incidentsSearch incidents with flexible pagination control.| Parameter | Type | Description |
|---|---|---|
| max_results | integer | Maximum incidents to return. Max: 10; defaults to 5 when fetching all pages, and to page_size when fetching a single page. For larger result sets, paginate with page_number > 0 or use collect_incidents. |
| page_number | integer | Page number to retrieve (use 0 for all pages) |
| page_size | integer | Number of results per page (max: 20) |
| query | string | Search query to filter incidents by title/summary |
start_investigationStart an AI SRE investigation on one alert or incident. Then check its| Parameter | Type | Description |
|---|---|---|
| alert_id | string | Alert to investigate. |
| incident_id | string | Incident to investigate. |
| rerun | boolean | Start a fresh run. Fails with rerun_unavailable while the latest run is still going or rerun is off for the team. |
suggest_solutions💡 Get actionable solution recommendations from similar resolved incidents - KEY for incident response.| Parameter | Type | Description |
|---|---|---|
| incident_description | string | |
| incident_id | string | |
| incident_title | string | |
| max_solutions | integer | Maximum number of solution suggestions (max: 10) |
| status_filter | string | Filter incidents by status (default 'resolved', empty for all, 'investigating', etc.) |
update_incidentupdate native incident fields with severity validation; retrospective status changes require the Rootly UI| Parameter | Type | Description |
|---|---|---|
| acknowledged_at | string | When the incident was acknowledged (ISO 8601 timestamp) |
| detected_at | string | When the incident was detected (ISO 8601 timestamp) |
| environment_ids | string | Comma-separated environment IDs to set on the incident |
| functionality_ids | string | Comma-separated functionality IDs to set on the incident |
| incident_id * | string | Incident reference to update: UUID, bare number like 4460, #4460, or INC-4460 |
| incident_type_ids | string | Comma-separated incident type IDs to set on the incident |
| mitigated_at | string | When the incident was mitigated (ISO 8601 timestamp) |
| mitigation_message | string | Native mitigation message (how the incident was mitigated) |
| resolution_message | string | Native resolution message (how the incident was resolved) |
| resolved_at | string | When the incident was resolved (ISO 8601 timestamp) |
| retrospective_progress_status | string | Unsupported by the public API; supplying this field returns a validation error without updating the incident |
| service_ids | string | Comma-separated service IDs to set on the incident |
| severity_id | string | Severity ID to set on the incident |
| started_at | string | When the incident started (ISO 8601 timestamp) |
| status | string | Incident status (e.g. started, detected, acknowledged, mitigated, resolved, cancelled). Only set this when you intend to change the lifecycle status. |
| summary | string | Updated incident summary |
| team_ids | string | Comma-separated team IDs to set on the incident |
| title | string | Updated incident title |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.4K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 37 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 2 callssrc/rootly_mcp_server/client.py:116, src/rootly_mcp_server/spec_transform.py:257
- Writes or deletes files
- 1 callsrc/rootly_mcp_server/spec_transform.py:236
- Lockfile
- uv.lock
Pattern matches on the source text of 37 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README