返回 MCP 目录
public公开dns本地运行

MCP编辑器

一个 TypeScript MCP 服务器端口,移植了 Anthropic 的文件系统编辑工具,允许通过客户端批准的操作进行文件操作,避免自动写入以防止系统受损。

article

README

mcp-editor

This is a direct port of Anthropic's filesystem editing tools from their computer use demos to a TypeScript MCP server. It was written largely by Claude Sonnet 3.5 on Roo Cline (now Roo Code) with probably not quite enough direct supervision. I checked over the code and use this server every day, but there may be mistakes or AI weirdness.

I recommend using this server along with mcp-server-commands

mcp-editor MCP server

WARNING: This MCP server has NO access controls and relies entirely on your client's approval mechanisms. Use at your own risk. DO NOT automatically approve write operations, doing so basically gives the LLM permission to destroy your computer.

WARNING: This MCP server is NOT actively maintained, and is provided for reference (for example creating your own MCP server with proper access controls). I may update it occasionally.

Usage

Get the files on your computer. Run:

npm install
npm build

If you're using the Claude desktop app, paste this into your config under "mcpServers", and edit the path to match where you put mcp-editor:

{
  "mcpServers":
... your existing servers ...
    "mcp-editor": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-editor/dist/server.js"]
    }
  }
}

If you're using MCP Installer, you just need to provide your LLM with the path on your disk to mcp-editor.

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端