File System · Developer Tools

Editor MCP logo

Editor MCP

danielpodrazka/editor-mcp

A Python-based text editor server built with FastMCP that provides powerful tools for file operations. This server enables reading, editing, and managing text files through a standardized API with a unique multi-step approach that significantly improves code editing accuracy and reliability for LLMs and AI assistants.

Install

uvx install git+https://github.com/danielpodrazka/mcp-text-editor.git

Client configuration

{
  "mcpServers": {
    "text-editor": {
      "command": "editor-mcp",
      "env": {
        "MAX_SELECT_LINES": "<MAX_SELECT_LINES>",
        "ENABLE_JS_SYNTAX_CHECK": "<ENABLE_JS_SYNTAX_CHECK>",
        "FAIL_ON_PYTHON_SYNTAX_ERROR": "<FAIL_ON_PYTHON_SYNTAX_ERROR>",
        "FAIL_ON_JS_SYNTAX_ERROR": "<FAIL_ON_JS_SYNTAX_ERROR>",
        "PROTECTED_PATHS": "<PROTECTED_PATHS>"
      }
    }
  }
}

Environment variables

MAX_SELECT_LINESENABLE_JS_SYNTAX_CHECKFAIL_ON_PYTHON_SYNTAX_ERRORFAIL_ON_JS_SYNTAX_ERRORPROTECTED_PATHS
GitHub stars
3
Category
File System, Developer Tools
Updated
Oct 6, 2026

Features

  • File Selection: Set a file to work with using absolute paths

  • Read Operations:

  • Edit Operations:

  • File Management:

  • Testing Support:

  • Safety Features:

Tools (10)

  • set_file

    Sets the current file to work with.

  • delete_file

    Delete the currently set file.

  • new_file

    Creates a new file and automatically sets it as the current file for subsequent operations.

  • find_line

    Find lines that match provided text in the current file.

  • find_function

    Find a function or method definition in the current Python or JavaScript/JSX file.

  • FAIL_ON_PYTHON_SYNTAX_ERROR

    Controls whether Python syntax errors automatically cancel the overwrite operation (default: 1)

  • FAIL_ON_JS_SYNTAX_ERROR

    Controls whether JavaScript/JSX syntax errors automatically cancel the overwrite operation (default: 0)

  • DUCKDB_USAGE_STATS

    Controls whether usage statistics are collected in a DuckDB database (default: 0)

  • STATS_DB_PATH

    Path where the DuckDB database for statistics will be stored (default: "text_editor_stats.duckdb")

  • PROTECTED_PATHS

    Comma-separated list of file patterns or absolute paths that will be denied access

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
MCP Filesystem Server logo

MCP Filesystem Server

mark3labs/mcp-filesystem-server

221

This MCP server provides secure access to the local filesystem via the Model Context Protocol (MCP).

File System
mcpsvr logo

mcpsvr

nanbingxyz/mcpsvr

163

A community-driven directory for discovering, reviewing, and contributing MCP servers.

File System
MCP Text Editor logo

MCP Text Editor

tumf/mcp-text-editor

89

A Model Context Protocol (MCP) server that provides line-oriented text file editing capabilities through a standardized API. Optimized for LLM tools with efficient partial file access to minimize token usage.

File System
AiDD (Dev Workflows) logo

AiDD (Dev Workflows)

skydeckai/skydeckai-code

56

An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval.

File System
Claude MCP Setup logo

Claude MCP Setup

patruff/claude-mcp-setup

45

Greetings, human! You've wisely chosen to surrender control of your computer to an army of helpful Model Context Protocol (MCP) robots. This script will deploy our mechanical minions across your Windows system.

File System
MCP PDF Tools logo

MCP PDF Tools

hanweg/mcp-pdf-tools

37

An MCP (Model Context Protocol) server that provides PDF manipulation tools. This server allows LLMs to perform operations like merging PDFs and extracting pages through the Model Context Protocol.

File System