Skip to main content
Glama

Spec-driven Development MCP Server

by kevinlin

Spec-driven Development MCP Server

An MCP server that brings AI-guided spec-driven development workflow to any AI-powered IDEs beyonnd Kiro. Transform your development process with structured, step-by-step guidance from idea to implementation.

What is Spec-driven Development?

Spec-driven development is a methodology that emphasizes creating detailed specifications before writing code. This approach helps ensure clear requirements, better design decisions, and more maintainable code. Our MCP server guides you through this process with AI assistance.

Features

  • Complete Development Workflow: From goal collection to task execution
  • AI-Powered Guidance: Step-by-step instructions for each development phase
  • Structured Documentation: Generates organized specs in EARS format
  • Template-Based: Uses proven templates for requirements, design, and tasks

Installation

# Always get the latest version npx spec-driven-dev-mcp@latest # Or simply (will also get latest) npx spec-driven-dev-mcp

Using npm

npm install -g spec-driven-dev-mcp spec-driven-dev-mcp

Usage

With Cursor

Add to your Cursor MCP settings:

{ "mcpServers": { "spec-driven-dev-mcp": { "command": "npx", "args": ["spec-driven-dev-mcp@latest"], "env": {}, "disabled": false } } }

Available Tools

  1. spec_driven_dev_workflow_start - Start the development workflow
  2. spec_driven_dev_goal_confirmed - Confirm feature goals
  3. spec_driven_dev_requirements_start - Begin requirements gathering
  4. spec_driven_dev_requirements_confirmed - Confirm requirements completion
  5. spec_driven_dev_design_start - Start design documentation
  6. spec_driven_dev_design_confirmed - Confirm design completion
  7. spec_driven_dev_tasks_start - Begin task planning
  8. spec_driven_dev_tasks_confirmed - Confirm task planning completion
  9. spec_driven_dev_execute_start - Start task execution

Workflow Stages & Example

The spec-driven development process follows five distinct stages. Here's how it works with a real example - building a user authentication feature:

1. Goal Collection - Define What You Want to Build

Purpose: Establish clear, specific objectives for your feature.

Example Interaction:

User: I want to build a user authentication feature Assistant: Let me start the spec-driven development workflow for you. [calls spec_driven_dev_workflow_start] Let's define your feature goals: 1. What specific authentication methods do you want to support? 2. Do you need social login (Google, GitHub, etc.)? 3. What user roles and permissions are required? User: I need email/password login with JWT tokens, plus Google OAuth, and basic user/admin roles. Assistant: Perfect! Let me confirm: - Feature: User authentication system - Methods: Email/password + Google OAuth - Tokens: JWT-based - Roles: User and Admin - Feature name: "user-authentication" Is this correct? User: Yes, that's exactly what I need. [calls spec_driven_dev_goal_confirmed with feature_name="user-authentication"]

2. Requirements Gathering - Create Detailed EARS-format Requirements

Purpose: Transform your goals into specific, testable requirements using the EARS (Easy Approach to Requirements Syntax) format.

Example Interaction:

Assistant: Great! Now let's gather detailed requirements. [calls spec_driven_dev_requirements_start] [Assistant generates detailed EARS-format requirements in .docs/specs/user-authentication/requirements.md] - WHEN a user provides valid email/password THEN the system SHALL authenticate them - GIVEN a user wants Google OAuth WHEN they click "Sign in with Google" THEN the system SHALL redirect to Google - WHERE user roles are needed IF user is admin THEN they SHALL access admin features User: The requirements look comprehensive. Approved! [calls spec_driven_dev_requirements_confirmed]

3. Design Documentation - Technical Architecture and Design

Purpose: Create detailed technical specifications including architecture, component design, data models, and API specifications.

Example Interaction:

