Back to MCP directory
publicPublicdnsLocal runtime

File Editor

一个基于TypeScript的MCP服务器,用于文件系统编辑工具,移植自Anthropic的计算机使用演示。

article

README

🚀 mcp-editor

mcp-editor是Anthropic文件系统编辑工具的直接端口,它将他们的计算机使用演示迁移到了TypeScript MCP服务器。该项目主要由Claude Sonnet 3.5在Roo Cline(现为Roo Code)编写,可能存在监督不足的情况。虽然我检查了代码并每天使用此服务器,但仍可能存在错误或AI异常现象。

我建议在此服务器上结合使用mcp-server-commands

MCP服务器 mcp-editor

🚀 快速开始

安装步骤

获取您计算机上的文件,运行以下命令进行安装和构建:

npm install
npm build

配置使用

  • Claude桌面应用:若您使用Claude桌面应用,请在“mcpServers”下粘贴以下内容,并编辑路径以匹配您放置mcp-editor的位置:
{
  "mcpServers": {
    ... 您现有的服务器 ...
    "mcp-editor": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-editor/dist/server.js"]
    }
  }
}
  • MCP Installer:若您使用MCP Installer,您只需提供您的LLM在磁盘上的路径即可。

⚠️ 警告

⚠️ 重要提示

  • 该MCP服务器没有任何访问控制,完全依赖客户端的批准机制。使用此服务器需自行承担风险。请勿自动批准写入操作,这样基本上授予了LLM破坏您计算机的权限。
  • 该MCP服务器没有积极维护,并且仅作为参考提供(例如创建具有适当访问控制的自定义MCP服务器)。我可能会偶尔更新它。
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