Documentation Manager
Comprehensive documentation lifecycle management powered by an MCP server. Automates documentation creation, maintenance, quality assessment, and synchronization for software projects.
README
Documentation Manager
Comprehensive documentation lifecycle management powered by an MCP (Model Context Protocol) server. Automates documentation creation, maintenance, quality assessment, and synchronization for software projects.
Features
- Automatic change detection - Track code changes and affected documentation
- Link validation - Find broken links and missing assets
- Quality assessment - Evaluate docs against 7 quality criteria
- Symbol tracking - TreeSitter-based code symbol extraction (Python, Go, TypeScript, Rust)
- Dependency mapping - Automatic code-to-docs relationships
- Platform detection - Auto-detect MkDocs, Sphinx, Hugo, Docusaurus, etc.
- Documentation migration - Restructure docs with git history preservation
Installation
Claude Code Plugin (Recommended)
The doc-management plugin provides an interactive documentation workflow with specialized agents and quick commands, powered by the doc-manager MCP server.
Install:
# Add the marketplace
/plugin marketplace add arimxyer/doc-manager-mcp
# Install the plugin (automatically configures MCP server)
/plugin install doc-manager@doc-manager-suite
What you get:
@doc-expert- Documentation expert who analyzes state and directs next steps@doc-writer- Content specialist who creates/updates docs/doc-status,/doc-sync,/doc-quality- Quick commands for common workflows
Example workflow:
You: "Set up documentation management"
Claude: [Invokes @doc-expert to detect platform and initialize]
You: "/doc-sync"
Claude: [Detects changes, updates docs via @doc-writer, validates, updates baselines]
You: "Check quality before release"
Claude: [Runs quality assessment and shows actionable findings]
See the Claude Code Plugin guide for details.
Standalone MCP Server
For using the MCP server without the plugin.
Claude Code:
claude mcp add doc-manager --scope project -- uvx doc-manager-mcp
Claude Desktop:
Add to your claude_desktop_config.json:
{
"mcpServers": {
"doc-manager": {
"command": "uvx",
"args": ["doc-manager-mcp"]
}
}
}
Restart your client. Your AI assistant can then use the 8 doc-manager tools directly.
Other MCP clients:
See Installation Guide for local development setup and alternative installation methods.
Quick Start
With Claude Code plugin:
You: "Set up documentation management for this project"
You: "/doc-sync"
With any MCP client:
Ask your AI assistant to initialize documentation management, check sync status, or validate quality. The AI will use the appropriate tools (docmgr_init, docmgr_sync, etc.) automatically.
See Quick Start Guide for complete workflows and examples.
MCP Server Tools
The doc-manager MCP server provides 8 tools for documentation management:
docmgr_init- Initialize doc-manager for a project (modes:existing,bootstrap)docmgr_detect_changes- Detect code/doc changes (read-only, never writes baselines)docmgr_detect_platform- Auto-detect documentation platform (MkDocs, Sphinx, Hugo, etc.)docmgr_validate_docs- Check for broken links, missing assets, invalid code snippetsdocmgr_assess_quality- Evaluate documentation against 7 quality criteriadocmgr_update_baseline- Update all baselines atomically (repo, symbols, dependencies)docmgr_sync- Orchestrate change detection + validation + quality + baseline updatesdocmgr_migrate- Restructure/migrate documentation with git history preservation
See Tools Reference for complete API documentation.
Architecture
Baseline System
Doc-manager maintains 3 baseline files in .doc-manager/memory/:
repo-baseline.json- File checksums and metadatasymbol-baseline.json- TreeSitter code symbols (functions, classes, config fields)dependencies.json- Code-to-docs dependency mappings
Workflow:
1. docmgr_init → Create initial baselines
2. (make code changes)
3. docmgr_detect_changes → Detect changes (read-only)
4. (update documentation)
5. docmgr_update_baseline → Refresh baselines
Or use docmgr_sync mode="resync" to combine steps 3-5.
Configuration
Example .doc-manager.yml:
platform: mkdocs
use_gitignore: true
exclude:
- "tests/**"
sources:
- "src/**/*.py"
docs_path: docs
metadata:
language: Python
created: '2025-01-19T20:00:00'
version: '2.0.0'
See Configuration Reference for all options.
Development
Running tests
# All tests
uv run pytest
# Unit tests only
uv run pytest tests/unit/
# With coverage
uv run pytest --cov=doc_manager_mcp
Running the server locally
# Install in development mode
pip install -e .
# Run server (stdio transport)
doc-manager-mcp
# Or with uv
uvx --from . doc-manager-mcp
Linting
# Ruff (linter + formatter)
uv run ruff check .
uv run ruff format .
# Pyright (type checker)
uv run pyright
Adding new tools
- Create implementation in
doc_manager_mcp/tools/ - Define Pydantic model in
doc_manager_mcp/models.py - Register tool in
doc_manager_mcp/server.pywith@mcp.tool - Add tests in
tests/unit/andtests/integration/ - Update documentation
Documentation
License
MIT License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。