Corcava logoLe seul outil métier dont vous avez besoinCorcava
Menu

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:

Workflow pas à pas

Step 1: Verify Current Tracking Status

Check if a timer is already running:

Status Check Prompt

"Check if I'm currently tracking time on any task. Show me which task (if any) and how long it's been running."

What the AI does:

  1. Calls get_tracking_status to check current timer
  2. Shows active task and duration if timer is running
  3. 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

"I want to start tracking time on task [Task ID or Title]. But first: 1. Get the task details and show me: task title, description, current status 2. Confirm this is the correct task 3. Wait for me to confirm: 'YES, START TIMER' or 'CONFIRM' 4. Only then start the timer If I don't confirm, don't start the timer."

What the AI does:

  1. Calls get_task to retrieve task details
  2. Shows task title, description, and status
  3. Waits for explicit confirmation
  4. Only after confirmation, calls start_time_tracking

Step 3: Start Time Tracking

Begin tracking time on the verified task:

Start Timer Prompt

"Now start tracking time on task [Task ID]. Confirm the timer started successfully."

What the AI does:

  1. Calls start_time_tracking with task ID
  2. Confirms timer started successfully
  3. Shows start time and task being tracked

Step 4: Stop Time Tracking

Stop the timer when work is complete:

Stop Timer Prompt

"Stop the timer on the current task. Show me how long I tracked time and confirm it stopped."

What the AI does:

  1. Calls stop_time_tracking
  2. Shows duration tracked
  3. Confirms timer stopped successfully

Step 5: Add Summary Comment

Document what was accomplished:

Summary Comment Prompt

"Add a summary comment to the task describing what was accomplished during the tracked time. But first, show me what comment you'll add. Wait for CONFIRM before posting."

What the AI does:

  1. Drafts summary comment based on task context
  2. Shows comment preview
  3. Waits for "CONFIRM"
  4. Only after confirmation, calls add_task_comment

Complete Workflow Prompts

Here are complete, copy-paste ready prompts:

Full Time Tracking Workflow

"Help me track time on task [Task ID or Title]: 1. Check if I'm already tracking time on another task 2. Get task details and show me: title, description, status 3. Wait for me to confirm: 'YES, START TIMER' 4. Start tracking time on the task 5. When I'm done, stop the timer 6. Show me how long I tracked 7. Draft a summary comment of what was accomplished 8. Show me the comment 9. Wait for CONFIRM 10. Add the comment to the task Important: Don't start the timer until I confirm, and don't add the comment until I type CONFIRM."

Use this when: You want a complete time tracking session

Quick Start Timer

"Start tracking time on task [Task ID]. First show me the task details, then wait for CONFIRM before starting the timer."

Use this when: You just want to start a timer quickly

Workflow Variants

Variant 1: Context Switch Handling

Handle switching between tasks:

"I need to switch from task [Current Task] to task [New Task]: 1. Stop the timer on the current task 2. Add a brief summary comment of what was done 3. Start timer on the new task (after showing task details and getting confirmation) Handle the switch safely."

What happens: AI stops current timer, adds summary, then starts new timer

Variant 2: Focus Session Tracking

Track focused work sessions:

"Start a 25-minute focus session on task [Task ID]: 1. Start timer 2. Remind me when 25 minutes is up (or I'll tell you to stop) 3. When I stop, add a summary of what I accomplished Use this for Pomodoro-style tracking."

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

"Start tracking time on task 'Implement user authentication'. Show me the task first, then wait for confirmation."

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

En savoir plus sur les workflows d'écriture sécurisés →

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:

Related Use Cases

Master Time Tracking

Connect your AI assistant to Corcava and track time accurately