Editor is a Python-based text editor server built with FastMCP, designed to improve code editing accuracy and reliability, especially when used with Large Language Models (LLMs). It offers a standardized API for reading, editing, and managing text files with features like file selection, read operations (skim, read, find_line), edit operations (two-step editing with diff preview, ID verification, syntax checking for Python and JavaScript/React), and file management capabilities (create, delete). The server includes safety features like content ID verification, line count limits, and syntax checking to maintain code integrity, addressing common issues faced by LLMs when editing code, such as loss of context, resource-intensive rewrites, and syntax errors.
Key Features
012 GitHub stars
02Multi-step approach maintains context and improves edit reasoning for LLMs
03Two-step editing process with diff preview for change verification
04Line count limits to prevent resource exhaustion
05Syntax checking for Python and JavaScript/React files
06Content ID verification to prevent conflicts during edits