Tâches runbook ops avec MCP : convertir une revue d'incident en actions
Transform incident timelines into actionable follow-up tasks using MCP. This ops playbook shows you how to parse an incident review, create follow-up tasks with owners and due dates, and add postmortem-style comments for traceability—with approval steps to ensure accuracy.
Ce que ce workflow permet
Ops runbook workflow with MCP helps you turn incidents into actionable work:
Résultats clés
- Incident parsing: Extract actionable items from incident timelines
- Task creation: Create follow-up tasks with clear owners and due dates
- Postmortem documentation: Add traceable comments linking tasks to incidents
- Accountability: Assign owners and set deadlines for follow-up work
- Prevention tracking: Track improvements to prevent future incidents
Prérequis
Before using this workflow, ensure you have:
- Corcava MCP server configured in your AI assistant
- API key with read and write access to tasks
- An incident timeline or review document
- Project/board where follow-up tasks should be created
Workflow pas à pas
Step 1: Parse Incident Timeline
Start by analyzing the incident timeline:
Incident Parsing Prompt
What the AI does:
- Analyzes incident timeline
- Identifies root causes and gaps
- Extracts actionable follow-up items
- Presents follow-up actions for review
Step 2: Identify Task Owners and Due Dates
Determine who should own each follow-up task:
Owner Assignment Prompt
What the AI does:
- Analyzes each follow-up action
- Determines appropriate owners
- Sets priorities and due dates
- Presents task creation plan
Step 3: Draft Task Descriptions
Create clear task descriptions with context:
Task Description Prompt
What the AI does:
- Drafts task titles
- Creates detailed descriptions
- Links tasks to incident
- Presents all tasks for review
Step 4: Create Tasks (After Approval)
Create all follow-up tasks after confirmation:
Create Tasks Prompt (Requires Approval)
What the AI does:
- Waits for confirmation token
- Calls
create_taskfor each follow-up action - Sets owners, due dates, and descriptions
- Confirms each task was created
Step 5: Add Postmortem Comments
Add traceable comments linking tasks to the incident:
Postmortem Comment Prompt (Requires Approval)
What the AI does:
- Drafts postmortem comments for each task
- Links tasks to incident
- Shows preview of all comments
- Calls
add_task_commentafter approval
Complete Workflow Prompts
Here are complete, copy-paste ready prompts:
Full Incident-to-Tasks Workflow
Use this when: You want to convert a complete incident review into tasks
Quick Incident Follow-up
Use this when: You want a quick task creation from incident
Workflow Variants
Variant 1: Critical Incident Follow-up
For high-severity incidents requiring immediate action:
What happens: AI creates high-priority tasks with urgent deadlines
Variant 2: Postmortem Documentation Tasks
For creating documentation and process improvement tasks:
What happens: AI creates documentation and process improvement tasks
Variant 3: Technical Debt Follow-up
For incidents revealing technical debt:
What happens: AI creates technical improvement tasks
Example: Complete Incident-to-Tasks Session
Here's a real example of how an incident-to-tasks session flows:
User Prompt
AI Response (Task Plan)
Follow-up Tasks Plan (3 tasks):
Task 1:
- Title: "Fix connection leak in user authentication service"
- Description: "Fix connection leak identified during incident on 2026-05-10. Root cause: connections not properly closed in auth service."
- Owner: Engineering Team
- Priority: High
- Due Date: 2026-05-17 (1 week)
- Project: Infrastructure
Task 2:
- Title: "Add connection pool monitoring and alerts"
- Description: "Add monitoring for database connection pool to detect issues early. Follow-up from incident 2026-05-10."
- Owner: DevOps Team
- Priority: High
- Due Date: 2026-05-24 (2 weeks)
- Project: Infrastructure
Task 3:
- Title: "Implement automated connection pool recovery"
- Description: "Implement automated recovery mechanism for connection pool exhaustion. Follow-up from incident 2026-05-10."
- Owner: Engineering Team
- Priority: Medium
- Due Date: 2026-05-31 (3 weeks)
- Project: Infrastructure
Type 'CONFIRM' or 'YES, CREATE TASKS' to create these tasks.
User Approval
AI Action (Tasks Created)
✅ Created task #234: "Fix connection leak in user authentication service"
✅ Created task #235: "Add connection pool monitoring and alerts"
✅ Created task #236: "Implement automated connection pool recovery"
Now adding postmortem comments to link tasks to incident...
AI Postmortem Comments Preview
Postmortem Comments (Ready to Post):
Task #234:
"Follow-up from incident 2026-05-10 (Database connection timeout). Root cause: Connection leak in user authentication service. This task addresses: Fixing the connection leak to prevent pool exhaustion."
Task #235:
"Follow-up from incident 2026-05-10 (Database connection timeout). Root cause: Insufficient connection pool monitoring. This task addresses: Adding monitoring and alerts to detect issues early."
Task #236:
"Follow-up from incident 2026-05-10 (Database connection timeout). Root cause: No automated connection pool recovery. This task addresses: Implementing automated recovery mechanism."
Type 'CONFIRM' or 'YES, ADD COMMENTS' to post these comments.
User Approval
AI Action (Comments Posted)
✅ Posted postmortem comment to task #234
✅ Posted postmortem comment to task #235
✅ Posted postmortem comment to task #236
All follow-up tasks have been created and linked to the incident.
Safety Patterns
✅ Preview and Approval Workflow
This workflow uses preview and approval for all write operations:
- Parse first: Analyze incident before creating tasks
- Preview tasks: Show all tasks with owners and due dates before creating
- Preview comments: Show all postmortem comments before posting
- Confirmation tokens: Require "CONFIRM" or "YES, CREATE TASKS" / "YES, ADD COMMENTS"
- Two-step approval: Separate approval for task creation and comment posting
Troubleshooting
No Follow-up Actions Identified
Symptom: AI doesn't identify any follow-up actions
Possible causes:
- Incident timeline too brief
- No root causes identified
- Incident already fully resolved
Fix: Provide more detail: "Identify improvements, documentation needs, and monitoring gaps"
Tasks Not Being Created
Symptom: AI doesn't create tasks even after approval
Possible causes:
- Confirmation token not recognized
- API key lacks write permissions
- Project/board ID incorrect
Fix: Use exact confirmation: "CONFIRM" or "YES, CREATE TASKS". Verify API key has write access and project/board IDs are correct.
Owner Assignment Unclear
Symptom: AI assigns tasks to wrong owners
Possible causes:
- Team structure not clear from incident
- Multiple teams involved
Fix: Specify owners: "Assign task to [team/role]" or review and correct owner assignments before creating tasks
Related Tools
This workflow uses these Corcava MCP tools:
create_task
Create follow-up tasks from incidents
add_task_comment
Add postmortem comments for traceability
list_projects
Find project/board for follow-up tasks
list_tasks
Review existing follow-up tasks
Related Use Cases
Risk Review
Use incident follow-ups to identify risks
Meeting Notes to Tasks
Similar workflow for converting notes to tasks
Convert Incidents into Actionable Tasks
Connect your AI assistant to Corcava and turn incident reviews into tracked follow-up work
