Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin
requirements.ts1.22 kB
import { readTemplate } from '../utils/template.js'; export interface RequirementsStartParams { session_id: string; feature_name: string; } export async function requirementsStart( params: RequirementsStartParams ): Promise<string> { const { session_id, feature_name } = params; console.error(`[MCP] Starting requirements collection for feature: ${feature_name}`); // Use gen-requirement.md template const template = await readTemplate('gen-requirement.md', { feature_name, session_id }); return `# 📋 Requirements Gathering Stage (2/5) ## Feature: ${feature_name} ### Workflow Progress: - [x] 1. Goal Collection ✅ - [x] 2. **Requirements Gathering** ← Current Stage - [ ] 3. Design Documentation - [ ] 4. Task Planning - [ ] 5. Task Execution --- ${template} --- **Important**: - Please generate requirements document according to the above guidelines - **Only when you explicitly confirm the requirements are complete can you call** \`spec_coding_requirements_confirmed\` tool - **Never** call the next stage tool before the user **explicitly confirms the requirements** **Session Information**: - Session ID: \`${session_id}\` - Feature Name: \`${feature_name}\``; }

Implementation Reference

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