Documentation Update Plan: Research-Driven Architecture
Overviewโ
This plan outlines the documentation updates needed to communicate the new research-driven architecture direction for the MCP ADR Analysis Server.
Priority: HIGH ๐ดโ
The research-driven architecture is a major paradigm shift from traditional RAG approaches and needs comprehensive documentation.
Phase 1: Core Documentation (Week 1)โ
1.1 Main README.md Updatesโ
File: ../../README.md`
Changes Needed:
-
Add Research-Driven Section (after "Features")
## Research-Driven Architecture
Unlike traditional RAG systems, this MCP server answers questions by querying **live environment resources**:
- ๐ **Project Files** (configs, code, ADRs)
- ๐ง **Knowledge Graph** (ADR relationships)
- ๐ง **Environment Resources** (Kubernetes, Docker, OS metrics)
- ๐ **Web Search** (fallback only)
**Why Not RAG?** Your infrastructure changes constantly. Live queries ensure accuracy.
[Learn more โ](./RESEARCH-DRIVEN-ARCHITECTURE.md) -
Update Tool List (add
perform_research
)### New: Research Tools
- `perform_research` - Answer questions using cascading sources
- `generate_research_questions` - Generate context-aware research questions -
Add Red Hat Section
## Red Hat Support
First-class support for Red Hat ecosystem:
- โ OpenShift (`oc` CLI)
- โ Podman (containers & pods)
- โ Ansible (inventories, playbooks)
Auto-detects available tools and provides live data. -
Update Quick Start (add research example)
## Quick Start
### Perform Research
Ask questions about your project using live data:
```json
{
"tool": "perform_research",
"args": {
"question": "What container orchestration are we using?"
}
}The server cascades through project files โ knowledge graph โ environment โ web search.
Priority: ๐ด CRITICAL - Users need to understand the new paradigm
Estimated Time: 2 hours
1.2 Architecture Documentationโ
File: /./ARCHITECTURE.md
(NEW or update existing)
Content Structure:
# Architecture Overview
## Research-Driven Design
### Cascading Source Hierarchy
[Diagram showing the cascade]
### Component Architecture
- ResearchOrchestrator
- EnvironmentCapabilityRegistry
- Knowledge Graph Integration
### Why Not RAG?
- Real-time data vs stale documents
- Lower maintenance overhead
- Perfect for infrastructure decisions
Priority: ๐ก HIGH - Important for technical understanding
Estimated Time: 3 hours
1.3 API Documentation Updatesโ
File: /./API.md
or /./TOOLS.md
Changes Needed:
- Add
perform_research
tool documentation - Update
generate_research_questions
with new capabilities - Add environment capability examples
Example Entry:
## perform_research
Answer research questions using cascading sources.
### Input Schema
```json
{
"question": string, // Required: Research question
"projectPath": string, // Optional: Project path
"confidenceThreshold": number // Optional: 0-1, default 0.6
}
Exampleโ
{
"tool": "perform_research",
"args": {
"question": "What deployment strategy do we use?",
"confidenceThreshold": 0.7
}
}
Responseโ
Returns:
- Sources consulted (project files, knowledge graph, environment)
- Confidence score
- Synthesized answer
- Web search recommendation (if needed)
**Priority**: ๐ก **HIGH**
**Estimated Time**: 2 hours
---
## Phase 2: Integration Guides (Week 2)
### 2.1 Red Hat Integration Guide
**File**: `/./RED-HAT-INTEGRATION.md` (NEW)
**Content**:
```markdown
# Red Hat Integration Guide
## Supported Tools
### OpenShift
- Installation requirements
- Configuration
- Example queries
- Common patterns
### Podman
- Podman vs Docker differences
- Pod management
- Example queries
### Ansible
- Inventory setup
- Playbook discovery
- Integration patterns
## Auto-Detection
How the system detects Red Hat tools...
## Configuration
Environment variables and settings...
## Examples
Real-world usage examples...
## Troubleshooting
Common issues and solutions...
Priority: ๐ข MEDIUM - Important for Red Hat users
Estimated Time: 4 hours
2.2 Environment Setup Guideโ
File: /./ENVIRONMENT-SETUP.md
(NEW)
Content:
# Environment Setup Guide
## Overview
The MCP server auto-detects environment capabilities.
## Supported Environments
### Kubernetes
- kubectl installation
- Context configuration
- Permissions needed
### Docker/Podman
- Installation
- Socket permissions
- Rootless configuration
### Operating System
- Supported platforms
- Required permissions
## Verification
How to verify capabilities are detected...
## Troubleshooting
Common detection issues...
Priority: ๐ข MEDIUM
Estimated Time: 3 hours
Phase 3: Tutorial Content (Week 3)โ
3.1 Research Workflow Tutorialโ
File: /./tutorials/RESEARCH-WORKFLOW.md
(NEW)
Content:
# Research Workflow Tutorial
## Introduction
Learn how to use the research-driven architecture...
## Scenario 1: Discovering Container Setup
Step-by-step guide...
## Scenario 2: Investigating Deployment Strategy
Step-by-step guide...
## Scenario 3: OpenShift Route Analysis
Step-by-step guide...
## Advanced: Custom Research Patterns
How to structure complex research questions...
Priority: ๐ข MEDIUM
Estimated Time: 4 hours
3.2 Migration Guide (RAG to Research-Driven)โ
File: /./MIGRATION-FROM-RAG.md
(NEW)
Content:
# Migrating from RAG to Research-Driven
## Why Migrate?
Benefits of research-driven over RAG...
## Conceptual Differences
| RAG | Research-Driven |
|-----|-----------------|
| ... | ... |
## Migration Steps
1. Remove vector database dependencies
2. Configure environment tools
3. Update queries
4. Test cascading sources
## Examples
Before (RAG): ...
After (Research): ...
Priority: ๐ต LOW - Nice to have
Estimated Time: 2 hours
Phase 4: Video & Visual Content (Week 4)โ
4.1 Architecture Diagramsโ
Files: Various .png
or .svg
in /./diagrams/
Needed Diagrams:
- Cascading source hierarchy (flow diagram)
- Component architecture (system diagram)
- Environment capability detection (sequence diagram)
- Research flow with confidence scores (decision tree)
Tools: Mermaid, draw.io, or Excalidraw
Priority: ๐ข MEDIUM
Estimated Time: 6 hours
4.2 Demo Video/GIFโ
File: demo.gif
or link to video
Content:
- Show research query execution
- Demonstrate environment detection
- Show confidence scoring
- Illustrate web search fallback
Priority: ๐ต LOW - Great for engagement
Estimated Time: 4 hours
Phase 5: Blog Posts & Announcements (Ongoing)โ
5.1 Announcement Blog Postโ
Platform: GitHub Discussions, Medium, Dev.to
Content:
# Introducing Research-Driven Architecture for MCP Servers
Why we moved away from RAG...
How it works...
Benefits for smaller LLMs...
Try it yourself...
Priority: ๐ข MEDIUM
Estimated Time: 3 hours
5.2 Technical Deep Diveโ
Platform: Blog or documentation site
Content:
- Implementation details
- Performance benchmarks
- Comparison with RAG
- Future roadmap
Priority: ๐ต LOW
Estimated Time: 5 hours
Summary: Documentation Deliverablesโ
Critical (Phase 1)โ
- Update README.md with research-driven section
- Add Red Hat support section
- Update tool list
- Create ARCHITECTURE.md
- Update API documentation
High Priority (Phase 2)โ
- Create RED-HAT-INTEGRATION.md
- Create ENVIRONMENT-SETUP.md
- Add troubleshooting guides
Medium Priority (Phase 3)โ
- Create tutorial content
- Add architecture diagrams
- Create example projects
Nice to Have (Phase 4+)โ
- Migration guide from RAG
- Demo videos/GIFs
- Blog posts
- Technical deep dives
Estimated Total Timeโ
- Phase 1 (Critical): 7 hours
- Phase 2 (High): 7 hours
- Phase 3 (Medium): 6 hours
- Phase 4 (Low): 10 hours
- Phase 5 (Ongoing): 8 hours
Total: ~38 hours (1 week full-time)
Success Metricsโ
Documentation Qualityโ
- All new tools documented
- Examples for each capability
- Troubleshooting sections complete
- Architecture clearly explained
User Understandingโ
- Users understand RAG vs Research-Driven
- Red Hat users can set up easily
- Clear migration path provided
- Confidence scoring explained
Community Engagementโ
- GitHub stars increase
- Issues/questions about features decrease
- Positive feedback on new direction
- External blog posts/mentions
Maintenance Planโ
Regular Updates (Monthly)โ
- Update capability list as new tools are added
- Add community-contributed examples
- Refresh troubleshooting with new issues
- Update performance benchmarks
Version Updates (Per Release)โ
- Update API schemas
- Add new tool documentation
- Update compatibility matrix
- Refresh examples
Review & Approval Processโ
- Draft โ Technical review by maintainers
- Review โ User testing & feedback
- Revise โ Incorporate feedback
- Publish โ Deploy to documentation site
- Announce โ Share in community channels
Questions to Address in Documentationโ
Users will likely ask:
- "Why not use RAG?" โ Answer in README and ARCHITECTURE.md
- "How do I install Red Hat tools?" โ RED-HAT-INTEGRATION.md
- "What if tools aren't detected?" โ ENVIRONMENT-SETUP.md + troubleshooting
- "Can I use this without environment tools?" โ Yes, project files + knowledge graph
- "How accurate is this vs RAG?" โ Benchmarks in blog post
- "What happens when confidence is low?" โ API docs + examples
- "Does this work with small LLMs?" โ Benefits section in README
Next Steps (Immediate)โ
- โ Create this plan document
- ๐ด Update README.md (highest priority)
- ๐ด Create ARCHITECTURE.md
- ๐ก Update API documentation
- ๐ก Create RED-HAT-INTEGRATION.md
Owner: Documentation team / maintainers Timeline: Start immediately, complete Phase 1 in 1 week