Skip to content

Menu

Rootly MCP Server logo

Rootly MCP Server

Published

At a glance

Watch out for
The all toolset is around 280 tools and 125k tokens, which can crowd out an agent's context, so stick to core plus what you need.

Rootly maintains its MCP server in the open at rootlyhq/rootly-mcp-server and also runs a hosted copy at https://mcp.rootly.com/mcp. It exposes Rootly's incident, alert, on-call, workflow, catalog and status page APIs to an agent, plus a set of hand-written tools for things like finding related incidents or summarising an on-call handoff.

Most people will use the hosted endpoint over streamable HTTP with OAuth. You can also run it yourself with uvx or Docker, which needs Python 3.12 or newer, uv and a Rootly API token. The old SSE transport was removed on 20 November 2026; the /sse path now returns 410 Gone.

The full API surface is large. Loading every toolset adds roughly 280 tools and about 125k tokens of context, so the README steers you toward the core toolset, around 29 tools, and lets you add others such as workflows or oncall by query string or header.

How it connects

Your AI app

An assistant or agent that supports MCP

Rootly MCP Server

Runs as

  • Python (uv / pip)
  • Docker
  • Remote (HTTP)

Gives the agent

  • Incident lookup and triage
  • Incident changes
  • On-call
  • Investigations
  • Generated API tools
  • Code Mode

Rootly

Signs in with

  • OAuth / browser sign-in
  • Token
Your AI app talks to Rootly MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Incident lookup and triage
list_incidents, search_incidents, get_incident and collect_incidents read incident data. find_related_incidents and suggest_solutions look for similar past incidents and their fixes.
Incident changes
create_incident and update_incident open and edit incidents when write tools are enabled. Delete operations are off in the default tool surface.
On-call
get_oncall_schedule_summary, list_shifts, get_oncall_shift_metrics and get_oncall_handoff_summary describe who is on call and what happened on a shift. check_responder_availability and create_override_recommendation help plan coverage.
Investigations
start_investigation, get_investigation, list_investigations and cancel_investigation drive Rootly's investigation feature.
Generated API tools
About 150 tools generated from Rootly's OpenAPI spec, such as list_schedules, get_workflow, update_service and list_observability_logs, grouped into toolsets like workflows, catalog, status_pages and alerts.
Code Mode
A separate endpoint at /mcp-codemode lets the agent batch calls inside one execute step, capped at 50 tool calls by default.

Setting it up

For Claude Code with OAuth, run `claude mcp add --transport http rootly https://mcp.rootly.com/mcp`; to use an API token instead, add `--header "Authorization: Bearer YOUR_ROOTLY_API_TOKEN"`. Cursor (`.cursor/mcp.json` or `~/.cursor/mcp.json`) and Claude Desktop take `{"mcpServers": {"rootly": {"url": "https://mcp.rootly.com/mcp"}}}`, and Windsurf uses the same block with `serverUrl` in place of `url`. Codex reads `[mcp_servers.rootly]` from `~/.codex/config.toml` with the URL and `bearer_token_env_var = "ROOTLY_API_TOKEN"`. To pick toolsets, append `?toolsets=core,workflows` or send `X-MCP-Toolsets`; add `readonly=true` or `X-MCP-Readonly: true` for a read-only connection. To self-host, set `ROOTLY_API_TOKEN` and run `uvx --from rootly-mcp-server rootly-mcp-server`, or use Docker with `ROOTLY_TRANSPORT=streamable-http`. Local write tools need `ROOTLY_MCP_ENABLE_WRITE_TOOLS=true`. Gemini CLI uses the local uvx route.

Run in a terminal
claude mcp add --transport http rootly https://mcp.rootly.com/mcp

If the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Search past incidents that look like the error you are debugging and read how they were resolved.
  • Summarise the last on-call shift and its incidents before a handoff.
  • Check responder availability and get a schedule override suggestion when someone is out.
  • Open or update an incident from the editor when a deploy goes wrong.
  • Start an investigation on a live incident and poll its result.

Limitations and things to watch

  • The all toolset is around 280 tools and 125k tokens, which can crowd out an agent's context, so stick to core plus what you need.
  • The readonly flag is a per-connection guard, not a hard guarantee; Rootly recommends an API key whose role cannot write if you need that.
  • SSE was removed on 20 November 2026, so older configs pointing at /sse stop working and must move to /mcp.
  • check_oncall_health_risk only works on self-hosted installs, and the local server needs Python 3.12 or newer.
  • Team and Personal API tokens limit what the agent sees, and org-wide tools like get_oncall_handoff_summary need a Global key for complete data.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…