WriteChoice Mint CLI
wcc is a CLI tool for validating, fixing, and managing Mintlify documentation projects.
What it does
| Category | Commands |
|---|---|
| Check | Validate links, MDX parsing, images, pages, and KaTeX |
| Fix | Auto-repair broken links, parse errors, code blocks, images, H1s, imports, and redirects |
| Nav | Restructure navigation folders and promote root pages |
| Scrape | Convert live documentation sites into Mintlify-ready MDX files |
| Metadata | Sync meta tags from live pages into MDX frontmatter |
Install
npm install -g @writechoice/mint-cli
npx playwright install chromium
Quick example
# Generate a config.json
wcc config
# Validate MDX syntax across the project
wcc check parse
# Validate all internal links against your live site
wcc check links
# Fix broken anchor links found in the validation report
wcc fix links
See Installation to get set up, or jump straight to a command reference in the sidebar.