trackmcp
Back to directory

SDD MCP

0 stars TypeScriptOthers Updated Jun 23, 2025

Documentation

SDD MCP Server - โœ… FOUNDATION COMPLETE & VALIDATED

Status: ๐Ÿš€ FOUNDATION READY - Core toolchain validated, ready for real-world projects!

NEW: ๐Ÿ“Š Proven SDD Pipeline - 55ms execution, 100% compliance, ready to scale!

BREAKTHROUGH: ๐Ÿง  SDD Methodology Validated - Ready for enterprise adoption!

A Model Context Protocol (MCP) server that provides AI assistants with Seam-Driven Development (SDD) tools for structured software development. The foundation is complete - now it's time to build amazing projects with these proven tools!

๐Ÿš€ Quick Start

1. Build & Test

bash
npm run build
node test-mcp-tools.js  # Validate tools work correctly
node test-tool-registry-integration.js  # Test new registry system

2. Configure Claude Desktop

Copy `claude-desktop-config.json` contents to your Claude Desktop MCP settings.

3. Use with Claude

Ask Claude: _"Can you help me analyze requirements using SDD methodology?"_

โœ… FOUNDATION COMPLETE - Ready for Real Projects!

The SDD toolchain foundation is complete and validated. This isn't the end - it's the beginning! Now developers can use these proven tools to build actual projects with confidence.

๐Ÿ—๏ธ What's Ready:

  • โœ… 5 Complete Agents: Requirements analysis, stub generation, compliance validation, orchestration, visualization
  • โœ… 22 Working Methods: All core SDD functionality implemented and tested
  • โœ… End-to-End Pipeline: PRD โ†’ Components โ†’ Seams โ†’ Contracts โ†’ Stubs โ†’ Validation (55ms)
  • โœ… 100% SDD Compliance: Generated code follows proven patterns
  • โœ… Zero Compilation Errors: Clean TypeScript build throughout
  • โœ… Comprehensive Validation: End-to-end tested with realistic enterprise scenarios

๐Ÿš€ What's Next:

  • Build actual projects using these tools
  • Validate SDD methodology on real-world applications
  • Scale to enterprise development teams
  • Prove SDD effectiveness across different domains

๐Ÿ“Š Foundation Metrics:

  • Pipeline Performance: 55ms execution time (enterprise PRD โ†’ production code)
  • Code Quality: 100% SDD compliance score
  • Scale Tested: 4,101-character enterprise PRD successfully processed
  • Generated Output: 113 lines of production-ready SDD-compliant code
  • Architecture: Type-safe seam communication throughout

๐Ÿค– Multi-AI Collaboration

NEW: This project demonstrates advanced AI collaboration using complementary strengths:

  • GitHub Copilot: Strategic planning, architecture design, integration oversight
  • Google Gemini: Implementation details, coding, template development
  • Coordination Framework: `ai-collaboration/` folder with handoff protocols
  • Status Tracking: Real-time collaboration logs and decision tracking

See `ai-collaboration/README.md` for complete collaboration protocols.

๐Ÿง  BREAKTHROUGH: Enhanced AI Turnover Protocol

๐Ÿš€ INNOVATION: Solves the "AI session discontinuity problem" - enables seamless cognitive transfer between chat sessions for complex projects.

Revolutionary Features:

  • ๐Ÿ”ฎ Cognitive DNA Transfer: Mental models, intuitive insights, invisible decisions
  • ๐ŸŽญ Personality Continuation: Maintains collaboration style across sessions
  • โšก Energy Mapping: Tracks momentum vs friction in codebase
  • ๐Ÿ“Š Code Health Dashboard: Visual technical metrics
  • ๐Ÿค– Multi-AI Coordination: Explicit handoff protocols

Usage:

bash
# Use enhanced turnover templates in ai-collaboration/
ENHANCED_TURNOVER_TEMPLATE.md    # Revolutionary template design
FILLED_TURNOVER_PROMPT.md        # Complete project context
COPY_PASTE_NEW_SESSION.md        # Ready-to-use session starters

Result: New AI sessions feel like natural continuations rather than starting from scratch!

๐Ÿ”ง Modular Tool Registry

NEW: Scalable tool management system:

  • Version-Aware: Multiple tool versions with automatic selection
  • A/B Testing: Built-in support for feature flags and testing
  • Type-Safe: Full TypeScript support with ContractResult
  • Legacy Support: Seamless integration with existing tools
  • Hot Registration: Dynamic tool loading and unloading

