๐ฆ
phases-server
Phases โ A spec-driven, context-engineered development methodology MCP server
1 installs
Trust: 39 โ Low
Ai
Installation
npx phases-mcp-serverAsk AI about phases-server
Powered by Claude ยท Grounded in docs
I know everything about phases-server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
๐ Phases MCP
A spec-driven, context-engineered development methodology as an MCP server.
Stop vibecoding. Start shipping phase by phase.
Phases turns your AI coding assistant into a structured development partner. Clarify intent, define specs, plan in phases, execute with atomic commits, and verify with real automated tests.
โก Quick Setup
Install & Build
git clone https://github.com/tankuday21/phases-mcp.git
cd phases-mcp
npm install
npm run build
Add to Your MCP Client
Add this to your MCP configuration:
{
"mcpServers": {
"phases": {
"command": "node",
"args": ["/path/to/phases-mcp/dist/index.js"],
"transportType": "stdio"
}
}
}
Restart your IDE/client and all 19 phases_* tools will be available.
๐ฎ Available Tools (19)
๐ด Clarify First
| Tool | Purpose |
|---|---|
phases_clarify | Ask smart questions to understand user intent before starting |
๐ต Core Workflow
| Tool | Purpose |
|---|---|
phases_init | Initialize project with SPEC + ROADMAP |
phases_refine | Split large phases into smaller sub-phases |
phases_plan | Create XML-structured execution plans |
phases_execute | Record task completion + atomic git commit |
phases_verify | Auto-run test commands with real evidence |
phases_debug | Systematic debugging with 3-strike rule |
phases_rollback | Revert a phase that went wrong |
phases_map | Analyze codebase โ ARCHITECTURE.md |
๐ข Navigation & State
| Tool | Purpose |
|---|---|
phases_progress | Show current position in roadmap |
phases_pause | Save session state for handoff |
phases_resume | Restore context from last session |
๐ Phase Management
| Tool | Purpose |
|---|---|
phases_add_phase | Add a phase to the roadmap |
phases_remove_phase | Remove a phase (with safety checks) |
phases_discuss_phase | Clarify scope before planning |
phases_milestone | Create a new milestone with phases |
๐ฃ Utilities
| Tool | Purpose |
|---|---|
phases_add_todo | Quick capture an idea or task |
phases_check_todos | List all pending TODO items |
phases_help | Show all tools and workflow |
๐ Enhanced Workflow
phases_clarify โ phases_init โ phases_refine โ phases_plan โ phases_execute โ phases_verify โ (phases_rollback if needed)
phases_clarifyโ Ask smart questions to understand what the user really wantsphases_initโ Define your project vision, goals, and development phasesphases_refineโ Split any large phases into smaller, manageable sub-phasesphases_planโ Create XML-structured plans with tasks, verification commands, and acceptance criteriaphases_executeโ Complete tasks one-by-one, each with an atomic git commitphases_verifyโ Auto-run test commands and capture real evidence (exit code 0 = PASS)phases_rollbackโ If something goes wrong, revert the phase and try again
๐ Project Structure Created
.gsd/
โโโ SPEC.md โ Finalized project specification
โโโ ROADMAP.md โ Phases and progress tracking
โโโ STATE.md โ Session memory and current position
โโโ ARCHITECTURE.md โ System design (from phases_map)
โโโ DECISIONS.md โ Architecture Decision Records
โโโ JOURNAL.md โ Session log
โโโ TODO.md โ Quick capture
โโโ phases/
โโโ 1/
โ โโโ 1-PLAN.md
โ โโโ 1-SUMMARY.md
โ โโโ VERIFICATION.md
โ โโโ TEST-RESULTS.md โ Auto-generated test output
โโโ 2/
โโโ ...
๐ง Philosophy
- Clarify before code โ Ask questions first, don't assume
- Spec before code โ SPEC.md matters more than you think
- Small phases โ Break work into the smallest achievable phases
- Phase-driven development โ Break work into achievable phases
- Fresh context > polluted context โ State dumps prevent hallucinations
- Proof over trust โ Auto-run real tests, don't self-report
- Aggressive atomicity โ 2-3 tasks per plan, atomic commits
- 3-strike debugging โ After 3 failures, dump context and start fresh
- Safe rollbacks โ If a phase goes wrong, revert and try again
๐ Tech Stack
- TypeScript โ Type-safe implementation
- MCP SDK โ
@modelcontextprotocol/sdkfor server framework - Zod โ Schema validation for all tool inputs
- stdio transport โ Local process communication
License
MIT
