Overview
Flashduty provides multiple developer tools to help you programmatically manage incident response workflows, automate operations, and integrate Flashduty into your existing toolchain.Open API
RESTful API for accessing and managing Flashduty entities including incidents, alerts, channels, schedules, and more.
Command-line tool
Flashduty CLI for managing incidents, on-call schedules, status pages, and notification templates from your terminal — runs on macOS, Linux, and Windows with 10 built-in AI coding-agent skills.
MCP Server
Model Context Protocol server that connects Flashduty APIs to AI tools like Claude and Cursor, enabling natural language incident management and status page operations.
Terraform Provider
Terraform Provider for managing channels, escalation rules, schedules, silence rules, and 12 other resource types as infrastructure as code.
Open API
The Flashduty Open API follows RESTful conventions and supports APP Key authentication. You can use the API to:- Create and manage incidents and alerts
- Configure channels and escalation rules
- Query schedules and member information
- Manage integrations and webhooks
Command-line tool
Flashduty CLI (flashduty) is a command-line tool for managing the incident lifecycle, querying on-call schedules, publishing status pages, and debugging notification templates from your terminal. It runs on macOS, Linux, and Windows, and ships with 10 agent skills so it plugs directly into AI coding agents like Claude Code, Cursor, Codex, and Gemini CLI.
Install with one command:
MCP Server
The Flashduty MCP Server implements the Model Context Protocol, providing AI tools with 22 tools across 8 functional modules:| Module | Tools | Capabilities |
|---|---|---|
| Incidents | 8 | Query, create, acknowledge, close incidents; view timelines and associated alerts; find similar incidents |
| Alerts | 1 | Query the upstream raw event stream that produced a single alert (e.g. each Prometheus firing) |
| Changes | 1 | Query change records |
| Status Page | 4 | Query status pages, create events, update timelines |
| Users & Teams | 2 | Query members and team information |
| Channels | 2 | Query channels and escalation rules |
| Custom Fields | 1 | Query custom field definitions |
| Templates | 4 | Fetch preset channel templates, validate and preview template rendering, list available template variables and functions |
- Remote service — Connect directly to
https://mcp.flashcat.cloud/mcp, no installation required - Docker — Deploy locally using pre-built container image
- Local build — Build from source
Terraform Provider
The Flashduty Terraform Provider supports managing 12 resource types and 13 data sources as code: Resources (create and manage):| Resource | Description |
|---|---|
flashduty_team | Team |
flashduty_member_invite | Member invitation |
flashduty_channel | Channel (with alert grouping, flap detection, auto-resolve configuration) |
flashduty_schedule | Schedule (multi-layer rotation, time restrictions) |
flashduty_escalate_rule | Escalation rule (multi-level, time filters, alert filters) |
flashduty_silence_rule | Silence rule |
flashduty_inhibit_rule | Inhibit rule |
flashduty_field | Custom field |
flashduty_route | Alert routing |
flashduty_template | Notification template |
flashduty_alert_pipeline | Alert processing pipeline |
flashduty_incident | Incident |