File Modifier

by jpinillagoshawk

2 stars
155 downloads
Not rated
GitHub

About

Enables targeted text file modifications through operations like adding, replacing, and deleting content at specific locations.

Details

Author
jpinillagoshawk
Repository
jpinillagoshawk/mcp-server-file-modifier
GitHub stars
2
Downloads
155
Categories
Productivity, Developer Tools, Design, Workplace, File Management, AI, API, Automation, Infrastructure, Other
Tags
#mobile

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name File Modifier
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Usage

mcp-server-file-modifier

The server will start on port 3000 by default.

add

Add new content at a specific line.

replace

Replace content matching a target.

delete

Delete content matching a target.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "file modifier": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.