A comprehensive guide to using Spec Workflow MCP for AI-assisted software development.
Spec Workflow MCP is a Model Context Protocol server that provides structured, spec-driven development tools to AI assistants. It helps you:
- Create detailed specifications before coding
- Track implementation progress
- Manage approvals and revisions
- Maintain project documentation
- Create a spec - Define what you want to build
- Review and approve - Ensure specifications meet requirements
- Implement tasks - Execute the implementation plan
- Track progress - Monitor completion status
Ask your AI assistant to create a spec:
"Create a spec for user authentication"
The AI will automatically:
- Create a requirements document
- Design the technical approach
- Break down implementation into tasks
Provide more context for better specifications:
"Create a spec called payment-gateway with the following features:
- Credit card processing
- PayPal integration
- Subscription management
- Webhook handling for payment events"
Use your existing PRD or design documents:
"Build a spec from @product-requirements.md"
"List all my specs"
Returns:
- Spec names
- Current status
- Progress percentage
- Document states
"Show me the status of the user-auth spec"
Provides:
- Requirements approval status
- Design approval status
- Task completion progress
- Detailed task breakdown
Use the dashboard or VSCode extension to:
- Read requirements documents
- Review design documents
- Browse task lists
- Track implementation progress
Tasks are organized hierarchically:
- 1.0 - Major sections
- 1.1 - Subtasks
- 1.2 - Subtasks
- 1.2.1 - Detailed steps
"Implement task 1.2 from the user-auth spec"
- Open the dashboard
- Navigate to your spec
- Click "Tasks" tab
- Click "Copy Prompt" button next to any task
- Paste into your AI conversation
"Implement all database setup tasks from user-auth spec"
Tasks have three states:
- ⏳ Pending - Not started
- 🔄 In Progress - Currently being worked on
- ✅ Completed - Finished
When documents are ready for review:
- The AI automatically requests approval
- Dashboard shows notification
- Review the document
- Provide feedback or approve
- Approve - Accept the document as-is
- Request Changes - Provide feedback for revision
- Reject - Start over with new requirements
- Provide specific feedback
- AI revises the document
- Review updated version
- Approve or request further changes
"Create a bug report for login failure when using SSO"
Creates:
- Bug description
- Steps to reproduce
- Expected vs actual behavior
- Priority and severity
"Create a fix for bug #123 in user-auth spec"
Generates:
- Root cause analysis
- Fix implementation plan
- Testing requirements
- Deployment steps
Spec Workflow includes templates for:
- Requirements documents
- Design documents
- Task lists
- Bug reports
- Steering documents
Create your own templates in .spec-workflow/templates/:
# Custom Feature Template
## Overview
[Feature description]
## User Stories
[User stories]
## Technical Requirements
[Technical details]Create high-level project guidance:
"Create steering documents for my e-commerce project"
Generates:
- Product steering - Vision and goals
- Technical steering - Architecture decisions
- Structure steering - Project organization
Manage completed specs:
- Move finished specs to archive
- Keep active workspace clean
- Access archived specs anytime
- Restore specs when needed
Change interface language:
- Dashboard: Settings → Language
- VSCode Extension: Extension Settings → Language
- Config file:
lang = "ja"(or other language code)
Before creating specs:
"Create steering documents to guide the project"
Good:
"Create a spec for user authentication with:
- Email/password login
- OAuth2 (Google, GitHub)
- 2FA support
- Password reset flow"
Not ideal:
"Create a login spec"
Always review and approve:
- Requirements document
- Design document
- Task breakdown
- Complete tasks in order
- Test after each major section
- Update task status regularly
The dashboard provides:
- Visual progress tracking
- Easy document navigation
- Quick approval actions
- Real-time updates
- Create spec:
"Create spec for shopping-cart feature" - Review requirements in dashboard
- Approve or request changes
- Review design document
- Approve design
- Implement tasks sequentially
- Track progress in dashboard
- Report bug:
"Create bug report for checkout error" - Analyze:
"Analyze root cause of bug #45" - Plan fix:
"Create fix plan for bug #45" - Implement:
"Implement the fix" - Verify:
"Create test plan for bug #45 fix"
- Create spec:
"Create spec for database optimization" - Document current state
- Design improvements
- Plan migration steps
- Implement incrementally
- Verify each step
- Use task grouping for related items
- Copy prompts from dashboard for accuracy
- Mark tasks complete immediately after finishing
- Keep requirements concise but complete
- Include acceptance criteria
- Add technical constraints in design
- Reference external documents when needed
- Use approval comments for feedback
- Share dashboard URL with team
- Export documents for external review
- Track changes through revision history
The AI assistant automatically:
- Knows your project structure
- Understands spec relationships
- Tracks implementation progress
- Maintains consistency
Speak naturally:
- "What specs do I have?"
- "Show me what's left to do"
- "Start working on the next task"
- "Update the design for better performance"
The AI maintains context between sessions:
- Resume where you left off
- Reference previous decisions
- Build on existing work
- Maintain project coherence
- Workflow Process - Detailed workflow guide
- Prompting Guide - Example prompts
- Interfaces Guide - Dashboard and extension details
- Tools Reference - Complete tool documentation