Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin

spec_coding_design_confirmed

Confirm design document completion and transition to task planning for spec-driven development workflows.

Instructions

Confirm the completion of the design document and proceed to the task planning phase

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession identifier
feature_nameYesFeature name

Implementation Reference

  • The main handler function that executes the tool logic: confirms design completion for the feature, logs the event, and returns a markdown response with workflow progress and instructions to call the next tool.
    export async function designConfirmed( params: DesignConfirmedParams ): Promise<string> { const { session_id, feature_name } = params; console.error(`[MCP] Design confirmed for feature: ${feature_name}`); return `# āœ… Design Document Completed ## Generated Design Document: šŸ“„ "docs/specs/${feature_name}/design.md" The design document contains the complete technical architecture, component design, and implementation plan. --- ## Next Stage: Task Planning (4/5) ### Workflow Progress: - [x] 1. Goal Collection āœ… - [x] 2. Requirements Gathering āœ… - [x] 3. **Design Document** āœ… - [ ] 4. **Task Planning** ← Next Stage - [ ] 5. Task Execution Now please call \`spec_coding_tasks_start\` to begin the task planning stage. **Session Information**: - Session ID: \`${session_id}\` - Feature Name: \`${feature_name}\` - Requirements: āœ… Completed - Design: āœ… Completed`; }
  • JSON schema definition for the tool's input parameters: session_id and feature_name, provided in the list of tools.
    { name: 'spec_coding_design_confirmed', description: 'Confirm the completion of the design document and proceed to the task planning 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:227-229 (registration)
    Switch case in the CallToolRequest handler that routes calls to this tool name to the designConfirmed function.
    case 'spec_coding_design_confirmed': result = await designConfirmed(args as any); break;
  • TypeScript interface defining the expected parameters for the handler function, matching the JSON schema.
    export interface DesignConfirmedParams { session_id: string; feature_name: string; }
  • src/server.ts:11-11 (registration)
    Import statement that brings the handler function into the server module for use in tool dispatching.
    import { designConfirmed } from './tools/design_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-coding-mcp'

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