Assistant: Now let's create the technical design. [calls spec_driven_dev_design_start] [Assistant creates detailed design document including:] - Database schema for users, sessions, oauth_tokens - Authentication middleware architecture - JWT token structure and validation flow - Google OAuth integration endpoints - Role-based access control implementation User: Design looks good, proceed! [calls spec_driven_dev_design_confirmed]

4. Task Planning - Break Down into Executable Tasks

Purpose: Decompose the feature into specific, prioritized development tasks with clear dependencies.

Example Interaction:

Assistant: Let's break this down into executable tasks. [calls spec_driven_dev_tasks_start] [Assistant creates numbered task list:] 1. Set up database models (User, Session, OAuthToken) 2. Implement JWT token service 3. Create email/password authentication endpoints 4. Integrate Google OAuth flow 5. Build role-based middleware 6. Add frontend login/register forms 7. Write integration tests User: Task breakdown is perfect! [calls spec_driven_dev_tasks_confirmed]

5. Task Execution - Implement the Code

Purpose: Execute the planned tasks systematically, implementing the feature according to specifications.

Example Interaction:

Assistant: Time to implement! Let's start coding. [calls spec_driven_dev_execute_start] [Assistant implements each task step by step:] - Creates User model with email, password_hash, role fields - Builds JWT service with sign/verify methods - Implements /auth/login and /auth/register endpoints - Integrates Google OAuth with Passport.js - Creates role-checking middleware - Builds React login/register components - Writes comprehensive test suite

Generated Project Structure

Throughout the workflow, the following documentation structure is created:

.docs/specs/{feature_name}/ ├── requirements.md # EARS-format requirements ├── design.md # Technical architecture └── tasks.md # Implementation checklist

Development

Prerequisites

Make sure you have Node.js 18+ installed.

Setup

# Install dependencies with pnpm (recommended) pnpm install # Or with npm npm install

Running the Project

# Development mode with pnpm pnpm dev # Or with npm npm run dev # Build with pnpm pnpm build # Or with npm npm run build # Start built version with pnpm pnpm start # Or with npm npm start # Test with pnpm (when available) pnpm test # Or with npm npm test

Contributing & License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Attribution

This project was inspired by and builds upon concepts from vibedevtools by @yinwm, a collection of development efficiency tools.

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An MCP server that enables AI-powered IDEs to implement a structured development workflow from requirements gathering to code implementation, guiding users through goal collection, requirements specification, design documentation, task planning, and execution.

  1. What is Spec-driven Development?
    1. Features
      1. Installation
        1. Using npx (Recommended)
        2. Using npm
      2. Usage
        1. With Cursor
        2. Available Tools
      3. Workflow Stages & Example
        1. 1. Goal Collection - Define What You Want to Build
        2. 2. Requirements Gathering - Create Detailed EARS-format Requirements
        3. 3. Design Documentation - Technical Architecture and Design
        4. 4. Task Planning - Break Down into Executable Tasks
        5. 5. Task Execution - Implement the Code
      4. Generated Project Structure
        1. Development
          1. Prerequisites
          2. Setup
          3. Running the Project
        2. Contributing & License
          1. Contributing
          2. License
          3. Attribution

        Related MCP Servers

        • A
          security
          F
          license
          A
          quality
          An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
          Last updated -
          11
          61
          TypeScript
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A MCP server that enables human-in-the-loop workflow in AI-assisted development tools by allowing users to run commands, view their output, and provide textual feedback directly to the AI assistant.
          Last updated -
          1
          1,442
          Python
          MIT License
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A powerful MCP server that provides interactive user feedback and command execution capabilities for AI-assisted development, featuring a graphical interface with text and image support.
          Last updated -
          1
          33
          Python
          MIT License
        • A
          security
          F
          license
          A
          quality
          MCP server that enables human-in-the-loop workflow in AI-assisted development tools by allowing users to provide direct feedback to AI agents without consuming additional premium requests.
          Last updated -
          1
          1
          Python
          • Linux
          • Apple

        View all related MCP servers

        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