Spec Workflow MCP

Spec Workflow MCP

Provides structured spec-driven development workflow tools for AI-assisted software development with sequential spec creation (Requirements → Design → Tasks). Features a real-time web dashboard for monitoring project progress and managing development workflows.

Category
访问服务器

README

Spec Workflow MCP

npm version

A Model Context Protocol (MCP) server that provides structured spec-driven development workflow tools for AI-assisted software development, featuring a real-time web dashboard for monitoring and managing your project's progress.

📺 Showcase

🔄 Approval System in Action

<a href="https://www.youtube.com/watch?v=C-uEa3mfxd0" target="_blank"> <img src="https://img.youtube.com/vi/C-uEa3mfxd0/maxresdefault.jpg" alt="Approval System Demo" width="600"> </a>

See how the approval system works: create documents, request approval through the dashboard, provide feedback, and track revisions.

📊 Dashboard & Spec Management

<a href="https://www.youtube.com/watch?v=g9qfvjLUWf8" target="_blank"> <img src="https://img.youtube.com/vi/g9qfvjLUWf8/maxresdefault.jpg" alt="Dashboard Demo" width="600"> </a>

Explore the real-time dashboard: view specs, track progress, navigate documents, and monitor your development workflow.


☕ Support This Project

<a href="https://buymeacoffee.com/Pimzino" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>


Features

  • Structured Development Workflow - Sequential spec creation (Requirements → Design → Tasks)
  • Real-Time Web Dashboard - Monitor specs, tasks, and progress with live updates
  • Document Management - View and manage all spec documents from the dashboard
  • Task Progress Tracking - Visual progress bars and detailed task status
  • Steering Documents - Project vision, technical decisions, and structure guidance
  • Bug Workflow - Complete bug reporting and resolution tracking
  • Template System - Pre-built templates for all document types
  • Cross-Platform - Works on Windows, macOS, and Linux

Quick Start

  1. Add to your AI tool configuration (see MCP Client Setup below):

    {
      "mcpServers": {
        "spec-workflow": {
          "command": "npx",
          "args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
        }
      }
    }
    

    Note: Can be used without path to your project, but some MCP clients may not start the server from the current directory.

  2. Start using the workflow:

    • Use spec-workflow-guide tool first to understand the complete process
    • Use steering-guide tool to create project steering documents (optional)
    • Monitor progress via the automatic web dashboard (opens automatically for each project)

Note: The dashboard automatically opens in your browser when you start the MCP server. If it does not open automatically or you are running on a headless system, you can retrieve the dashboard URL from the session.json file located in the .spec-workflow directory of your project.

How to Use

You can simply mention spec-workflow or whatever name you gave the MCP server in your conversation. The AI will handle the complete workflow automatically or you can use some of the example prompts below:

Creating Specs

  • "Create a spec for user authentication" - Creates complete spec workflow for that feature
  • "Create a spec called payment-system" - Builds full requirements → design → tasks
  • "Build a spec for @prd" - Takes your existing PRD and creates the complete spec workflow from it
  • "Create a spec for shopping-cart - include add to cart, quantity updates, and checkout integration" - Detailed feature spec

Getting Information

  • "List my specs" - Shows all specs and their current status
  • "Show me the user-auth progress" - Displays detailed progress information

Implementation

  • "Execute task 1.2 in spec user-auth" - Runs a specific task from your spec
  • Copy prompts from dashboard - Use the "Copy Prompt" button in the task list on your dashboard

The agent automatically handles approval workflows, task management, and guides you through each phase.

MCP Client Setup

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "spec-workflow": {
      "command": "npx",
      "args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
    }
  }
}

Cursor IDE

Add to your Cursor settings (settings.json):

{
  "mcp.servers": {
    "spec-workflow": {
      "command": "npx",
      "args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
    }
  }
}

Claude Code CLI

Add to your MCP configuration:

claude mcp add spec-workflow npx "-y @pimzino/spec-workflow-mcp@latest /path/to/your/project"

Augment Code

Configure in your Augment settings:

{
  "mcpServers": {
    "spec-workflow": {
      "command": "npx",
      "args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
    }
  }
}

Continue IDE Extension

Add to your Continue configuration:

{
  "mcpServers": {
    "spec-workflow": {
      "command": "npx",
      "args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
    }
  }
}

Cline/Claude Dev

Add to your MCP server configuration:

{
  "mcpServers": {
    "spec-workflow": {
      "command": "npx",
      "args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
    }
  }
}

Note: Replace /path/to/your/project with the actual path to your project directory where you want the spec workflow to operate.

Available Tools

Workflow Guides

  • spec-workflow-guide - Complete guide for the spec-driven workflow process
  • steering-guide - Guide for creating project steering documents

Spec Management

  • create-spec-doc - Create/update spec documents (requirements, design, tasks)
  • spec-list - List all specs with status information
  • spec-status - Get detailed status of a specific spec
  • manage-tasks - Comprehensive task management for spec implementation

Context & Templates

  • get-template-context - Get markdown templates for all document types
  • get-steering-context - Get project steering context and guidance
  • get-spec-context - Get context for a specific spec

Steering Documents

  • create-steering-doc - Create project steering documents (product, tech, structure)

Approval System

  • request-approval - Request user approval for documents
  • get-approval-status - Check approval status
  • delete-approval - Clean up completed approvals

Web Dashboard

The server includes a real-time web dashboard that automatically opens in your browser when you start the MCP server. Each project gets its own dedicated dashboard running on an ephemeral port. The dashboard provides:

  • Live Project Overview - Real-time updates of specs and progress
  • Document Viewer - Read requirements, design, and tasks documents
  • Task Progress Tracking - Visual progress bars and task status
  • Steering Documents - Quick access to project guidance
  • Dark Mode - Automatically enabled for better readability

Dashboard Features

  • Spec Cards - Overview of each spec with status indicators
  • Document Navigation - Switch between requirements, design, and tasks
  • Task Management - View task progress and copy implementation prompts
  • Real-Time Updates - WebSocket connection for live project status

Workflow Process

1. Project Setup (Recommended)

steering-guide → create-steering-doc (product, tech, structure)

Creates foundational documents to guide your project development.

2. Feature Development

spec-workflow-guide → create-spec-doc → [review] → implementation

Sequential process: Requirements → Design → Tasks → Implementation

3. Implementation Support

  • Use get-spec-context for detailed implementation context
  • Use manage-tasks to track task completion
  • Monitor progress via the web dashboard

File Structure

your-project/
  .spec-workflow/
    steering/
      product.md        # Product vision and goals
      tech.md          # Technical decisions
      structure.md     # Project structure guide
    specs/
      {spec-name}/
        requirements.md # What needs to be built
        design.md      # How it will be built
        tasks.md       # Implementation breakdown
    approval/
      {spec-name}/
        {document-id}.json # Approval status tracking

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode (with auto-reload)
npm run dev

# Start the production server
npm start

# Clean build artifacts
npm run clean

Troubleshooting

Common Issues

  1. Dashboard not opening automatically

    • The dashboard uses ephemeral ports and opens automatically when the MCP server starts
    • Check console output for the dashboard URL if it doesn't open in your browser
  2. MCP server not connecting

    • Verify the file paths in your configuration are correct
    • Ensure the project has been built with npm run build
    • Check that Node.js is available in your system PATH
  3. Dashboard not updating

    • The dashboard uses WebSockets for real-time updates
    • Refresh the browser if connection is lost
    • Check console for any JavaScript errors

Getting Help

  • Check the Issues page for known problems
  • Create a new issue using the provided templates
  • Use the workflow guides within the tools for step-by-step instructions

License

GPL-3.0

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选