What does the `edit_file_lines` tool do?
It edits specific line ranges in a file by replacing matched strings or regex patterns, with optional dry run to preview changes.
@oakenai
基本信息
MCP Server to make line-based edits to a file.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-edit-file-lines": {
"command": "node",
"args": [
"build/index.js",
"<allowed-directory>",
"[additional-directories...]"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A TypeScript-based MCP server that provides tools for making precise, line-based edits to text files within allowed directories, using string or regex pattern matching.
The server provides tools (edit_file_lines, approve_edit, get_file_lines, search_file) that can be invoked from any MCP client. Edits can be previewed with a dry run, then applied by providing the returned state ID to approve_edit.
edit_file_linesIt edits specific line ranges in a file by replacing matched strings or regex patterns, with optional dry run to preview changes.
Call the `approve_edit` tool with the state ID returned by `edit_file_lines` to commit the modifications.
State IDs expire after a short time; attempting to use an expired or invalid ID returns an error.
Only files within allowed directories configured for the server; the README mentions "allowed directories" but does not specify how they are set.
You can use `get_file_lines` to inspect specific lines with context, and `search_file` to find lines matching text or regex patterns across the file.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
Hindsight: Agent Memory That Learns

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
评论