MCP server
@intactfile/mcp is aModel Context Protocolserver (stdio) that lets an AI agent — Claude Desktop, an IDE, your own client — repair corrupted files that never leave the machine. The engines run in-process; nothing is uploaded.
Two tiers of tools
- Free discovery —
detect_fileanddiagnose_fileare local and read-only: no network, no upload, no sign-in. They tell the agent what a file is and what's wrong. Because they're purely local there's nothing to rate-limit or abuse. - Business —
repair_file(andaccount_status) require an active Business subscription, enforced by a signed offline license. Sign in once withintactfile loginand the server fetches and applies the license automatically the first time it repairs — it reads the same local config the CLI writes. If no active subscription can be verified, the tool fails closed and asks you to sign in.
Set up in Claude Desktop
Sign in once with the CLI, then add the server to your MCP config:
# 1. sign in (writes the local license the MCP server reads)
npm install -g @intactfile/cli
intactfile login// 2. claude_desktop_config.json
{
"mcpServers": {
"intactfile": {
"command": "npx",
"args": ["-y", "@intactfile/mcp"]
}
}
}Restart the client. The agent can now call:
| Tool | Tier | Args |
|---|---|---|
detect_file | Free | path |
diagnose_file | Free | path |
account_status | Business | — |
repair_file | Business | path, out?, reference?, password? |
Example prompt
"This clip won't open: /Users/me/Desktop/GX010042.mp4.
Diagnose it, and if it's repairable, repair it."The agent calls diagnose_file (free) then, if you're on Business, repair_file — which writes the fixed file next to the original. Requires Node ≥ 22.