eaisdevelopment avatar

Mcp Multi Edit

eaisdevelopment/mcp-multi-edit

Claude's built-in Edit tool handles one find-and-replace per call, which burns context tokens fast when you're renaming variables across files or doing cross-file refactors. This server gives you multi_edit for batching operations on a single file and multi_edit_files for atomic cross-file changes with automatic rollback if anything fails. The benchmark numbers are real: a typical bulk rename drops from 105 tool calls to 21, cutting token usage in half. Edits apply sequentially with exact string matching, backups happen automatically, and dry run mode shows you diffs before committing. Structured error codes tell Claude when retries make sense. Reach for this when you need to coordinate changes across multiple locations or files in one atomic operation.

tools
2
transport
STDIO
last updated
Feb 13, 2026

Tools

2 tools

Public tool metadata for what this MCP can expose to an agent.

multi_editBatch multiple find-and-replace operations on one file. Edits apply sequentially and atomically.

Batch multiple find-and-replace operations on one file. Edits apply sequentially and atomically.

No parameter schema in public metadata yet.

multi_edit_filesCoordinate edits across multiple files. If any file fails, all files are rolled back automatically.

Coordinate edits across multiple files. If any file fails, all files are rolled back automatically.

No parameter schema in public metadata yet.

Sponsors

Readme

Multi Edit MCP Server

npm version license tests coverage

An MCP server that gives Claude the ability to perform multiple find-and-replace operations in a single tool call with guaranteed atomicity -- all edits succeed or none apply.

Built by Essential AI Solutions for Claude Code and Claude Desktop.

Why Multi Edit?

Claude's built-in Edit tool handles one find-and-replace per call. When renaming a variable across a file or refactoring multiple files, that means dozens of individual tool calls -- each consuming context tokens and adding latency.

Multi Edit batches them into a single call:


View the full README on GitHub

Details

Repository
github.com/eaisdevelopment/mcp-multi-edit
Package
@essentialai/mcp-multi-edit
Transport
STDIO
Registry
MCP registry, active