Suivi du temps avec MCP : démarrer, arrêter et enregistrer les résultats proprement
Master time tracking using Corcava MCP tools. This hands-on tutorial shows you how to start a timer on a task, stop the timer, and add summary comments of what was accomplished—with safety patterns to prevent accidental tracking on the wrong task.
Ce que ce workflow permet
Time tracking with MCP enables accurate work logging:
Résultats clés
- Timer management: Start and stop time tracking on tasks
- Work logging: Record what was accomplished during tracked time
- Task verification: Confirm correct task before starting timer
- Summary comments: Document outcomes when stopping timer
- Accurate tracking: Prevent accidental tracking on wrong tasks
Prérequis
Before using this workflow, ensure you have:
- Corcava MCP server configured in your AI assistant
- API key with write access to time tracking and comments
- Tasks ready to track time on
- Understanding of which task you want to track
Workflow pas à pas
Step 1: Verify Current Tracking Status
Check if a timer is already running:
Status Check Prompt
What the AI does:
- Calls
get_tracking_statusto check current timer - Shows active task and duration if timer is running
- Confirms no timer is active if nothing is tracking
Step 2: Verify Task Before Starting
⚠️ Always Verify Task Before Starting Timer
To prevent accidental tracking on the wrong task:
- Confirm Task ID: Verify the exact task you want to track
- Show Task Details: Display task title and description before starting
- Confirmation Pattern: Require explicit confirmation before starting timer
Safe Task Verification Prompt
What the AI does:
- Calls
get_taskto retrieve task details - Shows task title, description, and status
- Waits for explicit confirmation
- Only after confirmation, calls
start_time_tracking
Step 3: Start Time Tracking
Begin tracking time on the verified task:
Start Timer Prompt
What the AI does:
- Calls
start_time_trackingwith task ID - Confirms timer started successfully
- Shows start time and task being tracked
Step 4: Stop Time Tracking
Stop the timer when work is complete:
Stop Timer Prompt
What the AI does:
- Calls
stop_time_tracking - Shows duration tracked
- Confirms timer stopped successfully
Step 5: Add Summary Comment
Document what was accomplished:
Summary Comment Prompt
What the AI does:
- Drafts summary comment based on task context
- Shows comment preview
- Waits for "CONFIRM"
- Only after confirmation, calls
add_task_comment
Complete Workflow Prompts
Here are complete, copy-paste ready prompts:
Full Time Tracking Workflow
Use this when: You want a complete time tracking session
Quick Start Timer
Use this when: You just want to start a timer quickly
Workflow Variants
Variant 1: Context Switch Handling
Handle switching between tasks:
What happens: AI stops current timer, adds summary, then starts new timer
Variant 2: Focus Session Tracking
Track focused work sessions:
What happens: AI tracks focused work sessions with time awareness
Example: Complete Time Tracking Session
Here's a real example of how a time tracking session flows:
User Prompt
AI Response (Task Verification)
Task Details:
Title: Implement user authentication
Description: Build login/logout functionality with JWT tokens
Status: in_progress
Project: API Redesign
Is this the correct task? Type 'YES, START TIMER' to begin tracking time.
User: "YES, START TIMER"
AI Response (Timer Started)
✅ Timer started on task "Implement user authentication" at 2:30 PM
Safety Patterns
⚠️ Preventing Accidental Time Tracking
To avoid tracking time on the wrong task:
- Always verify task: Show task details before starting timer
- Require confirmation: Use "YES, START TIMER" or "CONFIRM" token
- Check current status: Verify no other timer is running
- Confirm task ID: Restate task ID/title before starting
Troubleshooting
Timer Already Running
Symptom: Can't start new timer, one already running
Possible causes:
- Forgot to stop previous timer
- Timer started in different session
Fix: Stop current timer first: "Stop the current timer, then start on task [X]"
Wrong Task Selected
Symptom: Timer started on wrong task
Possible causes:
- Task ID was incorrect
- Didn't verify task before starting
Fix: Stop timer immediately and restart on correct task. Always verify task details first.
Related Tools
This workflow uses these Corcava MCP tools:
start_time_tracking
Start timer on a task
stop_time_tracking
Stop timer and log time
get_tracking_status
Check current timer status
add_task_comment
Add summary comments
Related Use Cases
Master Time Tracking
Connect your AI assistant to Corcava and track time accurately
