Skip to main content
Glama

Rootly MCP Server for Cloudflare Workers

Rootly MCP Server for Cloudflare Workers

A remote MCP (Model Context Protocol) server written in TypeScript that provides AI agents access to the Rootly API for incident management. Users provide their own Rootly API tokens for secure access to their organization's incidents.

Cursor IDE Integration Demo

Usage

Cursor IDE Configuration

Add this to your .cursor/mcp.json file:

{ "mcpServers": { "rootly": { "command": "npx", "args": ["-y", "mcp-remote", "https://incidents.rootly-mcp-server.workers.dev/sse", "--header", "Authorization:${ROOTLY_AUTH_HEADER}"], "env": {"ROOTLY_AUTH_HEADER": "Bearer <YOUR_ROOTLY_API_TOKEN>"} } } }

Replace <YOUR_ROOTLY_API_TOKEN> with your actual Rootly API token.

Example Questions

Once configured, you can ask Cursor:

  • "Show me recent incidents"
  • "Get details for incident ID 12345"
  • "List all teams in my organization"
  • "What alerts are associated with incident 67890?"
  • "Show me workflow runs"

Available Tools

The server provides 25+ tools covering:

  • Incidents: Get incidents, get incident alerts
  • Alerts: Get alerts, get specific alert details
  • Teams: List teams, get team details
  • Services: List services, get service details
  • Severities: List severities, get severity details
  • Users: List users, get user details, get current user
  • Workflows: List workflows, get workflow details, get workflow runs
  • Environments: List environments, get environment details
  • Functionalities: List functionalities, get functionality details
  • Incident Types: List incident types, get incident type details
  • Action Items: List action items, get action items for incidents
  • Status Pages: List status pages, get status page details

Getting Your Rootly API Token

  1. Log in to your Rootly dashboard
  2. Go to SettingsAPI Tokens
  3. Create a new token with appropriate permissions
  4. Copy the token for use with the MCP server

Deployment

Prerequisites

  1. Node.js (v18 or later)
  2. Wrangler CLI
    npm install -g wrangler
  3. Cloudflare account

Quick Start

  1. Clone and setup:
    git clone <your-repo> cd Rootly-mcp-cloudflare npm install
  2. Deploy to Cloudflare:
    npm run deploy
  3. Get your MCP server URL: After deployment, you'll get a URL like:
    https://incidents.rootly-mcp-server.workers.dev/sse

Configuration

To modify which Rootly API endpoints are available, edit the apiMap object in src/index.ts.

Logs

Check Cloudflare Workers logs in your Cloudflare dashboard for debugging information.

-
security - not tested
F
license - not found
-
quality - not tested

A remote MCP server that provides AI agents access to the Rootly API for incident management, allowing users to query and manage incidents, alerts, teams, services, and other incident management resources through natural language.

  1. Usage
    1. Cursor IDE Configuration
    2. Example Questions
    3. Available Tools
    4. Getting Your Rootly API Token
  2. Deployment
    1. Prerequisites
    2. Quick Start
  3. Configuration
    1. Logs

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        An MCP server that enables AI models to retrieve information from Ragie's knowledge base through a simple 'retrieve' tool.
        Last updated -
        1
        64
        19
        JavaScript
        MIT License
        • Apple
      • A
        security
        A
        license
        A
        quality
        Manage incidents from your IDE. An MCP server allowing to pull out incidents and their associated metadata using Rootly API.
        Last updated -
        27
        25
        Python
        Apache 2.0
      • -
        security
        A
        license
        -
        quality
        An MCP server that enables AI agents to interact with Modal, allowing them to deploy apps and run functions in a serverless cloud environment.
        Last updated -
        Python
        MIT License
      • -
        security
        -
        license
        -
        quality
        An MCP server that allows AI assistants to utilize human capabilities by sending requests to humans and receiving their responses through a Streamlit UI.
        Last updated -
        23
        Python
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rootly-AI-Labs/Rootly-MCP-cloudflare'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server