Skip to main content

WriteChoice Mint CLI

wcc is a CLI tool for validating, fixing, and managing Mintlify documentation projects.

What it does

CategoryCommands
CheckValidate links, MDX parsing, images, pages, and KaTeX
FixAuto-repair broken links, parse errors, code blocks, images, H1s, imports, and redirects
NavRestructure navigation folders and promote root pages
ScrapeConvert live documentation sites into Mintlify-ready MDX files
MetadataSync 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.