Spec-Driven Development MCP Server
LocalAbout Spec-Driven Development MCP Server
Spec-Driven Development MCP Server is an MCP server that provides structured prompts for moving from requirements to design to code. It uses the EARS format for requirements and suits developers who want a systematic alternative to ad hoc coding.
Key features
- 01Requirements generation in EARS format
- 02Design document generation from requirements
- 03Code generation from design documents
- 04Traceable path from requirements to code
Use cases
- 01Drafting structured requirements for a new web application
- 02Turning requirements into a design document before coding
- 03Running a spec-driven workflow inside Cursor or VS Code
MCP support
This project is an MCP server that exposes three prompts, generate-requirements, generate-design-from-requirements and generate-code-from-design, to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMESpec-Driven Development MCP Server
Model Context Protocol (MCP) server that facilitates spec-driven development workflows by providing structured prompts for generating requirements, design documents, and code following a systematic approach.
🎯 Purpose
This MCP server enables developers to follow a structured spec-driven development approach by providing prompts that guide you through:
- Requirements Generation - Create detailed requirements documents using the EARS (Easy Approach to Requirements Syntax) format
- Design Generation - Generate design documents based on requirements
- Code Generation - Generate implementation code based on design documents
✨ Features
- Structured Workflow: Follows a clear progression from requirements → design → code
- EARS Format Support: Uses industry-standard EARS format for requirements documentation
- MCP Protocol: Integrates seamlessly with MCP-compatible tools and environments
🚀 Quick Start
Prerequisites
- Node.js 20+
Installation
VS Code
Install the MCP server in VS Code using below buttons:
Alternatively, you can add configuration in mcp.json:
{
"servers": {
"spec-driven": {
"command": "npx",
"args": [
"-y",
"mcp-server-spec-driven-development@latest"
]
}
}
}
Cursor, Claude Code
Install the MCP server in Cursor using below button:
Alternatively, you can add configuration in mcp.json:
{
"mcpServers": {
"spec-driven": {
"command": "npx",
"args": [
"-y",
"mcp-server-spec-driven-development@latest"
]
}
}
}
📋 Available Prompts
1. Generate Requirements Document
- Name:
generate-requirements - Description: Generate requirements.md using EARS format
- Input: High-level requirements of the application. Example: 'A Vue.js todo application with task creation, completion tracking, and local storage persistence'
- Output: Structured requirements document in
specs/requirements.md
2. Generate Design from Requirements
- Name:
generate-design-from-requirements - Description: Generate design.md from requirements.md
- Input: Reads from
specs/requirements.md - Output: Design document in
specs/design.md
3. Generate Code from Design
- Name:
generate-code-from-design - Description: Generate code from design.md
- Input: Reads from
specs/design.md - Output: Implementation code in the root folder
📖 Workflow Example
- Start with Requirements: Use the
generate-requirementsprompt with your initial requirements text - Create Design: Use
generate-design-from-requirementsto create a design document based on your requirements - Generate Code: Use
generate-code-from-designto generate implementation code from your design
This creates a traceable path from requirements through design to implementation, ensuring consistency and completeness in your development process.
🤔 Why Spec-Driven Development?
Moving beyond Vibe Coding to a structured, specification-driven approach brings clarity, consistency, and maintainability to your development workflow. Instead of coding by intuition alone, Spec-Driven Development provides a systematic foundation that scales with your project's complexity.
Learn more about the benefits: Goodbye, Vibe Coding! Hello, Spec-Driven Development MCP Server!
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.