FORGE MCP Server
# FORGE MCP Server
> π§ **MAINTENANCE MODE.** The canonical FORGE implementation is now
> [forge-skill](https://github.com/scottfeltham/forge-skill) (Claude Code
> skill) paired with forge-kit (phase-guard hook). This server shares the
> same `.forge/` state format and remains available for MCP-only clients
> (Cursor, VS Code, etc.), but new capabilities land in the skill first.
**Pure MCP (Model Context Protocol) implementation of the FORGE development framework**
FORGE MCP Server is an AI-native development framework designed for AI-powered development tools. It provides structured workflow management through the MCP standard, implementing Intent-Driven Development (IDD).
## Features
- **AI-Native Design**: Built for AI coding assistants (Claude Code, Cursor, VS Code)
- **5-Phase Workflow**: Focus β Orchestrate β Refine β Generate β Evaluate
- **TDD Enforcement**: Tests before implementation, 80% minimum coverage
- **Learning System**: Persistent project knowledge base
- **Specialist Agents**: Expert guidance for each development aspect
## Quick Start
### Local Installation
```bash
cd forge-mcp
npm install
npm start
```
### Claude Code Configuration
Add to `~/.claude/settings.json`:
```json
{
"mcpServers": {
"forge": {
"command": "node",
"args": ["/path/to/forge-mcp/server.js"]
}
}
}
```
### Usage
Just talk to Claude:
- "Initialize FORGE in this project"
- "Start a new cycle for user authentication"
- "What's my cycle status?"
- "Advance to the next phase"
## Development Cycles
FORGE implements Intent-Driven Development through 5 phases:
| Phase | Purpose | Key Output |
|-------|---------|------------|
| **Focus** π― | Clarity: What & Why | Problem statement, success criteria, C4 L1 |
| **Orchestrate** π | Planning: Break It Down | C4 L2-L3, dependency map, session-sized tasks |
| **Refine** βοΈ | Precision: Define "Done" | Acceptance criteria, interfaces, edge cases |
| **Generate** β‘ | Creation: TDD Code | RED β GREEN β REFACTOR |
| **Evaluate** β
| Verification | Criteria check, security review, disposition |
**Key Rule**: No code in Refine phase - specifications only.
## MCP Tools
| Tool | Purpose |
|------|---------|
| `forge_init` | Initialize FORGE in project |
| `forge_new_cycle` | Create development cycle |
| `forge_list_cycles` | List all cycles |
| `forge_status` | Check cycle progress |
| `forge_validate` | Validate phase requirements |
| `forge_advance_phase` | Move to next phase |
| `forge_complete_task` | Mark task complete |
| `forge_add_task` | Add new task |
| `forge_complete_cycle` | Complete and archive cycle |
| `forge_add_learning` | Capture learning |
| `forge_retro` | Run retrospective |
| `forge_invoke_agent` | Invoke specialist agent |
## MCP Resources
| URI | Content |
|-----|---------|
| `forge://config` | Project configuration |
| `forge://context` | AI assistant context |
| `forge://learnings` | Knowledge base |
| `forge://cycles/{id}` | Cycle content |
| `forge://cookbook/{phase}` | Phase guides |
| `forge://agents/{name}` | Agent definitions |
## Specialist Agents
| Agent | Expertise |
|-------|-----------|
| `architect` | System design, C4 diagrams, technology selection |
| `developer` | TDD implementation, code patterns |
| `tester` | Test strategy, edge cases, quality |
| `security` | Threat modeling, OWASP, compliance |
| `devops` | CI/CD, infrastructure, deployment |
| `documentation` | Technical writing, API docs |
| `reviewer` | Code review, best practices |
## Project Structure
```
forge-mcp/
βββ server.js # Entry point
βββ lib/
β βββ core/
β β βββ mcp-server.js # MCP protocol handler
β β βββ state-manager.js # File-based state
β βββ tools/index.js # MCP tool implementations
β βββ resources/index.js # MCP resource handlers
β βββ transport/stdio.js # Stdio transport
βββ cookbook/phases/ # Phase guides
βββ prompts/ # PRD and retrospective guides
βββ templates/ # Cycle and agent templates
```
## Development
```bash
npm test # Run tests
npm run dev # Debug mode
npm run lint # Check code style
```
## License
MIT License - see [LICENSE](LICENSE) file.
---
*FORGE - Intent-Driven Development for the AI era*
TDQS
Scored across 14 tools
Most tools target distinct lifecycle actions (new_cycle, advance_phase, add_task, complete_cycle), but forge_init and forge_init_project have byte-identical descriptions, making them indistinguishable duplicates. There is also some soft overlap between forge_status and forge_get_cycle/forge_list_cycles that descriptions only partially disambiguate.
All 14 tools share a consistent forge_ prefix and snake_case verb_noun pattern (add_learning, new_cycle, complete_task). A few deviate to noun-only forms (forge_status, forge_retro), which is a minor inconsistency rather than a problem.
14 tools is squarely in the well-scoped range and each maps to a plausible step in a cycle-based development workflow. Apart from the redundant init duplicate, no tool feels gratuitous.
The cycle lifecycle is well covered: init, create, list, get, status, validate, advance, task add/complete, complete/archive, retro, plus learning capture and agent invocation. Minor gaps existβno way to list/read learnings or remove/edit tasks or cycles once created.