About MCP Server File Modifier
MCP Server File Modifier lets Claude and other AI assistants modify files through an MCP server. Its operations add content at a line, replace matching content, or delete matching content, with UTF-8 support.
Key features
- 01Add content at a line number
- 02Replace matching content
- 03Delete matching content
- 04Support UTF-8 encoding
Use cases
- 01Insert text at a specific line
- 02Replace selected file content
- 03Remove matching file content
MCP support
Exposes file modification operations to MCP clients, including Claude and other AI assistants. The operations support adding, replacing, and deleting content.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Server File Modifier
A Model Context Protocol server for file modifications. This server provides functionality to modify files through Claude or other AI assistants using MCP.
Features
- Add content at specific line numbers
- Replace existing content
- Delete content
- UTF-8 encoding support
Installation
npm install -g mcp-server-file-modifier
Usage
mcp-server-file-modifier
The server will start on port 3000 by default.
API
The server provides the following operations:
add: Add new content at a specific linereplace: Replace content matching a targetdelete: Delete content matching a target
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.