MCP server for comprehensive documentation lifecycle management including bootstrap, migration, restructuring, incremental sync, quality assessment, validation, monorepo support, and change detection
This server has solid foundations with 6 well-named tools following verb_noun patterns (docmgr_init, docmgr_detect_changes, etc.). All tools have comprehensive descriptions (150-400 chars) that explain WHAT, WHEN to use, and typical workflows. Input schemas are present with proper type definitions and descriptions for all parameters. Tool annotations are correctly applied (readOnlyHint, destructiveHint, idempotentHint). However, output schemas are not explicitly documented in the code, responses are inferred to be dict[str, Any] with no structured specification. Error handling is minimal; tools lack recovery guidance and categorization. Parameter validation constraints are described in text but not formally enforced via enums or JSON Schema patterns. The server demonstrates good awareness of LLM tool design (workflow context, mode explanations, dependency hints) but falls short of A-grade polish in schema completeness and error guidance.
Assess documentation quality against seven criteria: relevance, accuracy, purposefulness, uniqueness, consistency, clarity, and structure. Use when: Measuring documentation quality metrics, prioritizing improvement efforts, or establishing baselines Result: Returns quality scores (0-100) for each criterion with specific improvement recommendations Mode: Read-only (analyzes documentation only) Criteria: - relevance: Content addresses intended audience and use case - accuracy: Information is factually correct and current - purposefulness: Each section has clear intent and value - uniqueness: Avoids duplication across documentation - consistency: Tone, formatting, and conventions are uniform - clarity: Content is easy to understand and well-structured - structure: Organization follows logical flow and best practices Typical workflow: Run periodically to track quality trends, identify problematic areas for targeted improvement
Detect code changes without modifying baselines (pure read-only). Use when: Checking if documentation is out of sync after code changes Result: Lists changed files (categorized as code/docs/assets/etc.), affected documentation, and optional semantic changes Mode: Read-only (never modifies any files) Modes: - mode="checksum": Compare current file checksums against repo-baseline.json - mode="git_diff": Compare current files against a specific git commit Set include_semantic=true to detect symbol-level changes (functions/classes added/modified/deleted). Typical workflow: Run after code changes to identify which docs may need updates, before deciding whether to update documentation or baselines
Auto-detect documentation platform (MkDocs, Sphinx, Hugo, etc.) or recommend one. Use when: Setting up doc-manager for first time and unsure which platform is in use Result: Returns detected platform or recommendations based on project language and structure Mode: Read-only (analyzes project files only) Detects by checking for platform-specific config files (mkdocs.yml, conf.py, config.toml, docusaurus.config.js). Typical workflow: Run before docmgr_init to determine correct platform value for configuration
Output schemas are not explicitly documented. Tools return dict[str, Any] with no specification of response structure, field names, or types. LLMs cannot plan downstream tool calls or extract structured data without knowing what fields to expect.
Enum constraints are described in text but not formally declared in JSON Schema. 'mode' parameters accept 'existing'/'bootstrap' or 'checksum'/'git_diff', but these are not enforced as enum types. Parameter validation is client-side documentation rather than machine-enforced constraints.
Error handling is absent from source code. No error responses documented, no recovery guidance provided. Tools throw exceptions (inferred from implementations not shown) but LLMs receive no actionable error messages or classification (retryable vs user-fixable vs fatal).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-21 | C | 62 | 2026-07-28+ | v2 |
| 2026-03-09 | C | 60 | - | v1 |
Initialize doc-manager for a project (existing docs or create new). Use when: Setting up doc-manager for the first time in a project Result: Creates .doc-manager.yml, baselines (repo, symbols, dependencies), and optionally bootstraps documentation structure Mode: State-modifying (creates files and directories) Modes: - mode="existing": For projects with existing documentation - creates config and baselines only - mode="bootstrap": For new projects - creates documentation structure from templates plus config and baselines Typical workflow: Run once at project setup, before any other doc-manager tools
Update all baseline files to reflect current project state. Use when: After updating documentation to match code changes, resetting the "clean" baseline Result: Atomically updates three baseline files: repo-baseline.json (checksums), symbol-baseline.json (code symbols), dependencies.json (code-doc mappings) Mode: State-modifying (rewrites baseline files) This resets change detection to current state - run this when documentation is in sync with code. Typical workflow: After writing/updating docs → run this to update baselines → future change detection starts from new baseline
Validate documentation for broken links, missing assets, code snippet syntax, and convention compliance. Use when: Before releases, after major doc updates, or as part of CI/CD to catch documentation issues Result: Returns list of validation issues categorized by type (broken links, missing assets, syntax errors, convention violations) with file/line numbers Mode: Read-only (only analyzes documentation) Optional checks: - check_links: Validate internal links point to existing files - check_assets: Verify images/assets exist and have alt text - check_snippets: Validate code block syntax - validate_code_syntax: Deep syntax validation with TreeSitter (slower) - validate_symbols: Check documented symbols exist in codebase Typical workflow: Run regularly to maintain documentation quality, fix reported issues, re-run until clean
The 'platform' parameter in docmgr_init accepts null and is converted via DocumentationPlatform(platform) if platform else None. The description lists valid values ('hugo, docusaurus, mkdocs, sphinx, vitepress, jekyll, gitbook') but the enum is not declared in the schema, and nullable handling is implicit.
Response structure for docmgr_assess_quality is opaque. Tool claims to return 'quality scores (0-100) for each criterion with specific improvement recommendations' but no schema specifies the response object structure (e.g., is it {criterion: score} map? {criteria: [{name, score, recommendations}]} array? Flat dict?)
docmgr_validate_docs claims to return 'list of validation issues categorized by type (broken links, missing assets, syntax errors, convention violations) with file/line numbers' but the actual response structure is not specified. Is it [issue] array? {category: [issues]} map? Does each issue have {file, line, severity, message}?