Skip to main content
Glama

Code MCP Server

by block

git_diff

Compare changes in a Git repository to identify differences in files or staged changes. Specify a file or directory path for targeted comparisons within Code MCP Server.

Instructions

Show git diff

Input Schema

NameRequiredDescriptionDefault
cwdNoRepository path
fileNoSpecific file to diff
stagedNoShow staged changes

Input Schema (JSON Schema)

{ "properties": { "cwd": { "description": "Repository path", "type": "string" }, "file": { "description": "Specific file to diff", "type": "string" }, "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