# Rootly

Gives your coding agent access to Rootly: incidents, on-call schedules, analysis. Handy when you debug a failure without leaving the editor.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 45
- Author: rootlyhq
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/rootlyhq/rootly-mcp-server
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/rootly

## What it does

The Rootly MCP server exposes the Rootly API to an AI agent. Ask it about an incident, pull a team's on-call rotation, gather what you need for a postmortem. It runs in Claude, Codex, Cursor, GitHub Copilot, Windsurf, Cline and Zed.

The hosted endpoint is the shortest path: nothing to install locally, and the client opens a browser so you sign in to Rootly over OAuth2. An API token is only for setups where OAuth does not fit — it goes into the `Authorization` header. There is also a Code Mode endpoint and a trimmed tool profile, enabled by appending `?tool_profile=slim` to the URL or sending the `X-Rootly-Tool-Profile: slim` header.

The SSE transport goes away after 2026-11-20. Any config still pointing at `https://mcp.rootly.com/sse` has to move to Streamable HTTP or Code Mode, or the server stops answering past that date. Self-hosting needs `uvx` and the `ROOTLY_API_TOKEN` variable.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Remote server: `https://mcp.rootly.com/sse`
- Environment variables: `ROOTLY_API_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add mcp-server -e ROOTLY_API_TOKEN=<ROOTLY_API_TOKEN> -- uvx rootly-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from rootly-mcp-server <command>

2. **Platform CLI: remote server**
```bash
claude mcp add --transport sse rootly https://mcp.rootly.com/sse
```

### Codex

**Platform CLI**
```bash
codex mcp add rootly --env ROOTLY_API_TOKEN=<ROOTLY_API_TOKEN> -- uvx rootly-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from rootly-mcp-server <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "rootly": {
            "url": "https://mcp.rootly.com/sse"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "rootly": {
            "command": "uvx",
            "args": [
                "rootly-mcp-server"
            ],
            "env": {
                "ROOTLY_API_TOKEN": "<ROOTLY_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from rootly-mcp-server <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "rootly": {
            "type": "sse",
            "url": "https://mcp.rootly.com/sse"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "rootly": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "rootly-mcp-server"
            ],
            "env": {
                "ROOTLY_API_TOKEN": "<ROOTLY_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from rootly-mcp-server <command>

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t sse rootly https://mcp.rootly.com/sse
```

2. **Platform CLI**
```bash
gemini mcp add -e ROOTLY_API_TOKEN=<ROOTLY_API_TOKEN> rootly uvx rootly-mcp-server
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from rootly-mcp-server <command>

## When to use it
- read incident details without opening the web dashboard
- export a team's on-call rotation
- build an event timeline for a postmortem
- find earlier incidents on the same service
- check who is on call right now

## Example prompts
- List open incidents from the last day
- Who is on call for the payments team?
- Build a timeline for this incident and suggest likely causes

## Similar
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Oh My Posh Validator](https://affpapa.org/en/nevibecode/mcp/oh-my-posh-validator.md) — MCP server · ★ 23643
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Coder](https://affpapa.org/en/nevibecode/mcp/coder.md) — MCP server · ★ 17160
- [mcp](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — MCP server · ★ 12109

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
