The Flashduty MCP Server enables integration with Flashduty APIs through the Model Context Protocol (MCP), allowing you to automate incident management workflows, extract data, and build AI-powered applications that interact with Flashduty.
The remote Flashduty MCP Server is the easiest way to get started.
{
"mcpServers": {
"flashduty": {
"url": "https://mcp.flashcat.cloud/flashduty",
"authorization_token": "Bearer <your_flashduty_app_key>"
}
}
}
Add this configuration to your Cursor MCP settings:
{
"mcpServers": {
"flashduty": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FLASHDUTY_APP_KEY",
"flashcat.tencentcloudcr.com/flashduty/flashduty-mcp-server"
],
"env": {
"FLASHDUTY_APP_KEY": "your_flashduty_app_key"
}
}
}
}
You can download pre-compiled binaries from GitHub Releases.
Configure your MCP host to use the executable:
Via Environment Variable:
{
"mcpServers": {
"flashduty": {
"command": "/path/to/flashduty-mcp-server",
"args": ["stdio"],
"env": {
"FLASHDUTY_APP_KEY": "your_app_key_here"
}
}
}
}
Via Command-line Argument:
{
"mcpServers": {
"flashduty": {
"command": "/path/to/flashduty-mcp-server",
"args": ["stdio", "--app-key", "your_app_key_here"]
}
}
}
When using the remote service, configure it by adding query parameters to the URL:
{
"mcpServers": {
"flashduty": {
"url": "https://mcp.flashcat.cloud/flashduty?toolsets=flashduty_incidents,flashduty_teams&read_only=true",
"authorization_token": "Bearer <your_flashduty_app_key>"
}
}
}
docker run -i --rm \
-e FLASHDUTY_APP_KEY=<your-app-key> \
-e FLASHDUTY_TOOLSETS="flashduty_incidents,flashduty_teams" \
-e FLASHDUTY_READ_ONLY=1 \
flashcat.tencentcloudcr.com/flashduty/flashduty-mcp-server
Key environment variables:
FLASHDUTY_APP_KEY
: Flashduty APP key (required)FLASHDUTY_TOOLSETS
: Toolsets to enable (comma-separated)FLASHDUTY_READ_ONLY
: Restrict to read-only operations (set to 1
or true
)FLASHDUTY_BASE_URL
: Flashduty API base URLFLASHDUTY_LOG_FILE
: Log file pathFLASHDUTY_ENABLE_COMMAND_LOGGING
: Enable command logging./flashduty-mcp-server stdio \
--app-key your_app_key_here \
--toolsets flashduty_incidents,flashduty_teams \
--read-only
Create a flashduty-mcp-server-config.json
file in the same directory as the binary:
{
"TOOL_CREATE_INCIDENT_DESCRIPTION": "an alternative description",
"TOOL_LIST_TEAMS_DESCRIPTION": "List all teams in Flashduty account"
}
Or use environment variables:
export FLASHDUTY_MCP_TOOL_CREATE_INCIDENT_DESCRIPTION="an alternative description"
All toolsets are enabled by default, but you can specify which ones to use:
flashduty_incidents
: Incident management toolsflashduty_members
: Member management toolsflashduty_teams
: Team management toolsflashduty_channels
: Channel management toolsflashduty_member_infos
: Get member information by person IDsflashduty_teams_infos
: Get team information by team IDsflashduty_channels_infos
: Get collaboration space information by channel IDsflashduty_incidents_infos
: Get incident information by incident IDsflashduty_list_incidents
: List incidents with comprehensive filtersflashduty_list_past_incidents
: List similar historical incidentsflashduty_get_incident_timeline
: Get incident timeline and feedflashduty_get_incident_alerts
: Get alerts associated with incidentsflashduty_create_incident
: Create a new incidentflashduty_ack_incident
: Acknowledge incidentsflashduty_resolve_incident
: Resolve incidentsflashduty_assign_incident
: Assign incidents to people or escalation rulesflashduty_add_responder
: Add responders to incidentsflashduty_snooze_incident
: Snooze incidents for a periodflashduty_merge_incident
: Merge multiple incidents into oneflashduty_comment_incident
: Add comments to incidentsflashduty_update_incident_title
: Update incident titleflashduty_update_incident_description
: Update incident descriptionflashduty_update_incident_impact
: Update incident impactflashduty_update_incident_root_cause
: Update incident root causeflashduty_update_incident_resolution
: Update incident resolutionflashduty_update_incident_severity
: Update incident severityflashduty_update_incident_fields
: Update custom fieldsTo add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "flashduty" '{"url":"https://mcp.flashcat.cloud/flashduty","authorization_token":"Bearer <your_flashduty_app_key>"}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"flashduty": {
"url": "https://mcp.flashcat.cloud/flashduty",
"authorization_token": "Bearer <your_flashduty_app_key>"
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"flashduty": {
"url": "https://mcp.flashcat.cloud/flashduty",
"authorization_token": "Bearer <your_flashduty_app_key>"
}
}
}
3. Restart Claude Desktop for the changes to take effect