-
Detect & Profile
Identify the docs framework that is actually present, then resolve the right primitive syntax before an assistant writes a single line.
-
Generate & Theme
Create pages, diagrams, SVG assets, and theme files that fit the target framework instead of generic Markdown defaults.
-
Validate & Score
Check links, frontmatter, navigation sync, and quality signals before a docs change ships.
Why this exists¶
AI assistants are good at writing Markdown. They are not automatically good at writing the right dialect of Markdown for the site in front of them.
Ask for a note on a Docusaurus page and an assistant might return MkDocs syntax. Ask for tabs in Starlight and it might answer with a VitePress container. The wording can be excellent while the rendered result is still broken.
mcp-zen-of-docs fixes that problem by turning framework context into a first-class input. It
detects the docs stack, loads the matching authoring profile, and gives every tool the rules it
needs to emit native syntax for 22 canonical documentation primitives.
If you want the longer case for why this matters, start with Why Zen Docs.
Advanced features¶
System setup
Onboard inherited docs without reverse-engineering the stack
onboard combines context detection, readiness checks, scaffolding, and theme wiring so a new or inherited docs project can become AI-ready in one guided pass.
Source truth
Translate primitives across frameworks
Use profile to compare support levels, render native snippets, and translate constructs like admonitions, tabs, and card grids between framework dialects.
Visual layer
Generate assets and themes that belong to the docs system
Create SVGs, badges, diagrams, and brand-aware theme files so the docs site feels designed, not assembled from disconnected snippets.
Workflow memory
Keep AI output aligned across long-running documentation work
Use copilot, docstring, and story to encode conventions, close code-doc drift, and turn rough prompts into structured long-form docs.
Tools at a glance¶
| Tool | What it does | Best starting use |
|---|---|---|
detect |
Detect framework context and readiness | First call in any new project or session |
profile |
Query primitive support and render native snippets | Resolve framework-specific syntax before writing |
scaffold |
Create, enrich, or fully write docs pages | Generate a correct page skeleton quickly |
validate |
Audit quality, frontmatter, links, and nav state | Gate docs changes before merge |
generate |
Produce diagrams, SVGs, changelogs, and reference assets | Build the visual and reference layer |
onboard |
Bootstrap docs structure and configuration | Stand up a new or inherited docs site |
theme |
Generate CSS/JS theme files and configuration | Apply a coherent visual system |
copilot |
Create Copilot instruction, prompt, and agent assets | Preserve docs conventions in AI-assisted work |
docstring |
Audit and generate Python docstrings | Improve API reference readiness |
story |
Compose narrative docs from prose intent | Turn rough ideas into structured long-form pages |
See Tools Overview for the full reference and workflow map.
Get started in 30 seconds¶
Add it to GitHub Copilot in VS Code:
{
"servers": {
"zen-of-docs": {
"command": "uvx",
"args": ["--from", "mcp-zen-of-docs", "mcp-zen-of-docs-server"]
}
}
}
Then ask your assistant to run the standard workflow:
For installation targets, MCP client setup, and the first real workflow, continue to Quickstart.
What to read next¶
-
Quickstart
Connect the server, run the first tool call, and see the workflow end to end.
-
Frameworks
Compare the primary profiles and the supplemental detected contexts.
-
Guides
Learn the concepts behind Detect → Profile → Act and the 22 canonical primitives.