Overview

The SDD MCP Server automates the proven Seam-Driven Development workflow:

1. Requirements Analysis โ†’ Identify component seams

2. Contract Generation โ†’ Define interfaces using ContractResult patterns

3. Stub Creation โ†’ Generate implementation templates with blueprint comments

4. Integration Testing โ†’ Validate seam connections

5. Implementation โ†’ Build components with clear contracts

This prevents the "70% wall" problem in AI-assisted development by defining component connections (contracts) before building implementations.

Features

Core SDD Functions

  • `sdd_analyze_requirements` - Analyze PRD text and identify all component seams
  • `sdd_generate_contract` - Generate contracts with proven SDD patterns
  • `sdd_create_stub` - Create implementation stubs with blueprint comments
  • `sdd_orchestrate_full_workflow` - Complete automation from PRD to ready-for-implementation

SDD Patterns

  • ContractResult for type-safe data flow
  • Blueprint comments for implementation guidance
  • AgentId tracking for component identification
  • Health check methods for system validation
  • NotImplementedError patterns for stub creation

Installation

bash
npm install
npm run build

Usage

As MCP Server

1. Configure in Claude Desktop's MCP settings:

json
{
  "mcpServers": {
    "sdd-server": {
      "command": "node",
      "args": ["path/to/sdd-mcp-server/dist/index.js"]
    }
  }
}

2. Use SDD functions in AI conversations:

    Direct Usage

    bash
    # Test the server
    npm start
    
    # Development mode
    npm run dev

    Example Workflow

    typescript
    // 1. Analyze requirements
    const seams = await sdd_analyze_requirements({
      prdText: "Build a task management system...",
    });
    
    // 2. Generate contracts
    const contract = await sdd_generate_contract({
      seam: {
        name: "UserAgent_TaskStore",
        participants: ["UserAgent", "TaskStore"],
        dataFlow: "BOTH",
        purpose: "User task CRUD operations",
      },
    });
    
    // 3. Create implementation stubs
    const stub = await sdd_create_stub({
      contractCode: contract.contractCode,
      componentName: "TaskStore",
    });
    
    // 4. Full workflow automation
    const project = await sdd_orchestrate_full_workflow({
      prdText: "Build a task management system...",
      projectName: "TaskManager",
    });

    Project Structure

    code
    sdd-mcp-server/
    โ”œโ”€โ”€ src/
    โ”‚   โ””โ”€โ”€ index.ts           # Main MCP server implementation
    โ”œโ”€โ”€ dist/                  # Compiled JavaScript output
    โ”œโ”€โ”€ docs/
    โ”‚   โ”œโ”€โ”€ sdd-mcp-roadmap.md # Development roadmap
    โ”‚   โ””โ”€โ”€ implementation-checklist.md # Implementation checklist
    โ”œโ”€โ”€ package.json
    โ”œโ”€โ”€ tsconfig.json
    โ””โ”€โ”€ README.md

    Development

    bash
    # Install dependencies
    npm install
    
    # Build TypeScript
    npm run build
    
    # Run in development mode
    npm run dev
    
    # Test server functionality
    echo '{"jsonrpc": "2.0", "id": "1", "method": "tools/list"}' | node dist/index.js

    SDD Methodology

    Seam-Driven Development is a proven methodology for AI-assisted software development that:

    1. Identifies Seams First - Find component boundaries before implementation

    2. Defines Contracts - Create clear interfaces using type-safe patterns

    3. Generates Stubs - Build implementation templates with guidance

    4. Validates Integration - Test component connections early

    5. Implements Components - Build with clear contracts and expectations

    This approach prevents the common "70% wall" where AI-generated code becomes unwieldy and hard to integrate.

    Contributing

    1. Fork the repository

    2. Create a feature branch

    3. Make changes following SDD patterns

    4. Test with the MCP server

    5. Submit a pull request

    License

    MIT License - see LICENSE file for details.

    Frequently asked questions

    What is SDD-MCP?

    SDD-MCP is SDD MCP

    How do I install SDD-MCP?

    Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

    Is SDD-MCP open source?

    Yes โ€” it is hosted on GitHub at https://github.com/Phazzie/SDD-MCP.

    Related MCP tools

    Run your own MCP server? See who uses it and what to fix.

    Measure it with TrackMCP