Skip to main content
Glama

MCP SmallEdit

by MikeyBeez

diff_preview

Preview changes to a file before applying them by generating a diff. Specify the file and command to simulate edits using tools like sed, perl, or awk.

Instructions

Preview what changes would be made by showing a diff

Input Schema

NameRequiredDescriptionDefault
commandYesCommand that would make changes (e.g., "s/old/new/g")
fileYesFile to preview changes for
toolNoWhich tool to use for the previewperl

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command that would make changes (e.g., \"s/old/new/g\")", "type": "string" }, "file": { "description": "File to preview changes for", "type": "string" }, "tool": { "default": "perl", "description": "Which tool to use for the preview", "enum": [ "sed", "perl", "awk" ], "type": "string" } }, "required": [ "file", "command" ], "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/MikeyBeez/mcp-smalledit'

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