Skip to main content
Glama

Code MCP Server

by block

enhanced_git_diff

Compare Git changes with flexible options like unified, side-by-side, and word-diff formats, ignoring whitespace or enabling color output. Tailored for precise code version tracking.

Instructions

Show git diff with multiple format options (unified, side-by-side, stat, word-diff)

Input Schema

NameRequiredDescriptionDefault
colorOutputNoEnable color output
commit1NoFirst commit for comparison
commit2NoSecond commit for comparison
contextLinesNoNumber of context lines (default: 3)
cwdNoWorking directory
fileNoSpecific file to diff
formatNoDiff format
ignoreWhitespaceNoIgnore whitespace changes
stagedNoShow staged changes

Input Schema (JSON Schema)

{ "properties": { "colorOutput": { "description": "Enable color output", "type": "boolean" }, "commit1": { "description": "First commit for comparison", "type": "string" }, "commit2": { "description": "Second commit for comparison", "type": "string" }, "contextLines": { "description": "Number of context lines (default: 3)", "type": "number" }, "cwd": { "description": "Working directory", "type": "string" }, "file": { "description": "Specific file to diff", "type": "string" }, "format": { "description": "Diff format", "enum": [ "unified", "side-by-side", "inline", "stat", "name-only", "word-diff" ], "type": "string" }, "ignoreWhitespace": { "description": "Ignore whitespace changes", "type": "boolean" }, "staged": { "description": "Show staged changes", "type": "boolean" } }, "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/block/vscode-mcp'

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