Generates changelogs from git history with semantic versioning support and conventional commit formatting.
Mentioned as a potential integration target for documentation platform support in the roadmap.
Supports integration for GitHub through configurable integration settings in documentation generation.
Provides examples for automating documentation generation on push events through GitHub Actions workflows.
Generates Mintlify-style documentation with MDX files, frontmatter, navigation configuration, and support for Mintlify components and themes.
Supports integration for Slack through configurable integration settings in documentation generation.
Autonomous Documentation MCP
Autonomous documentation generation tool powered by Model Context Protocol (MCP) with Mintlify-style presentation for codebases. Automatically analyze, generate, and maintain beautiful documentation that stays in sync with your code.
Overview
Autonomous Documentation MCP is an intelligent documentation system that understands your codebase and generates professional-grade documentation automatically. Built on the Model Context Protocol, it provides AI agents with powerful tools to analyze code structure, extract APIs, and create comprehensive documentation with zero manual configuration.
Why Autonomous Docs MCP?
Zero Configuration: Works out of the box with intelligent defaults
AI-Native: Built specifically for AI agent consumption via MCP
Mintlify-Style: Generates beautiful, modern documentation
Multi-Language: Supports TypeScript, JavaScript, Python, Go, Rust, Java, and more
Continuous Sync: Keeps docs updated as code evolves
Quality Validation: Built-in checks for links, examples, and completeness
Features
Core Capabilities
Autonomous Codebase Analysis: Automatically scan and understand your entire codebase structure
Mintlify-Style Generation: Generate beautiful, modern documentation with MDX and Mintlify components
API Reference Auto-Generation: Extract API definitions from code annotations, JSDoc, and docstrings
Smart Navigation: Automatically organize docs with intelligent navigation structure
Documentation Validation: Ensure quality with built-in validation for links, examples, and frontmatter
Sync with Source: Keep docs updated as code changes with automatic change detection
Multi-Language Support: First-class support for TypeScript, JavaScript, Python, Go, Rust, Java
Changelog Generation: Automatically generate changelogs from git history with semantic versioning
Code Example Extraction: Extract and organize code examples from tests, demos, and source files
MCP Tools
The server exposes 8 powerful tools via Model Context Protocol:
analyze_codebase - Autonomously analyze entire codebase structure
generate_documentation - Generate complete Mintlify-style documentation
generate_api_reference - Generate API reference from code annotations
create_docs_config - Generate docs.json configuration
validate_documentation - Validate MDX files, links, and code examples
sync_documentation - Sync docs with codebase changes
generate_changelog - Generate changelog from git history
extract_code_examples - Extract code examples from source
Installation
Prerequisites
Node.js 18+
npm or yarn
Git (for changelog generation)
Quick Install
Development Setup
Configuration
MCP Server Configuration
Add to your .claude.json or MCP client configuration:
Project Configuration (Optional)
Create a .autodocs.json in your project root for custom settings:
Usage
Quick Start
API Reference
analyze_codebase
Analyze entire codebase structure and identify documentation needs.
Returns: JSON analysis result with:
Project structure
Identified components and APIs
Documentation recommendations
File classifications
generate_documentation
Generate complete Mintlify-style documentation with MDX files, frontmatter, and navigation.
Returns: Generation report with:
Files created
Navigation structure
Theme configuration
Validation summary
generate_api_reference
Generate API reference documentation from code annotations.
create_docs_config
Generate docs.json configuration with navigation and theme settings.
validate_documentation
Validate MDX files, frontmatter, internal links, and code examples.
Returns: Validation report with:
Errors and warnings
Broken links
Invalid code examples
Missing frontmatter
sync_documentation
Sync documentation with codebase changes and detect outdated content.
Returns: Sync report with:
Outdated files
New APIs detected
Removed components
Update suggestions
generate_changelog
Generate changelog from git history with semantic versioning.
extract_code_examples
Extract and organize code examples from tests, demos, and source files.
Documentation Structure
Generated documentation follows Mintlify best practices:
Frontmatter Requirements
All generated MDX files include proper frontmatter for Mintlify:
Mintlify Components
Generated docs support and utilize Mintlify's component library:
Examples
Check out the examples/ directory for:
API Plugin Integration - Integrate with API documentation tools
Continuous Sync - Keep docs in sync with CI/CD
Custom Themes - Create custom documentation themes
GitHub Actions - Automate doc generation on push
Mintlify Deploy - Deploy to Mintlify hosting
Multi-Repo - Aggregate docs from multiple repositories
Pre-commit Hooks - Validate docs before commits
See examples/INTEGRATION_EXAMPLES.md for detailed integration guides.
Best Practices
Run Analysis Regularly: Keep docs in sync with code changes
# Add to CI/CD pipeline npm run analyze && npm run generateValidate Before Deploying: Use validation tool to catch issues
npm run validate-docsCustomize Themes: Match your brand with theme configuration
{ "theme": "modern", "theme_config": { "primaryColor": "#0D9373", "logo": "/logo.svg" } }Use Examples: Include practical code examples in documentation
Extract from test files
Create dedicated example files
Show common use cases
Keep it Fresh: Use sync tool to detect outdated content
npm run sync-docsLeverage Git Hooks: Automatically validate docs on commit
# Install pre-commit hook cp examples/pre-commit/.pre-commit-config.yaml .
Development
Project Structure
Building
Testing
Linting
Security
No Sensitive Data: Never includes sensitive data in generated docs
Link Validation: Validates all links before generation
Code Sanitization: Sanitizes code examples to prevent injection
Gitignore Respect: Respects .gitignore patterns automatically
Private API Control: Option to exclude private/internal APIs
Troubleshooting
Common Issues
Build Errors
MCP Connection Issues
Validation Errors
Contributing
We welcome contributions! Please see CONTRIBUTING.md for:
Code of Conduct
Development workflow
Pull request process
Coding standards
Testing guidelines
Changelog
See CHANGELOG.md for version history and release notes.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Email: perryjr1444@github.com
Acknowledgments
Built on Model Context Protocol
Documentation style inspired by Mintlify
Powered by the TypeScript and Node.js ecosystem
Roadmap
Support for more programming languages (Ruby, PHP, C#)
Integration with popular documentation platforms (ReadTheDocs, GitBook)
Real-time collaboration features
AI-powered documentation suggestions
Visual documentation builder
Multi-language documentation support (i18n)
Documentation analytics and insights
Author
perryjr1444
GitHub: @perryjr1444
Twitter: @perryjr1444
Made with ❤️ by the MCP community