- MATCH
- DRIFT
- HUMAN
- REPORT
Short answer
How do I find configuration drift using AI?
Your AI runs a deterministic comparison between your live configuration files and a saved baseline. This identifies every character change, addition, or deletion so you can catch unintended drifts immediately. You'll see exactly where your files diverged from the source of truth.
Where every change lands.
Outcomes of a drift check
The AI processes the comparison and organizes the results into these categories.
MATCH
Clean baseline
The AI confirms the files are identical. You get a clean bill of health for your configuration.
DRIFT
Detected changes
The AI flags specific lines that don't match. You get a clear list of what changed.
HUMAN
Manual review needed
The AI identifies ambiguous or complex shifts. You decide if these changes were intentional or errors.
REPORT
Drift summary
The AI compiles a summary of all discrepancies. You get a consolidated view of the entire file state.
The workflow
What your AI does when the files arrive.
The AI handles the heavy lifting of character-by-character comparison.
Load files
Your AI pulls the current configuration and the baseline file into its context.
compare_textsRun comparison
The AI executes a deterministic check to find every single difference between the two strings.
compare_textsIsolate drifts
The AI separates the identical sections from the changed lines to highlight the drift.
compare_textsSummarize results
The AI presents the findings, showing you exactly which parameters were modified.
compare_texts
Try it
Copy these to start.
Use these prompts to kick off a comparison.
Starting points
Swap the file names and paths for your actual local or remote config files.
Diff Library Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_DMCIFplCMI3ua9QqBPl0eJqMbavy6e2NunWJFUXf/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Diff Library capabilities are ready to use.
{
"mcpServers": {
"text-diff-engine-mcp": {
"url": "https://edge.vinkius.com/vk_preview_DMCIFplCMI3ua9QqBPl0eJqMbavy6e2NunWJFUXf/mcp"
}
}
}Compare my current nginx.conf with the baseline version in the /configs folder.
Check the docker-compose.yml file against the master template and tell me what changed.
Run a diff between the production database.yaml and the staging version.
Identify any unintended drifts in the kubernetes/deployment.yaml file compared to the last known good state.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Text Diff Engine once, then ask.
One click connects this MCP to your client. Your credentials stay encrypted, and you can start comparing files immediately.
Connect Text Diff Engine to your AIFAQ
How the drift detection works
- 01
Can the AI automatically fix the drift?
No. The AI only identifies and reports the differences. You must manually apply any fixes to your files.
- 02
Does the AI delete my original configuration files?
No. The AI only reads the files to perform the comparison. It has no capability to delete or overwrite your data.
- 03
How does it handle large files?
The AI uses deterministic text comparison to process the strings and find the specific lines that differ.
- 04
Can it compare files across different repositories?
Yes, as long as your AI client has access to the paths for both the current file and the baseline.
- 05
Will the AI tell me why the change happened?
No. The AI only tells you what changed. It cannot know the intent or the reason behind a configuration drift.
More questions about Text Diff Engine? The Connector page answers them. See everything the Text Diff Engine Connector can do
Connect Diff Library to Claude, Cursor, ChatGPT & more
