Skip to main content
Glama

Code MCP Server

by block

create_patch

Generate a patch file by comparing differences between source and target files or directories, facilitating version control and updates in Code MCP Server.

Instructions

Create a patch file from differences between files or directories

Input Schema

NameRequiredDescriptionDefault
outputFileNoOutput patch file (optional, prints to output if not specified)
sourceYesSource file or directory
targetYesTarget file or directory

Input Schema (JSON Schema)

{ "properties": { "outputFile": { "description": "Output patch file (optional, prints to output if not specified)", "type": "string" }, "source": { "description": "Source file or directory", "type": "string" }, "target": { "description": "Target file or directory", "type": "string" } }, "required": [ "source", "target" ], "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