IntactFile for developers
Repair corrupted files — video, ZIP/Office, PDF, JPEG, PNG, SQLite and RAR/7z — from your terminal (CLI), your AI agent (MCP server), or your own Node code (SDK). Everything runs in-process on your machine — your files never leave it.
What you need
- An active Business subscription to run repairs (diagnosis is free).
- Node ≥ 22 (the SQLite recovery engine uses the built-in
node:sqlite).
Install
# one-off diagnosis + repair from the terminal
npm install -g @intactfile/cli
# or run the MCP server straight from your AI client
npx -y @intactfile/mcpSign in
Repairs are tied to your subscription. Two ways to authenticate, both from the CLI:
# email + password (set a password once at intactfile.com/login)
intactfile login
# or a one-time email link
intactfile login --link you@example.com
intactfile login --magic <token-from-the-email>The token is stored locally at ~/.config/intactfile/config.json(mode 0600) and reused by both the CLI and the MCP server. Your first repair fetches and applies a signed offline license automatically — no extra step. Check your plan any time with intactfile status.
Quick start
# free, fully local — tells you the format and what's wrong
intactfile diagnose broken.mp4
# repair (Business) — writes broken.repaired.mp4 next to it
intactfile repair broken.mp4