Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin

spec_coding_tasks_confirmed

Confirm task planning completion to transition from specification to code implementation in spec-driven development workflows.

Instructions

Confirm the completion of task planning and proceed to the execution phase

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession identifier
feature_nameYesFeature name

Implementation Reference

  • The core handler function that executes the 'spec_coding_tasks_confirmed' tool. It logs confirmation and returns a markdown message indicating task planning completion and directing to the next phase.
    export async function tasksConfirmed(
      params: TasksConfirmedParams
    ): Promise<string> {
      const { session_id, feature_name } = params;
      console.error(`[MCP] Tasks confirmed for feature: ${feature_name}`);
      
      return `# βœ… Task Planning Completed
    
    ## Generated Tasks Document:
    πŸ“„ "docs/specs/${feature_name}/tasks.md"
    
    The tasks document contains a detailed list of development tasks, each with clear descriptions, acceptance criteria, and execution order.
    
    ---
    
    ## Next Stage: Task Execution (5/5)
    
    ### Workflow Progress:
    - [x] 1. Goal Collection βœ…
    - [x] 2. Requirements Gathering βœ…
    - [x] 3. Design Document βœ…
    - [x] 4. **Task Planning** βœ…
    - [ ] 5. **Task Execution** ← Final Stage
    
    Now please call \`spec_coding_execute_start\` to begin the task execution stage.
    
    **Session Information**:
    - Session ID: \`${session_id}\`
    - Feature Name: \`${feature_name}\`
    - Requirements: βœ… Completed
    - Design: βœ… Completed
    - Tasks: βœ… Completed`;
    }
  • The tool definition including name, description, and input schema used for tool listing and validation.
    {
      name: 'spec_coding_tasks_confirmed',
      description: 'Confirm the completion of task planning and proceed to the execution phase',
      inputSchema: {
        type: 'object',
        properties: {
          session_id: { 
            type: 'string', 
            description: 'Session identifier' 
          },
          feature_name: { 
            type: 'string', 
            description: 'Feature name' 
          }
        },
        required: ['session_id', 'feature_name']
      }
    },
  • src/server.ts:235-237 (registration)
    The switch case that registers and dispatches calls to the tasksConfirmed handler function.
    case 'spec_coding_tasks_confirmed':
      result = await tasksConfirmed(args as any);
      break;
  • TypeScript interface defining the input parameters for the handler, matching the JSON schema.
    export interface TasksConfirmedParams {
      session_id: string;
      feature_name: string;
    }
  • src/server.ts:13-13 (registration)
    Import statement registering the handler function into the server module.
    import { tasksConfirmed } from './tools/tasks_confirmed.js';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevinlin/spec-driven-dev-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server