Supports synchronization of documentation with Confluence wikis, enabling bi-directional sync with conflict resolution and version tracking for team documentation.
Extracts and tracks code changes from Git repositories, enabling documentation generation from commits, diffs, and staged changes.
Provides integration with GitHub wikis and documentation, supporting cloud synchronization and multi-provider documentation management.
Generates and manages Markdown documentation from code changes, supporting various documentation types including API docs and changelogs.
Uses Mermaid diagrams for visualizing knowledge management architecture and system relationships in documentation.
Planned support for syncing documentation with Notion workspaces through multi-provider cloud synchronization capabilities.
Uses SQLite database for storing service definitions, document mappings, provider configurations, prompt templates, and generation history with schema version tracking.
Supports TOML file-based storage for configuration management, service mappings, and system settings as an alternative to SQLite.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@KTME - Knowledge Tracking & Management Enginegenerate documentation for the latest changes in the auth service"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
KTME - Knowledge Transfer Me
Automated documentation generation from Git changes using AI
KTME is a CLI tool and MCP server that automatically generates and maintains documentation from Git changes. It integrates with GitHub, GitLab, and Confluence, using AI to create meaningful documentation from code commits and pull requests.
Features
Auto-Initialization - Automatically creates documentation structure and knowledge graph on first use
Smart Documentation Generation - AI-powered documentation from Git diffs, commits, and PRs
Knowledge Graph - Tracks features, relationships, and documentation across services
Multiple Integrations - GitHub, GitLab, and Confluence support
Template System - Customizable Markdown templates with variable substitution
MCP Server - Model Context Protocol server for AI agent integration
Dual Storage - TOML and SQLite backends for flexibility
Service Mapping - Organize documentation by service/project
Quick Start
Installation
Basic Usage
Configuration
Create ~/.config/ktme/config.toml:
Documentation
Quick Start Guide - Get started in 5 minutes
Release Workflow - Publishing and version management
Architecture - System design and components
Development Guide - Contributing and development setup
Core Capabilities
1. Initialization & Setup
Initialize your project documentation and knowledge graph:
What ktme init creates:
Documentation structure -
docs/directory with README, architecture, API docs, and changelogKnowledge graph - Service entry in SQLite database for tracking features and documentation
Subdirectories -
docs/api/,docs/guides/,docs/examples/for organized documentation
2. Git Integration
Extract changes from various sources:
Staged changes (
--staged)Specific commits (
--commit abc123)Commit ranges (
--range main..feature)Pull/Merge requests (
--pr 123)
3. Documentation Generation
Generate documentation with templates:
The generate command automatically:
Initializes the knowledge graph if not already done
Creates feature entries for significant code changes
Tracks documentation history and relationships
4. Smart Updates
Update existing documentation intelligently:
5. MCP Server
Run as MCP server for AI agents:
Development
Quick Commands
Publishing
See docs/RELEASE.md for complete release documentation.
Architecture
Recent Updates (v0.1.0)
New Features
✅ Template engine with variable substitution
✅ Smart documentation merging by section
✅ GitHub PR extraction and integration
✅ GitLab MR extraction and integration
✅ Confluence writer with Markdown conversion
✅ Enhanced Markdown writer with section updates
Implementation Details
34 new tests (all passing)
10 files modified with new functionality
Zero compilation errors after strict linting
See CHANGELOG.md for complete version history.
Contributing
We welcome contributions! Please see our Development Guide.
License
MIT License - see LICENSE for details.
Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Documentation: docs/
Built with ❤️ using Rust