|
| 1 | +--- |
| 2 | +title: Developer tools |
| 3 | +description: "Manage Flashduty resources programmatically via API, MCP Server, and Terraform Provider" |
| 4 | +--- |
| 5 | + |
| 6 | +## Overview |
| 7 | + |
| 8 | +Flashduty provides multiple developer tools to help you programmatically manage incident response workflows, automate operations, and integrate Flashduty into your existing toolchain. |
| 9 | + |
| 10 | +<CardGroup cols={3}> |
| 11 | +<Card title="Open API" icon="code" href="https://developer-en.flashcat.cloud/en/flashduty/open-api/quickstart"> |
| 12 | + RESTful API for accessing and managing Flashduty entities including incidents, alerts, channels, schedules, and more. |
| 13 | +</Card> |
| 14 | + |
| 15 | +<Card title="MCP Server" icon="robot" href="https://github.com/flashcatcloud/flashduty-mcp-server"> |
| 16 | + Model Context Protocol server that connects Flashduty APIs to AI tools like Claude and Cursor, enabling natural language incident management and status page operations. |
| 17 | +</Card> |
| 18 | + |
| 19 | +<Card title="Terraform Provider" icon="cube" href="https://registry.terraform.io/providers/flashcatcloud/flashduty/latest/docs"> |
| 20 | + Terraform Provider for managing channels, escalation rules, schedules, silence rules, and 12 other resource types as infrastructure as code. |
| 21 | +</Card> |
| 22 | +</CardGroup> |
| 23 | + |
| 24 | +## Open API |
| 25 | + |
| 26 | +The Flashduty Open API follows RESTful conventions and supports APP Key authentication. You can use the API to: |
| 27 | + |
| 28 | +- Create and manage incidents and alerts |
| 29 | +- Configure channels and escalation rules |
| 30 | +- Query schedules and member information |
| 31 | +- Manage integrations and webhooks |
| 32 | + |
| 33 | +<Tip> |
| 34 | +Visit the [API documentation](https://developer-en.flashcat.cloud/en/flashduty/open-api/quickstart) for complete endpoint references and request examples. |
| 35 | +</Tip> |
| 36 | + |
| 37 | +## MCP Server |
| 38 | + |
| 39 | +The Flashduty MCP Server implements the [Model Context Protocol](https://modelcontextprotocol.io/), providing AI tools with 16 tools across 6 functional modules: |
| 40 | + |
| 41 | +| Module | Tools | Capabilities | |
| 42 | +|--------|-------|-------------| |
| 43 | +| Incidents | 8 | Query, create, acknowledge, close incidents; view timelines and associated alerts; find similar incidents | |
| 44 | +| Changes | 1 | Query change records | |
| 45 | +| Status Page | 4 | Query status pages, create events, update timelines | |
| 46 | +| Users & Teams | 2 | Query members and team information | |
| 47 | +| Channels | 2 | Query channels and escalation rules | |
| 48 | +| Custom Fields | 1 | Query custom field definitions | |
| 49 | + |
| 50 | +Three deployment modes are available: |
| 51 | + |
| 52 | +- **Remote service** — Connect directly to `https://mcp.flashcat.cloud/mcp`, no installation required |
| 53 | +- **Docker** — Deploy locally using pre-built container image |
| 54 | +- **Local build** — Build from source |
| 55 | + |
| 56 | +<Tip> |
| 57 | +Visit the [GitHub repository](https://github.com/flashcatcloud/flashduty-mcp-server) for the complete deployment guide and tools reference. |
| 58 | +</Tip> |
| 59 | + |
| 60 | +## Terraform Provider |
| 61 | + |
| 62 | +The Flashduty Terraform Provider supports managing 12 resource types and 13 data sources as code: |
| 63 | + |
| 64 | +**Resources (create and manage):** |
| 65 | + |
| 66 | +| Resource | Description | |
| 67 | +|----------|-------------| |
| 68 | +| `flashduty_team` | Team | |
| 69 | +| `flashduty_member_invite` | Member invitation | |
| 70 | +| `flashduty_channel` | Channel (with alert grouping, flap detection, auto-resolve configuration) | |
| 71 | +| `flashduty_schedule` | Schedule (multi-layer rotation, time restrictions) | |
| 72 | +| `flashduty_escalate_rule` | Escalation rule (multi-level, time filters, alert filters) | |
| 73 | +| `flashduty_silence_rule` | Silence rule | |
| 74 | +| `flashduty_inhibit_rule` | Inhibit rule | |
| 75 | +| `flashduty_field` | Custom field | |
| 76 | +| `flashduty_route` | Alert routing | |
| 77 | +| `flashduty_template` | Notification template | |
| 78 | +| `flashduty_alert_pipeline` | Alert processing pipeline | |
| 79 | +| `flashduty_incident` | Incident | |
| 80 | + |
| 81 | +**Data sources (query):** Query teams, channels, members, custom fields, notification templates, and routing configurations by ID or name. |
| 82 | + |
| 83 | +<Tip> |
| 84 | +Visit the [Terraform Registry](https://registry.terraform.io/providers/flashcatcloud/flashduty/latest/docs) for complete resource attributes and usage examples. |
| 85 | +</Tip> |
0 commit comments