Welcome to the comprehensive documentation for the Konflux DevLake MCP Server.
- Architecture Documentation - Complete system architecture, components, and design patterns
- Main README - Quick start guide and usage instructions
All diagrams are in Mermaid format and can be viewed in any Mermaid-compatible viewer (GitHub, GitLab, VS Code extensions, etc.)
-
- Complete system overview
- Component relationships
- Data flow between layers
-
- Natural language to SQL transformation process
- User query to result flow
- Query generation steps
-
- Detailed request/response sequence
- Component interactions
- Error handling flow
-
- OIDC authentication layer (access token and offline token modes)
- Token type detection and exchange flow
- Security layers and checks
- SQL injection prevention
- Data masking pipeline
-
- Kubernetes deployment structure
- Network configuration
- External service integration
-
- Tool system organization
- Module relationships
- Available tools
- Retest Analysis Prompt - Prompt template for analyzing PR retest patterns
- PR Retest Analysis Tool: Comprehensive tool for analyzing pull requests that required manual retest commands, with project/repository filtering, pattern analysis, and actionable recommendations
- Mermaid diagrams are automatically rendered in README files
- Just commit these
.mmdfiles and view on GitHub
- Install "Markdown Preview Mermaid Support" extension
- Open any
.mmdfile or documentation
- Visit Mermaid Live Editor
- Copy/paste the diagram content
- View and export as image
# Install mermaid-cli
npm install -g @mermaid-js/mermaid-cli
# Generate PNG images
mmdc -i docs/architecture-diagram.mmd -o docs/images/architecture-diagram.png
mmdc -i docs/natural-language-flow.mmd -o docs/images/natural-language-flow.png
mmdc -i docs/data-flow-diagram.mmd -o docs/images/data-flow-diagram.png- Purpose: Overall system design
- Audience: Architects, Developers
- File:
architecture-diagram.mmd
- Purpose: Query transformation flow
- Audience: End users, AI developers
- File:
natural-language-flow.mmd
- Purpose: Detailed component interactions
- Audience: Developers, DevOps
- File:
data-flow-diagram.mmd
- Purpose: OIDC authentication (access token and offline token modes) and security validation layers
- Audience: Security team, Developers
- File:
security-architecture.mmd
- Purpose: Kubernetes deployment structure
- Audience: DevOps, SRE
- File:
deployment-architecture.mmd
- Purpose: Tool module organization
- Audience: Developers
- File:
tools-architecture.mmd
- New to the project? Start with the Main README
- Want to understand the architecture? Read ARCHITECTURE.md
- Need visual reference? View the diagrams above
- Want to extend functionality? See "Extension Points" in ARCHITECTURE.md
- Deploying to production? Check the deployment diagrams
When adding new documentation:
- Architecture changes: Update diagrams in
docs/ - New features: Add diagram to visualize
- API changes: Update architecture docs
- Security updates: Update security diagrams
All diagrams use Mermaid syntax, which provides:
- Text-based diagram definitions (version control friendly)
- Automatic rendering on GitHub/GitLab
- Multiple export formats (PNG, SVG, PDF)
- Interactive diagrams in web viewers
Last Updated: January 2026 Maintained By: Konflux DevLake MCP Team