text-edit-mcp

WhiteBirchForumTeam/text-edit-mcp
★ 0 stars Python AI/LLM Updated today
Zero-dependency MCP server giving AI agents ten file-editing tools. Address an edit by text anchor or by line number — both self-validating — and every edit returns a unified diff. Stateless, atomic writes, never half-applied. Python 3.9+, stdlib only, Windows and Linux.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "text-edit-mcp": {
      "command": "uvx",
      "args": [
        "text-edit-mcp"
      ]
    }
  }
}

Or install with pip: pip install text-edit-mcp

README Excerpt

A zero-dependency **MCP stdio server** giving an AI agent ten file tools. It offers **two ways to address an edit** — by text anchor when you know the text, by line number when the block is large — and **every edit returns a unified diff**, so you never need a second call to see what happened. Runs identically on **Windows and Linux**. Python 3.9+. Standard library only, nothing to install.

Tools (18)

TEXT_EDIT_ROOTSanchorbeforeeditsencodingendexpect_countexpect_end_lineexpect_lineexpect_start_lineline_editornew_textnewlineold_textpathpathstextwhere

Topics

ai-agentsclaude-codefile-editingllm-toolsmcpmcp-servermcp-toolsstdiostdio-mcptext-editing