Skip to main content
Glama

Code MCP Server

by block

git_diff

Display Git changes in a repository, including staged or specific file differences, using the Code MCP Server for seamless integration with AI agents and VS Code.

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