Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin

spec_coding_requirements_confirmed

Confirm completion of requirements gathering and transition to the design phase in spec-driven development workflows.

Instructions

Confirm the completion of requirements collection and proceed to the design phase

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession identifier
feature_nameYesFeature name

Implementation Reference

  • The main execution logic for the tool, confirming requirements and returning a markdown progress update with next steps.
    export async function requirementsConfirmed(
      params: RequirementsConfirmedParams
    ): Promise<string> {
      const { session_id, feature_name } = params;
      console.error(`[MCP] Requirements confirmed for feature: ${feature_name}`);
      
      return `# βœ… Requirements Gathering Completed
    
    ## Generated Requirements Document:
    πŸ“„ "docs/specs/${feature_name}/requirements.md"
    
    The requirements document contains complete user stories and EARS-format acceptance criteria.
    
    ---
    
    ## Next Stage: Design Document (3/5)
    
    ### Workflow Progress:
    - [x] 1. Goal Collection βœ…
    - [x] 2. **Requirements Gathering** βœ…
    - [ ] 3. **Design Document** ← Next Stage
    - [ ] 4. Task Planning
    - [ ] 5. Task Execution
    
    Now please call \`spec_coding_design_start\` to begin the technical design stage.
    
    **Session Information**:
    - Session ID: \`${session_id}\`
    - Feature Name: \`${feature_name}\`
    - Requirements: βœ… Completed`;
    }
  • MCP protocol input schema definition for the tool, used for validation and listing.
    {
      name: 'spec_coding_requirements_confirmed',
      description: 'Confirm the completion of requirements collection and proceed to the design 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:219-221 (registration)
    Registration in the tool call handler switch statement, mapping tool name to the handler function.
    case 'spec_coding_requirements_confirmed':
      result = await requirementsConfirmed(args as any);
      break;
  • TypeScript type definition for handler input parameters.
    export interface RequirementsConfirmedParams {
      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