Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin

spec_driven_dev_workflow_start

Initiate the spec-driven development workflow to systematically guide goal collection, requirements specification, design documentation, task planning, and execution.

Instructions

Start the specs workflow and begin the goal collection phase

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function `workflowStart` that starts the spec-driven development workflow by generating a session ID, reading a template, and returning the initial prompt for goal collection. This implements the `spec_coding_workflow_start` tool.
    export async function workflowStart(): Promise<string> { const session_id = generateSessionId(); console.error(`[MCP] Starting workflow with session_id: ${session_id}`); // Use ask-goal.md template const template = await readTemplate('ask-goal.md', { session_id }); return `# 🚀 Spec-driven Development Workflow Started ## Current Stage: Goal Collection (1/5) Welcome to the Spec-driven development workflow! I'll help you complete the entire development process from requirements to code. ### Workflow Overview: - [ ] 1. **Goal Collection** ← Current Stage - [ ] 2. Requirements Gathering - [ ] 3. Design Documentation - [ ] 4. Task Planning - [ ] 5. Task Execution --- ${template} --- **Session Information**: - Session ID: \`${session_id}\` **Important**: - Please discuss the feature goals with me thoroughly until the goals are completely clear - **Only when you explicitly confirm the goals can you call** \`spec_coding_goal_confirmed\` tool - **Never** call the next stage tool before the user **explicitly confirms the goals**`; }
  • Schema definition for the `spec_coding_workflow_start` tool, including name, description, and empty input schema (no parameters required).
    name: 'spec_coding_workflow_start', description: 'Start the specs workflow and begin the goal collection phase', inputSchema: { type: 'object', properties: {}, required: [] } },
  • src/server.ts:207-209 (registration)
    Tool registration in the CallToolRequestSchema handler's switch statement, mapping 'spec_coding_workflow_start' to the `workflowStart` function.
    case 'spec_coding_workflow_start': result = await workflowStart(); break;
  • src/server.ts:6-6 (registration)
    Import statement for the `workflowStart` handler function used by the tool.
    import { workflowStart } from './tools/workflow.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