Interactive ADR Planning Guide
Overviewโ
This guide explains how to use the MCP ADR Analysis Server for interactive architectural decision record (ADR) planning. The server provides AI-driven assistance for creating, analyzing, and managing ADRs throughout your project lifecycle.
Prerequisitesโ
- MCP ADR Analysis Server installed and configured
- Access to your project repository
- Basic understanding of ADR concepts
Getting Startedโ
1. Initialize ADR Planningโ
Start by analyzing your project to understand the current architectural state:
# Analyze project ecosystem
mcp-adr analyze_project_ecosystem --project-path /path/to/project
# Generate initial ADR suggestions
mcp-adr suggest_adrs --project-path /path/to/project
2. Interactive ADR Creationโ
Use the interactive planning tools to create ADRs:
# Generate ADRs from Product Requirements Document
mcp-adr generate_adrs_from_prd --prd-path requirements.md --output-dir ./adrs
# Create ADR TODO with task breakdown
mcp-adr generate_adr_todo --adr-dir ./adrs --output-file TODO.md
3. Research-Driven Planningโ
Leverage the research capabilities for informed decision-making:
# Research architectural patterns
mcp-adr perform_research --question "What are the best practices for microservices architecture?"
# Analyze code patterns
mcp-adr analyze_code_patterns --project-path /path/to/project
Planning Workflowโ
Phase 1: Discoveryโ
- Project Analysis: Understand current architecture
- Requirement Gathering: Identify architectural needs
- Research: Investigate best practices and patterns
Phase 2: Decision Makingโ
- ADR Creation: Document architectural decisions
- Impact Analysis: Assess decision implications
- Validation: Ensure decisions align with project goals
Phase 3: Implementationโ
- TODO Generation: Create actionable tasks
- Progress Tracking: Monitor implementation status
- Validation: Verify decisions are implemented correctly
Best Practicesโ
ADR Structureโ
- Use clear, descriptive titles
- Include context and decision rationale
- Document consequences and trade-offs
- Maintain decision status
Interactive Planningโ
- Use research tools for informed decisions
- Validate decisions against project constraints
- Track progress with TODO management
- Regular review and updates
Collaborationโ
- Share ADRs with team members
- Use version control for ADR changes
- Document discussions and feedback
- Maintain decision history
Advanced Featuresโ
Research Integrationโ
- Leverage knowledge graph for context
- Use environment analysis for constraints
- Apply web search for external insights
- Cache results for performance
Validation and Complianceโ
- Check architectural rule compliance
- Validate against project standards
- Ensure security requirements
- Monitor implementation progress
Troubleshootingโ
Common Issuesโ
- Missing ADR Directory: Ensure
./adrsexists - Permission Errors: Check file system permissions
- Configuration Issues: Verify MCP server configuration
Getting Helpโ
- Check the troubleshooting guide
- Review API reference
- Consult developer guidance