Repository Structure
This document describes the organization of themcp-server-langgraph repository and the purpose of each directory.
Directory Layout
Key Principles
1. Clean Separation of Concerns
docs/- Only Mintlify documentation (.mdxfiles for user-facing docs)reports/- Project reports and metrics (not user docs)adr/- Source ADR markdown files (converted to.mdxindocs/architecture/)runbooks/- Internal operational proceduressrc/- Production code onlytests/- All test code
2. Mintlify Integration
Thedocs/ directory is exclusively for Mintlify documentation:
- β
Getting started guides (
getting-started/) - β
API reference (
api-reference/) - β
How-to guides (
guides/) - β
Deployment guides (
deployment/) - β
Architecture docs (
architecture/) - β
Advanced topics (
advanced/) - β
Development guides (
development/) - β
Security docs (
security/)
- β Reports (moved to
reports/) - β ADR source files (moved to
adr/) - β Runbooks (moved to
runbooks/) - β Templates (moved to
template/) - β Reference materials (moved to
reference/) - β Standalone markdown files (moved to root)
3. Documentation Types
User-Facing Documentation (docs/)
- Format:
.mdx(Mintlify) - Audience: End users, API consumers, operators
- Examples: Quickstart, API reference, deployment guides
Project Documentation (Root)
- Format:
.md(standard markdown) - Audience: Contributors, maintainers
- Examples: COMPLIANCE.md, CONTRIBUTING.md, CHANGELOG.md
Internal Documentation
- Reports (
reports/) - Test coverage, CI/CD analysis - ADRs (
adr/) - Architecture decision records (source) - Runbooks (
runbooks/) - Operational procedures
4. Versioning Strategy
- Mintlify docs (
docs/) - Updated per release, published to docs site - Changelog (
CHANGELOG.md) - Version history - ADRs (
adr/) - Immutable after approval - Reports (
reports/) - Timestamped, archived after 90 days
Working with Documentation
Adding User Documentation
- Create
.mdxfile in appropriatedocs/subdirectory - Add reference to
docs/docs.jsonnavigation - Run
mintlify devto preview - Commit and push
Adding Project Reports
- Create markdown file in
reports/ - Use naming convention:
REPORT_NAME_YYYYMMDD.md - After 90 days, move to
reports/archive/
Adding Architecture Decisions
- Create ADR in
adr/using template - Convert to
.mdxfordocs/architecture/ - Add to
docs/docs.jsonnavigation - ADR source in
adr/remains immutable
Maintenance
Quarterly Cleanup
- Archive old reports to
reports/archive/ - Review and update
docs/content - Update CHANGELOG.md
- Regenerate API documentation
Pre-Release Checklist
- Update version in
pyproject.toml - Update
CHANGELOG.md - Regenerate API docs
- Deploy Mintlify docs (
mintlify deploy) - Tag release in git
Related Documentation
Last Updated: 2025-10-14 Maintainer: Repository Maintainers