Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

MkDocs

$ mkdocs Official Low Risk
MkDocs · Design & Docs · BSD-2-Clause · macos / linux / windows

MkDocs (mkdocs) builds clean project documentation websites from Markdown files and mkdocs.yml, powering ecosystems like Material for MkDocs. Its mkdocs build --strict flag turns warnings and broken internal links into non-zero exit failures ideal for agent CI verification.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install mkdocs
CLI vs MCP Decision CLI Only

mkdocs validates mkdocs.yml, internal doc links, and static HTML output directly on the local repository.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

mkdocs build --strict enforces zero warnings/broken links with deterministic exit codes and zero interactive prompts.

  • --strict converts warnings and broken relative links into hard failures
  • Clean CLI flags (-f, -d, -q)
Trust & Safety 22 / 25

Local static build is safe; only mkdocs gh-deploy touches remote git branches.

  • Read/build operations stay strictly local
  • gh-deploy is an explicit separate subcommand
Setup & Portability 13 / 15

Python package installable via pip, uvx, or Homebrew, though theme/plugin dependencies (mkdocs-material) usually require a project virtualenv.

  • Available on PyPI (mkdocs), uvx, and Homebrew
Utility & Efficiency 13 / 15

Extremely widespread docs stack for Python, API, and developer portals.

  • Rich plugin ecosystem (mkdocs-material, mkdocstrings)
Maintenance & Lineage 8 / 10

Official mkdocs/mkdocs project maintained under BSD-2-Clause.

  • Official MkDocs GitHub organization
Docs & Verifiability 8 / 10

Clear CLI reference and configuration guide on mkdocs.org.

  • Official docs at mkdocs.org/user-guide/cli/

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required for local builds; mkdocs gh-deploy pushes via local git credentials if invoked.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free open-source software (BSD-2-Clause).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# MkDocs Agent Rules
- Always run `mkdocs build --strict` after documentation edits so broken nav entries or internal links fail CI immediately.
- Never run `mkdocs gh-deploy` autonomously; let CI or a human publish to `gh-pages`.
- Run inside the project virtualenv when `mkdocs-material` or plugins are declared.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check MkDocs version
mkdocs --version

Verifies the active mkdocs Python package and version.

Controlled Writes & Previews

Build documentation with strict link checking
mkdocs build --strict -d ./site

Compiles the static site into ./site and fails with a non-zero exit code on broken internal links or config warnings.

Strengths for Agents

  • + mkdocs build --strict catches broken internal links, missing nav files, and YAML typos immediately.
  • + Simple mkdocs.yml structure is easy for coding agents to update safely.
  • + Wide Python ecosystem support including Material for MkDocs and mkdocstrings.

Caveats & Pitfalls

  • ! Projects using plugins like mkdocs-material require running inside the matching Python virtualenv rather than an isolated global binary.
  • ! mkdocs serve blocks continuously until killed.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI