Skip to main content
Glama

Code MCP Server

by block

preview_changes_enhanced

Preview and analyze code changes in multiple formats, including unified, side-by-side, stat, and word-diff. Filter by file patterns, adjust context lines, and ignore whitespace for precise comparison.

Instructions

Enhanced change preview with multiple format options

Input Schema

NameRequiredDescriptionDefault
contextLinesNoNumber of context lines
cwdNoWorking directory
filePatternNoFile pattern filter
formatNoPreview format
ignoreWhitespaceNoIgnore whitespace changes

Input Schema (JSON Schema)

{ "properties": { "contextLines": { "description": "Number of context lines", "type": "number" }, "cwd": { "description": "Working directory", "type": "string" }, "filePattern": { "description": "File pattern filter", "type": "string" }, "format": { "description": "Preview format", "enum": [ "unified", "side-by-side", "stat", "word-diff" ], "type": "string" }, "ignoreWhitespace": { "description": "Ignore whitespace 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