Git File Forensics MCP

analyze_file_diff

Analyze specific changes between any two versions of a file

Input Schema

NameRequiredDescriptionDefault
fileYesFile to analyze
outputPathYesPath to write analysis output
repoPathYesPath to git repository
versionsYes

Input Schema (JSON Schema)

{ "properties": { "file": { "description": "File to analyze", "type": "string" }, "outputPath": { "description": "Path to write analysis output", "type": "string" }, "repoPath": { "description": "Path to git repository", "type": "string" }, "versions": { "properties": { "from": { "type": "string" }, "to": { "type": "string" } }, "required": [ "from", "to" ], "type": "object" } }, "required": [ "repoPath", "file", "versions", "outputPath" ], "type": "object" }