Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin

spec_coding_tasks_confirmed

Confirm task planning completion and transition to code execution phase 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 main handler function that executes the tool's logic: logs confirmation, returns a markdown message indicating task planning completion, workflow progress, and prompts to call the next tool 'spec_coding_execute_start'.
    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`; }
  • Tool registration object including name, description, and JSON input schema for MCP 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)
    Switch case in the MCP CallToolRequestSchema handler that dispatches tool calls to the tasksConfirmed implementation.
    case 'spec_coding_tasks_confirmed': result = await tasksConfirmed(args as any); break;
  • src/server.ts:13-13 (registration)
    Import statement for the tasksConfirmed handler function.
    import { tasksConfirmed } from './tools/tasks_confirmed.js';
  • TypeScript type definition for the tool's input parameters, matching the JSON schema.
    export interface TasksConfirmedParams { session_id: string; feature_name: string; }

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-coding-mcp'

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