Back to MCP directory
publicPublicdnsLocal runtime

jpinillagoshawk_mcp-server-file-modifier

一个基于MCP协议的文件修改服务器,支持通过AI助手对文件进行增删改查操作。

article

README

🚀 MCP 服务器文件修改器

MCP 服务器文件修改器是一个模型上下文协议服务器,可借助 Claude 或其他 AI 助手,使用 MCP 协议对文件进行修改,为文件修改操作提供便捷方案。

🚀 快速开始

使用此工具,你可以轻松通过 MCP 协议对文件进行修改。只需简单安装并启动,即可在默认的 3000 端口开展工作。

✨ 主要特性

  • 在特定行添加内容
  • 替换现有内容
  • 删除内容
  • 支持 UTF - 8 编码

📦 安装指南

使用以下命令进行全局安装:

npm install -g mcp-server-file-modifier

💻 使用示例

基础用法

使用以下命令启动服务器:

mcp-server-file-modifier

服务器将默认在 3000 端口启动。

📚 详细文档

API 文档

该服务器提供以下操作:

  • add:在特定行添加新内容
  • replace:替换匹配目标的内容
  • delete:删除匹配目标的内容
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client