Logo Spec-driven Development MCP Server

Spec-driven Development MCP Server

Cộng đồng
kevinlin

An MCP server that brings AI spec-driven development workflow to any AI-powered IDE besides Kiro

Nhà phát hànhkevinlin
Kho mãspec-coding-mcp
Ngôn ngữTypeScript
Bản fork
7
Sao
21
Công cụ có sẵn
9
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Spec-driven Development MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 9 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    21 sao và 7 bản fork từ kho mã được liên kết.

Spec-driven Development Workflow

smithery badge

An AI-guided spec-driven development workflow available as both a Claude Code Skill and MCP Server. 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. This workflow guides you through the process with AI assistance.

🎯 Two Ways to Use This Workflow

Option 1: Claude Code Skill (Recommended for Claude Code Users)

Simple, integrated, no setup required!

The workflow is available as a native Claude Code Skill. Just invoke it in any conversation:

/spec-coding

Or naturally:

I want to use the spec-coding workflow to build [feature]

Benefits:

  • ✅ No installation or configuration needed
  • ✅ Native integration with Claude Code
  • ✅ Seamless conversation flow
  • ✅ Automatic progress tracking with TodoWrite

Learn more: Skill Documentation | Migration Guide

Option 2: MCP Server (For Other IDEs)

Use as an MCP server for Claude Desktop, Cursor, or other MCP-compatible tools.

Installation via Smithery:

bash
npx -y @smithery/cli install @kevinlin/spec-coding-mcp --client claude

Learn more: See MCP Server Setup below.

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

MCP Server Setup

This section is for users who want to use the workflow as an MCP server (Option 2 above).

Installation

Installing via Smithery

To install spec-coding-mcp for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @kevinlin/spec-coding-mcp --client claude

Using npx (Recommended)

bash
# Always get the latest version
npx spec-coding-mcp@latest

# Or simply (will also get latest)
npx spec-coding-mcp

Using npm

bash
npm install -g spec-coding-mcp
spec-coding-mcp

Usage

With Cursor

Add to your Cursor MCP settings:

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

Available Tools

  1. spec_coding_workflow_start - Start the development workflow
  2. spec_coding_goal_confirmed - Confirm feature goals
  3. spec_coding_requirements_start - Begin requirements gathering
  4. spec_coding_requirements_confirmed - Confirm requirements completion
  5. spec_coding_design_start - Start design documentation
  6. spec_coding_design_confirmed - Confirm design completion
  7. spec_coding_tasks_start - Begin task planning
  8. spec_coding_tasks_confirmed - Confirm task planning completion
  9. spec_coding_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_coding_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_coding_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_coding_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_coding_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_coding_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_coding_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_coding_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_coding_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_coding_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

bash
# Install dependencies with pnpm (recommended)
pnpm install

# Or with npm
npm install

Running the Project

bash
# 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

Publishing

To publish the package to npm:

bash
# Build the project
pnpm build

# Publish to npm (will automatically run prepublishOnly script)
npm publish

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.

Cài đặt

TypingMind
{
  "mcpServers": {
    "spec-coding-mcp": {
      "command": "npx",
      "args": [
        "spec-driven-dev-mcp@latest"
      ]
    }
  }
}

Công cụ có sẵn

  • spec_coding_workflow_start

    Start the specs workflow and begin the goal collection phase

  • spec_coding_goal_confirmed

    Confirm the completion of the feature goal, set the feature_name, and proceed to the requirements collection phase

  • spec_coding_requirements_start

    Start the requirements collection phase and provide guidance for requirements gathering

  • spec_coding_requirements_confirmed

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

  • spec_coding_design_start

    Start the design documentation phase and provide guidance for creating design documents

  • spec_coding_design_confirmed

    Confirm the completion of the design document and proceed to the task planning phase

  • spec_coding_tasks_start

    Start the task planning phase and provide guidance for creating the task list

  • spec_coding_tasks_confirmed

    Confirm the completion of task planning and proceed to the execution phase

  • spec_coding_execute_start

    Start the task execution phase and provide guidance for task execution

Dùng MCP Spec-driven Development MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Spec-driven Development MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Spec-driven Development MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Spec-driven Development MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "spec-coding-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spec-coding-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Spec-driven Development MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Spec-driven Development MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Spec-driven Development MCP Server giúp tôi làm việc này không?
Spec-driven Development MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Spec-driven Development MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Spec-driven Development MCP Server dùng để làm gì?

Spec-driven Development MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Spec-driven Development MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Spec-driven Development MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Spec-driven Development MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Spec-driven Development MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Spec-driven Development MCP Server với TypingMind?

Spec-driven Development MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Spec-driven Development MCP Server cung cấp những công cụ nào trong TypingMind?

Spec-driven Development MCP Server cung cấp 9 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Spec-driven Development MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Spec-driven Development MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