editor-mcp
The Editor MCP is a Python-based text editor server designed with FastMCP, offering extensive code management and editing capabilities through an API. Its standout features include a multi-step editing process, extensive syntax checking for scripts, and a focus on safe code handling to enhance AI-assisted coding. It aims to make AI-led code edits more efficient and reliable.
set_file
Set the current working file
skim
Read the entire file content
read
Read a specific line range
select
Select the range of rows to edit
overwrite
Prepare to replace the contents of the selected row
confirm
Confirm and apply changes
cancel
Cancel pending changes
delete_file
Delete the current file
new_file
Create a new file
find_line
Find lines containing specific text
find_function
Find function definitions in Python or JavaScript/JSX files
listdir
List the contents of the directory
run_tests` and `set_python_path
Run Python tests and configure a Python environment