Skip to main content
Glama

MCP SmallEdit

by MikeyBeez

sed_edit

Apply sed patterns to modify files, enabling single-line changes, pattern replacements, and text transformations. Supports backups and previews for safe, controlled edits.

Instructions

Make small edits to files using sed patterns. Efficient for single-line changes, pattern replacements, and simple text transformations.

Input Schema

NameRequiredDescriptionDefault
backupNoCreate backup file before editing
fileYesPath to the file to edit
patternYesSed pattern (e.g., "s/old/new/g" for substitution)
previewNoPreview changes without modifying file

Input Schema (JSON Schema)

{ "properties": { "backup": { "default": true, "description": "Create backup file before editing", "type": "boolean" }, "file": { "description": "Path to the file to edit", "type": "string" }, "pattern": { "description": "Sed pattern (e.g., \"s/old/new/g\" for substitution)", "type": "string" }, "preview": { "default": false, "description": "Preview changes without modifying file", "type": "boolean" } }, "required": [ "file", "pattern" ], "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