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

Mintlify CLI

$ mint Official Low Risk
Mintlify · Workspace & SaaS · Proprietary · macos / linux / windows

Mintlify CLI (mint, published as @mintlify/cli and mint on npm) powers local MDX documentation previews (mint dev), link/build validation (mint broken-links, mint validate, mint a11y), AI-readability scoring (mint score), and terminal analytics (mint analytics). Local checks are clean and fast, though cloud analytics require interactive login.

FCRS-1.0 Score
76 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g @mintlify/cli
CLI vs MCP Decision Hybrid (CLI + MCP)

Run mint broken-links, mint validate, and mint score locally via CLI, and optionally use mint agent setup to install Mintlify MCP/skills.

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 18 / 25

One-shot broken-links, validate, a11y, and score exit cleanly, and analytics outputs agent-pipeable metrics, though core checks lack a global --json flag.

  • Deterministic broken-links, validate, and score checks
  • Supports mint agent setup for coding agents
Trust & Safety 19 / 25

Read-only checks require no auth and mutate nothing; only format and new --force write local files.

  • Zero-auth read-only validate and broken-links
  • Local-only filesystem footprint
Setup & Portability 12 / 15

Cross-platform via npm/npx (@mintlify/cli / mint), requiring Node.js.

  • npm packages @mintlify/cli and mint
Utility & Efficiency 13 / 15

Combines local preview, link/a11y/build validation, MDX formatting, AI readability scoring, and analytics.

  • Covers dev, broken-links, validate, a11y, score, format, and analytics
Maintenance & Lineage 7 / 10

Official Mintlify tooling (mintlify/mint), though proprietary/closed-source.

  • Official mintlify/mint GitHub repository
Docs & Verifiability 7 / 10

Documented on mintlify.com/docs with --help for subcommands.

  • Official Mintlify documentation

Security, Auth & Guardrails

Auth Modes
No Auth OAuth Browser
Credential Storage

Local validation and preview commands require no credentials; mint analytics uses interactive mint login browser credentials.

Side Effects
Read-Only Local Write
Cost & Quotas

Proprietary CLI free to install; Mintlify hosts free hobby docs and paid team plans.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Mintlify CLI (`mint`) Agent Rules
- Run `mint broken-links` and `mint validate` after doc edits instead of starting `mint dev`.
- Do not invoke `mint dev` without a background/daemon intent because it runs a persistent preview server.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check documentation for broken links
mint broken-links

Scans local MDX files and navigation config for broken internal or external links.

Validate docs build and AI agent readability score
mint validate && mint score

Validates docs.json configuration and evaluates documentation navigability for AI agents.

Controlled Writes & Previews

Format MDX documentation files
mint format

Rewrites local MDX files to match Mintlify's canonical style rules.

Strengths for Agents

  • + Zero-auth mint broken-links, mint validate, and mint score give fast pre-commit checks.
  • + Built-in mint agent setup installs Mintlify schema awareness and MCP for coding agents.

Caveats & Pitfalls

  • ! Proprietary CLI; mint analytics relies on browser mint login rather than an API-key env var.
  • ! mint dev starts a long-running local server and opens a browser unless --no-open is set.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI