Rootly
Manage incidents on Rootly using your own API tokens via a Cloudflare Worker.
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.
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
- Log in to your Rootly dashboard
- Go to Settings → API Tokens
- Create a new token with appropriate permissions
- Copy the token for use with the MCP server
Contributing
Adding New API Endpoints
To add new Rootly API endpoints to the MCP server:
- Fork the repository and create a feature branch
- Edit the
apiMap
object insrc/index.ts
to add your new endpoints - Reference the Rootly API documentation for available endpoints and parameters
- Test locally with
npm run dev
- Submit a pull request with your changes, or reach out to spencer.cheng@rootly.com to be added to the Cloudflare account
Configuration
The server configuration is managed through the apiMap
object in src/index.ts
, which maps MCP tool names to Rootly API endpoints.
Logs
Check Cloudflare Workers logs in your Cloudflare dashboard for debugging information.
Related Servers
PayPal MCP Server
Integrate with PayPal's APIs for payment processing, subscription management, and business operations.
Cisco Support MCP Server
Access Cisco Support APIs for bug searches and other support-related tasks.
Kontent.ai
Create, manage, and explore your content and content model using natural language in any MCP-compatible AI tool.
Image Analysis Server
Analyzes images using the GPT-4o-mini model via the OpenAI API.
Okta MCP Server
Allows AI models to interact with your Okta environment to manage and analyze resources, designed for IAM engineers, security teams, and administrators.
Vast.ai
Interact with Vast.ai's cloud GPU services for on-demand computing power.
Remote MCP Server on Cloudflare
A remote MCP server deployable on Cloudflare Workers with OAuth login support.
CloudWatch Logs
Access AWS CloudWatch logs to list log groups and read log entries.
MCP DigitalOcean Integration
Manage DigitalOcean resources and perform actions using the DigitalOcean API.
Foreman
Integrate with Foreman to manage hosts and other infrastructure resources.