Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-editor

MCP.Pizza Chef: arathald

mcp-editor is a TypeScript MCP server that ports Anthropic's filesystem editing tools to enable LLM-driven file editing within the MCP ecosystem. It facilitates real-time, structured file modifications by LLMs, supporting workflows that require programmatic code or text editing. This server requires careful client-side approval for write operations due to lack of built-in access controls, making it suitable for controlled environments where users manage permissions securely.

Use This MCP server To

Enable LLM-driven file editing in MCP-enabled IDEs or editors Automate code refactoring and patch generation via LLMs Integrate with command servers for complex file manipulation workflows Support real-time collaborative editing with AI suggestions Facilitate safe, user-approved file writes from LLM instructions

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.

mcp-editor FAQ

How does mcp-editor handle file write permissions?
mcp-editor has no built-in access controls and relies entirely on client-side approval mechanisms to authorize write operations, ensuring user control over file changes.
Can mcp-editor be used with other MCP servers?
Yes, it is recommended to use mcp-editor alongside servers like mcp-server-commands for enhanced file manipulation workflows.
What programming language is mcp-editor implemented in?
mcp-editor is implemented in TypeScript, making it compatible with modern JavaScript/TypeScript MCP environments.
Is mcp-editor safe to use in production environments?
Due to the lack of access controls, mcp-editor should be used cautiously in production and only where client approval mechanisms are robust.
Does mcp-editor support real-time collaborative editing?
While primarily a file editing server, it can be integrated into collaborative workflows with appropriate client orchestration.
What kind of files can mcp-editor edit?
mcp-editor can edit any text-based files accessible to the MCP client environment, including code, configuration, and documentation files.
How does mcp-editor integrate with LLMs like Claude or GPT-4?
It exposes file editing capabilities as MCP server endpoints that LLM clients can call to perform structured edits safely under user supervision.