Corcava logo The Only Business Tool You Need Corcava
Menu

Cursor Workflow with MCP: Implement a Task and Log Progress Back to Corcava

Use MCP from within Cursor to implement tasks and automatically log progress back to Corcava. This IDE-centric workflow shows you how to open a task, generate an implementation plan, execute the work, and update task status—all without leaving your editor.

What This Workflow Accomplishes

Cursor workflow with MCP creates a seamless development loop:

Key Outcomes

  • Task-to-code flow: Open a task and start implementing immediately
  • Implementation planning: Generate step-by-step plans from task descriptions
  • Progress logging: Automatically log progress as you work
  • Status updates: Update task status when work is complete
  • IDE integration: Everything happens within Cursor, no context switching

Prerequisites

Before using this workflow, ensure you have:

Step-by-Step Workflow

Step 1: Open Task in Corcava

Start by retrieving the task details:

Open Task Prompt

"Open task #[ID] from Corcava: - Get the full task details including description and comments - Show me: task title, description, acceptance criteria, and current status - Check if there are any related files or code references in comments I want to implement this task."

What the AI does:

  1. Calls get_task to retrieve task details
  2. Reads task description and comments
  3. Extracts acceptance criteria and requirements
  4. Presents task information for implementation

Step 2: Generate Implementation Plan

Create a step-by-step plan based on the task:

Implementation Plan Prompt

"Based on task #[ID], generate an implementation plan: - Break down the task into concrete steps - Identify which files need to be created or modified - List the code changes needed - Show me: step-by-step plan with file paths and changes Keep the plan actionable and specific to this codebase."

What the AI does:

  1. Analyzes task requirements
  2. Reviews codebase structure (if accessible)
  3. Creates step-by-step implementation plan
  4. Identifies files and code changes needed

Step 3: Execute Implementation

Implement the plan step by step:

Execute Implementation Prompt

"Now implement the plan for task #[ID]: - Execute each step of the implementation plan - Create or modify files as needed - Write code that meets the acceptance criteria - Test the changes if possible Work through the plan systematically."

What the AI does:

  1. Creates or modifies files according to plan
  2. Implements code changes
  3. Follows the step-by-step plan
  4. Ensures code meets task requirements

Step 4: Log Progress to Corcava

Add a progress comment as you work:

Log Progress Prompt

"Add a progress comment to task #[ID]: - Comment: 'Implementation in progress: [what was done]. Files modified: [list]. Next: [next steps].' - Show me the comment text first for approval - Wait for my confirmation before posting I must type 'CONFIRM' or 'YES, ADD COMMENT' before you post."

What the AI does:

  1. Drafts progress comment with implementation details
  2. Shows preview for approval
  3. Waits for confirmation token
  4. Calls add_task_comment after approval

Step 5: Update Task Status

Update task status when implementation is complete:

Update Status Prompt (Requires Approval)

"When task #[ID] implementation is complete: - Update task status to 'done' (or appropriate status) - Add a completion comment: 'Implementation complete. Changes: [summary]. Ready for review.' - Show me the status change and comment before applying - Wait for my 'CONFIRM' or 'YES, UPDATE STATUS' before updating Only update after I explicitly approve."

What the AI does:

  1. Drafts status update and completion comment
  2. Shows preview of changes
  3. Waits for confirmation token
  4. Calls update_task and add_task_comment after approval

Complete Workflow Prompts

Here are complete, copy-paste ready prompts for Cursor users:

Full Cursor Implementation Workflow

"Help me implement task #[ID] from Corcava: 1. Open the task and show me the details (title, description, acceptance criteria) 2. Generate a step-by-step implementation plan based on the task requirements 3. Execute the implementation plan, creating/modifying files as needed 4. As you work, add a progress comment: 'Implementation in progress: [what was done]. Files: [list]. Next: [next steps].' (wait for my 'CONFIRM' before posting) 5. When complete, update task status to 'done' and add completion comment (wait for my 'CONFIRM' before updating) Important: Always preview comments and status changes before applying, and only proceed after explicit confirmation."

Use this when: You want to implement a task end-to-end in Cursor

Quick Task Implementation

"Implement task #[ID]. Open it, create a plan, execute it, then log progress back to Corcava. Show me progress comment before posting (wait for 'CONFIRM')."

Use this when: You want a quick implementation workflow

Log Progress Only

"Add a progress comment to task #[ID]: '[what I accomplished]. Files changed: [list]. Next: [next steps].' Show me the comment first, then wait for my 'CONFIRM' before posting."

Use this when: You've already implemented and just need to log progress

Workflow Variants

Variant 1: Feature Implementation

Full feature implementation workflow:

"Implement feature task #[ID]: - Open task and review requirements - Generate implementation plan (files, components, tests) - Implement feature with tests - Log progress: 'Feature implementation: [done]. Files: [list]. Tests: [status].' - Update status when complete Follow full workflow with progress logging."

What happens: AI implements full feature with testing and progress updates

Variant 2: Bug Fix Workflow

Bug fix implementation workflow:

"Fix bug task #[ID]: - Open task and understand the bug - Identify root cause and fix - Test the fix - Log progress: 'Bug fix: [issue]. Fix: [solution]. Files: [list]. Tested: [yes/no].' - Update status to 'done' when fixed Focus on quick fix with clear progress logging."

What happens: AI fixes bug and logs clear progress updates

Variant 3: Refactoring Workflow

Refactoring task workflow:

"Refactor task #[ID]: - Open task and understand refactoring scope - Plan refactoring steps (which files, what changes) - Execute refactoring systematically - Log progress: 'Refactoring: [scope]. Files: [list]. Tests passing: [yes/no].' - Update status when complete Track refactoring progress with detailed comments."

What happens: AI performs refactoring with progress tracking

Example: Complete Cursor Implementation Session

Here's a real example of how a Cursor implementation session flows:

User Prompt

"Help me implement task #123 from Corcava."

AI Response (Task Details)

Task #123: Implement user authentication

Description: Add user login/logout functionality with email and password authentication.

Acceptance Criteria:

  • User can register with email and password
  • User can login with credentials
  • User can logout
  • Session management works correctly

Status: In Progress

AI Implementation Plan

Implementation Plan:

  1. Create authentication controller: app/Http/Controllers/AuthController.php
  2. Create login view: resources/views/auth/login.blade.php
  3. Create register view: resources/views/auth/register.blade.php
  4. Add routes: routes/web.php
  5. Implement session management middleware

AI Implementation (Code Changes)

✅ Created app/Http/Controllers/AuthController.php

✅ Created resources/views/auth/login.blade.php

✅ Created resources/views/auth/register.blade.php

✅ Updated routes/web.php with auth routes

✅ Implemented session management

AI Progress Comment Preview

Progress Comment (Ready to Post):

"Implementation in progress: Created authentication controller, login/register views, and routes. Files modified: AuthController.php, login.blade.php, register.blade.php, web.php. Next: Test login/logout functionality."

Type 'CONFIRM' or 'YES, ADD COMMENT' to post this comment.

User Approval

"CONFIRM"

AI Action (After Approval)

✅ Posted progress comment to task #123

Implementation is in progress. Continue when ready to mark as complete.

Safety Patterns

✅ Approval-Based Updates

This workflow uses explicit approval for all write operations:

  • Read-first: Always open and review task before implementing
  • Preview comments: Show comment text before posting
  • Preview status changes: Show status update before applying
  • Confirmation tokens: Require "CONFIRM" or "YES, ADD COMMENT" / "YES, UPDATE STATUS"
  • Code review: Implementation happens in your editor where you can review

Troubleshooting

Task Not Found

Symptom: Cannot retrieve task details

Possible causes:

  • Task ID incorrect
  • Task in different workspace
  • API key lacks read access

Fix: Verify task ID and API key permissions. Check workspace access.

Implementation Plan Too Vague

Symptom: Plan doesn't specify files or changes

Possible causes:

  • Task description lacks detail
  • Codebase structure not accessible

Fix: Ask for more specific plan: "Generate detailed plan with exact file paths and code changes"

Comments Not Being Posted

Symptom: AI doesn't post comments even after approval

Possible causes:

  • Confirmation token not recognized
  • API key lacks write permissions

Fix: Use exact confirmation: "CONFIRM" or "YES, ADD COMMENT". Verify API key has write access.

Related Tools

This workflow uses these Corcava MCP tools:

Related Use Cases

Implement Tasks in Cursor

Connect Cursor to Corcava and implement tasks without leaving your editor