MCP Server File Modifier logo

MCP Server File Modifier

by jpinillagoshawk

This server provides functionality to modify files through Claude or other AI assistants using MCP. It allows for adding, replacing, and deleting content within files.

View on GitHub

Last updated: N/A

MCP 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 line
  • replace: Replace content matching a target
  • delete: Delete content matching a target

License

MIT