Spec Workflow MCP
The Spec Workflow MCP server provides a comprehensive AI-assisted, spec-driven development environment that streamlines structured workflows from requirements to implementation.
Core Capabilities:
Guided Workflows: Step-by-step spec creation and project steering guidance
Spec Management: Create, update, and track specifications with status monitoring and comprehensive listing
Steering Documents: Establish foundational project guidance through product vision, technical decisions, and structure documents
Task Management: Handle spec implementation tasks with status tracking (pending, in-progress, completed) and context retrieval
Template System: Access built-in templates for specs, bugs, and steering documents
Approval System: Request, track, and manage human approvals for documents and actions
Real-Time Dashboard: Monitor progress, view documents, and manage tasks via a live web interface
IDE Integration: Works seamlessly with Claude Desktop, Cursor IDE, Continue IDE, Cline/Claude Dev, and other AI development tools
The server enables you to progress systematically from requirements through design to implementation while maintaining project context and facilitating collaboration through its integrated approval and monitoring systems.
Provides support link for the project through Buy Me A Coffee donation platform
Features embedded YouTube video demonstrations showcasing the approval system and dashboard functionality
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Spec Workflow MCP create a spec for user authentication"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Spec Workflow MCP
I HAVE TAKEN A SMALL BREAK FROM THIS REPO FOR PERSONAL REASONS BUT I WILL BE BACK WITH SOME UPDATES IN THE NEAR FUTURE THANK YOU FOR YOUR UNDERSTANDING
A Model Context Protocol (MCP) server for structured spec-driven development with real-time dashboard and VSCode extension.
☕ Support This Project
Related MCP server: OpenSpec MCP
📺 Showcase
🔄 Approval System in Action
See how the approval system works: create documents, request approval through the dashboard, provide feedback, and track revisions.
📊 Dashboard & Spec Management
Explore the real-time dashboard: view specs, track progress, navigate documents, and monitor your development workflow.
✨ Key Features
Structured Development Workflow - Sequential spec creation (Requirements → Design → Tasks)
Real-Time Web Dashboard - Monitor specs, tasks, and progress with live updates
VSCode Extension - Integrated sidebar dashboard for VSCode users
Approval Workflow - Complete approval process with revisions
Task Progress Tracking - Visual progress bars and detailed status
Implementation Logs - Searchable logs of all task implementations with code statistics
Multi-Language Support - Available in 11 languages
🌍 Supported Languages
🇺🇸 English • 🇯🇵 日本語 • 🇨🇳 中文 • 🇪🇸 Español • 🇧🇷 Português • 🇩🇪 Deutsch • 🇫🇷 Français • 🇷🇺 Русский • 🇮🇹 Italiano • 🇰🇷 한국어 • 🇸🇦 العربية
📖 Documentation in your language:
English | 日本語 | 中文 | Español | Português | Deutsch | Français | Русский | Italiano | 한국어 | العربية
🚀 Quick Start
Step 1: Add to your AI tool
Add to your MCP configuration (see client-specific setup below):
{
"mcpServers": {
"spec-workflow": {
"command": "npx",
"args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
}
}
}Step 2: Choose your interface
Option A: Web Dashboard (Required for CLI users) Start the dashboard (runs on port 5000 by default):
npx -y @pimzino/spec-workflow-mcp@latest --dashboardThe dashboard will be accessible at: http://localhost:5000
Note: Only one dashboard instance is needed. All your projects will connect to the same dashboard.
Option B: VSCode Extension (Recommended for VSCode users)
Install Spec Workflow MCP Extension from the VSCode marketplace.
📝 How to Use
Simply mention spec-workflow in your conversation:
"Create a spec for user authentication" - Creates complete spec workflow
"List my specs" - Shows all specs and their status
"Execute task 1.2 in spec user-auth" - Runs a specific task
🔧 MCP Client Setup
Configure in your Augment settings:
{
"mcpServers": {
"spec-workflow": {
"command": "npx",
"args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
}
}
}Add to your MCP configuration:
claude mcp add spec-workflow npx @pimzino/spec-workflow-mcp@latest -- /path/to/your/projectImportant Notes:
The
-yflag bypasses npm prompts for smoother installationThe
--separator ensures the path is passed to the spec-workflow script, not to npxReplace
/path/to/your/projectwith your actual project directory path
Alternative for Windows (if the above doesn't work):
claude mcp add spec-workflow cmd.exe /c "npx @pimzino/spec-workflow-mcp@latest /path/to/your/project"Add to claude_desktop_config.json:
{
"mcpServers": {
"spec-workflow": {
"command": "npx",
"args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
}
}
}Important: Run the dashboard separately with
--dashboardbefore starting the MCP server.
Add to your MCP server configuration:
{
"mcpServers": {
"spec-workflow": {
"command": "npx",
"args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
}
}
}Add to your Continue configuration:
{
"mcpServers": {
"spec-workflow": {
"command": "npx",
"args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
}
}
}Add to your Cursor settings (settings.json):
{
"mcpServers": {
"spec-workflow": {
"command": "npx",
"args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
}
}
}Add to your opencode.json configuration file:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"spec-workflow": {
"type": "local",
"command": ["npx", "-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"],
"enabled": true
}
}
}Add to your ~/.codeium/windsurf/mcp_config.json configuration file:
{
"mcpServers": {
"spec-workflow": {
"command": "npx",
"args": ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]
}
}
}Add to your ~/.codex/config.toml configuration file:
[mcp_servers.spec-workflow]
command = "npx"
args = ["-y", "@pimzino/spec-workflow-mcp@latest", "/path/to/your/project"]🐳 Docker Deployment
Run the dashboard in a Docker container for isolated deployment:
# Using Docker Compose (recommended)
cd containers
docker-compose up --build
# Or using Docker CLI
docker build -f containers/Dockerfile -t spec-workflow-mcp .
docker run -p 5000:5000 -v "./workspace/.spec-workflow:/workspace/.spec-workflow:rw" spec-workflow-mcpThe dashboard will be available at: http://localhost:5000
🔒 Security
Spec-Workflow MCP includes enterprise-grade security features suitable for corporate environments:
✅ Implemented Security Controls
Feature | Description |
Localhost Binding | Binds to |
Rate Limiting | 120 requests/minute per client with automatic cleanup |
Audit Logging | Structured JSON logs with timestamp, actor, action, and result |
Security Headers | X-Content-Type-Options, X-Frame-Options, X-XSS-Protection, CSP, Referrer-Policy |
CORS Protection | Restricted to localhost origins by default |
Docker Hardening | Non-root user, read-only filesystem, dropped capabilities, resource limits |
⚠️ Not Yet Implemented
Feature | Workaround |
HTTPS/TLS | Use a reverse proxy (nginx, Apache) with TLS certificates |
User Authentication | Use a reverse proxy with Basic Auth or OAuth2 Proxy for SSO |
For External/Network Access
If you need to expose the dashboard beyond localhost, we recommend:
Keep dashboard on localhost (
127.0.0.1)Use nginx or Apache as a reverse proxy with:
TLS/HTTPS termination
Basic authentication or OAuth2
Configure firewall rules to restrict access
# Example nginx reverse proxy with auth
server {
listen 443 ssl;
server_name dashboard.example.com;
ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/key.pem;
auth_basic "Dashboard Access";
auth_basic_user_file /etc/nginx/.htpasswd;
location / {
proxy_pass http://127.0.0.1:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}🔒 Sandboxed Environments
For sandboxed environments (e.g., Codex CLI with sandbox_mode=workspace-write) where $HOME is read-only, use the SPEC_WORKFLOW_HOME environment variable to redirect global state files to a writable location:
SPEC_WORKFLOW_HOME=/workspace/.spec-workflow-mcp npx -y @pimzino/spec-workflow-mcp@latest /workspace📚 Documentation
Configuration Guide - Command-line options, config files
User Guide - Comprehensive usage examples
Workflow Process - Development workflow and best practices
Interfaces Guide - Dashboard and VSCode extension details
Prompting Guide - Advanced prompting examples
Tools Reference - Complete tools documentation
Development - Contributing and development setup
Troubleshooting - Common issues and solutions
📁 Project Structure
your-project/
.spec-workflow/
approvals/
archive/
specs/
steering/
templates/
user-templates/
config.example.toml🛠️ Development
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev📄 License
GPL-3.0
⭐ Star History
Available Tools
5 toolsapprovalsA
Manage approval requests through the dashboard interface.
Instructions
Use this tool to request, check status, or delete approval requests. The action parameter determines the operation:
'request': Create a new approval request after creating each document
'status': Check the current status of an approval request
'delete': Clean up completed, rejected, or needs-revision approval requests (cannot delete pending requests)
CRITICAL: Only provide filePath parameter for requests - the dashboard reads files directly. Never include document content. Wait for user to review and approve before continuing.
Inputs: action (required), projectPath, approvalId, title, +4 more.
log-implementationA
Record comprehensive implementation details for a completed task.
⚠️ CRITICAL: Artifacts are REQUIRED. This creates a searchable knowledge base that future AI agents use to discover existing code and avoid duplication.
WHY DETAILED LOGGING MATTERS
Future AI agents (and future you) will use grep/ripgrep to search implementation logs before implementing new tasks. Complete logs prevent:
❌ Creating duplicate API endpoints
❌ Reimplementing existing components
❌ Duplicating utility functions and business logic
❌ Breaking established integration patterns
Incomplete logs = Duplicated code = Technical debt
REQUIRED FIELDS
artifacts (REQUIRED - Object)
Contains structured data about what was implemented. Must include relevant artifact types:
apiEndpoints (array of API endpoint objects)
When new API endpoints are created/modified, document:
method: HTTP method (GET, POST, PUT, DELETE, PATCH)
path: Route path (e.g., "/api/specs/:name/logs")
purpose: What this endpoint does
requestFormat: Request body/query params format (JSON schema or example)
responseFormat: Response structure (JSON schema or example)
location: File path and line number (e.g., "src/server.ts:245")
Example:
{
"method": "GET",
"path": "/api/specs/:name/implementation-log",
"purpose": "Retrieve implementation logs with optional filtering",
"requestFormat": "Query params: taskId (string, optional), search (string, optional)",
"responseFormat": "{ entries: ImplementationLogEntry[] }",
"location": "src/dashboard/server.ts:245"
}components (array of component objects)
When reusable UI components are created, document:
name: Component name
type: Framework type (React, Vue, Svelte, etc.)
purpose: What the component does
location: File path
props: Props interface or type signature
exports: What it exports (array of export names)
Example:
{
"name": "LogsPage",
"type": "React",
"purpose": "Main dashboard page for viewing implementation logs with search and filtering",
"location": "src/modules/pages/LogsPage.tsx",
"props": "{ specs: any[], selectedSpec: string, onSelect: (value: string) => void }",
"exports": ["LogsPage (default)"]
}functions (array of function objects)
When utility functions are created, document:
name: Function name
purpose: What it does
location: File path and line
signature: Function signature (params and return type)
isExported: Whether it can be imported
Example:
{
"name": "searchLogs",
"purpose": "Search implementation logs by keyword",
"location": "src/dashboard/implementation-log-manager.ts:156",
"signature": "(searchTerm: string) => Promise<ImplementationLogEntry[]>",
"isExported": true
}classes (array of class objects)
When classes are created, document:
name: Class name
purpose: What the class does
location: File path
methods: List of public methods
isExported: Whether it can be imported
Example:
{
"name": "ImplementationLogManager",
"purpose": "Manages CRUD operations for implementation logs",
"location": "src/dashboard/implementation-log-manager.ts",
"methods": ["loadLog", "addLogEntry", "getAllLogs", "searchLogs", "getTaskStats"],
"isExported": true
}integrations (array of integration objects)
Document how frontend connects to backend:
description: How components connect to APIs
frontendComponent: Which component initiates the connection
backendEndpoint: Which API endpoint is called
dataFlow: Describe the data flow (e.g., "User clicks → API call → State update → Re-render")
Example:
{
"description": "LogsPage fetches logs via REST API and subscribes to WebSocket for real-time updates",
"frontendComponent": "LogsPage",
"backendEndpoint": "GET /api/specs/:name/implementation-log",
"dataFlow": "Component mount → API fetch → Display logs → WebSocket subscription → Real-time updates on new entries"
}GOOD EXAMPLE (Include ALL relevant artifacts)
Task: "Implemented logs dashboard with real-time updates"
{
"taskId": "2.3",
"summary": "Implemented real-time implementation logs dashboard with filtering, search, and WebSocket updates",
"artifacts": {
"apiEndpoints": [
{
"method": "GET",
"path": "/api/specs/:name/implementation-log",
"purpose": "Retrieve implementation logs with optional filtering",
"requestFormat": "Query params: taskId (string, optional), search (string, optional)",
"responseFormat": "{ entries: ImplementationLogEntry[] }",
"location": "src/dashboard/server.ts:245"
}
],
"components": [
{
"name": "LogsPage",
"type": "React",
"purpose": "Main dashboard page for viewing implementation logs with search and filtering",
"location": "src/modules/pages/LogsPage.tsx",
"props": "None (uses React Router params)",
"exports": ["LogsPage (default)"]
}
],
"classes": [
{
"name": "ImplementationLogManager",
"purpose": "Manages CRUD operations for implementation logs",
"location": "src/dashboard/implementation-log-manager.ts",
"methods": ["loadLog", "addLogEntry", "getAllLogs", "searchLogs", "getTaskStats"],
"isExported": true
}
],
"integrations": [
{
"description": "LogsPage fetches logs via REST API and subscribes to WebSocket for real-time updates",
"frontendComponent": "LogsPage",
"backendEndpoint": "GET /api/specs/:name/implementation-log",
"dataFlow": "Component mount → API fetch → Display logs → WebSocket subscription → Real-time updates on new entries"
}
]
},
"filesModified": ["src/dashboard/server.ts"],
"filesCreated": ["src/modules/pages/LogsPage.tsx"],
"statistics": { "linesAdded": 650, "linesRemoved": 15, "filesChanged": 2 }
}BAD EXAMPLE (Don't do this)
❌ Empty artifacts - Future agents learn nothing:
{
"taskId": "2.3",
"summary": "Added endpoint and page",
"artifacts": {},
"filesModified": ["server.ts"],
"filesCreated": ["LogsPage.tsx"]
}❌ Vague summary with no structured data:
{
"taskId": "2.3",
"summary": "Implemented features",
"artifacts": {},
"filesModified": ["server.ts", "app.tsx"]
}Instructions
After completing a task, review what you implemented
Identify all artifacts (APIs, components, functions, classes, integrations)
Document each with full details and locations
Include ALL the information - be thorough!
Future agents depend on this data quality
Inputs: specName (required), taskId (required), summary (required), filesModified (required), +4 more.
spec-statusA
Display comprehensive specification progress overview.
Instructions
Call when resuming work on a spec or checking overall completion status. Shows which phases are complete and task implementation progress. After viewing status, read tasks.md directly to see all tasks and their status markers ([ ] pending, [-] in-progress, [x] completed).
Inputs: specName (required), projectPath.
spec-workflow-guideA
Load essential spec workflow instructions to guide feature development from idea to implementation.
Instructions
Call this tool FIRST when users request spec creation, feature development, or mention specifications. This provides the complete workflow sequence (Requirements → Design → Tasks → Implementation) that must be followed. Always load before any other spec tools to ensure proper workflow understanding. Its important that you follow this workflow exactly to avoid errors.
Inputs: no named parameters.
steering-guideA
Load guide for creating project steering documents.
Instructions
Call ONLY when user explicitly requests steering document creation or asks about project architecture docs. Not part of standard spec workflow. Provides templates and guidance for product.md, tech.md, and structure.md creation. Its important that you follow this workflow exactly to avoid errors.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct, non-overlapping purpose: approvals manages approval requests, log-implementation records implementation details, spec-status shows progress, spec-workflow-guide provides workflow instructions, and steering-guide handles steering documents. The descriptions clearly differentiate their roles, with no ambiguity in selection.
Naming is mixed with no clear pattern: 'approvals' and 'spec-status' use noun phrases, 'log-implementation' uses a verb-noun format, and 'spec-workflow-guide' and 'steering-guide' use noun-noun compounds. While readable, the conventions vary without a consistent verb_noun or other predictable structure.
With 5 tools, this is well-scoped for a spec workflow server. Each tool serves a specific function in the workflow lifecycle (e.g., guidance, logging, approvals, status tracking), and none feel redundant or missing for the domain, making the count appropriate.
The toolset covers key aspects of spec workflow management: guidance (spec-workflow-guide), progress tracking (spec-status), implementation logging (log-implementation), approvals (approvals), and steering documents (steering-guide). A minor gap is the lack of a tool for directly creating or editing spec tasks, but agents can work around this by reading files as indicated.
Maintenance
Related MCP Connectors
Tasks, sprints, releases and docs for engineering teams with AI coding agents.
Work management with Spec-Driven Development: tasks, sprints and SDD approvals for coding agents.
AI-powered spec-to-task decomposition and execution orchestration for coding agents.
Generate architecture docs, implementation plans, and dev tickets from your project requirements.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceImplements GitHub's Spec-Driven Development methodology, transforming natural language requirements into executable specifications, technical plans, and ordered task lists with contract-based validation and progress tracking.2MIT
- AlicenseBqualityDmaintenanceEnables spec-driven development with task tracking, approval workflows, and real-time progress monitoring through OpenSpec CLI functionality. Includes a web dashboard for visual management of change proposals and specifications.40192 npm32MIT
- AlicenseNot gradedqualityDmaintenanceEnables spec-driven development workflows with AI assistants, providing tools for managing specification lifecycles, task dependencies, code navigation, testing, and automated reviews through a unified CLI and MCP interface.4MIT
- AlicenseAqualityCmaintenanceEnables AI coding tools to follow a structured spec-driven development workflow with three phases: requirements, design, and tasks, ensuring approval before advancing.10MIT