AiDD MCP Server

git_diff_staged

Generate a unified diff of all staged changes in a Git repository, ensuring the path is within the allowed directory. Enhances code review and preparation for commits in AI-assisted development workflows.

Instructions

Shows changes staged for commit. Returns a unified diff format of all staged changes. Repository must be within the allowed directory.

Input Schema

NameRequiredDescriptionDefault
repo_pathYesPath to git repository

Input Schema (JSON Schema)

{ "properties": { "repo_path": { "description": "Path to git repository", "type": "string" } }, "required": [ "repo_path" ], "type": "object" }
ID: mpixtij6se