Skip to main content
Glama

Commit Helper MCP

by jolfr
  • Apple

get_detailed_diff_analysis

Analyze detailed differences between a working directory and a specific Git commit. Provides file-by-file changes, insertion/deletion counts, change types, and optional diff content for precise version control tracking.

Instructions

Get detailed diff analysis between working directory and specified commit.

Uses GitPython to provide:

  • File-by-file change analysis
  • Line-level insertion/deletion counts
  • Change type classification (added, modified, deleted, renamed)
  • Binary file detection
  • Optional diff content inclusion

Args: repo_path: Path to git repository compare_with: Commit/branch to compare with (default: HEAD) include_content: Whether to include actual diff content

Returns: Dict containing detailed diff analysis

Input Schema

NameRequiredDescriptionDefault
compare_withNoHEAD
include_contentNo
repo_pathYes

Input Schema (JSON Schema)

{ "properties": { "compare_with": { "default": "HEAD", "title": "Compare With", "type": "string" }, "include_content": { "default": false, "title": "Include Content", "type": "boolean" }, "repo_path": { "title": "Repo Path", "type": "string" } }, "required": [ "repo_path" ], "title": "get_detailed_diff_analysisArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jolfr/commit-helper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server