Skip to main content
Glama

MCP SmallEdit

by MikeyBeez

sed_multifile

Apply sed patterns to multiple files matching a glob pattern. Specify the target directory and optionally create backup files for efficient, batch text modifications.

Instructions

Apply sed pattern to multiple files matching a glob pattern

Input Schema

NameRequiredDescriptionDefault
backupNoCreate backup files
directoryNoStarting directory for search.
filePatternYesFile glob pattern (e.g., "*.ts", "src/**/*.js")
patternYesSed pattern to apply

Input Schema (JSON Schema)

{ "properties": { "backup": { "default": true, "description": "Create backup files", "type": "boolean" }, "directory": { "default": ".", "description": "Starting directory for search", "type": "string" }, "filePattern": { "description": "File glob pattern (e.g., \"*.ts\", \"src/**/*.js\")", "type": "string" }, "pattern": { "description": "Sed pattern to apply", "type": "string" } }, "required": [ "pattern", "filePattern" ], "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