Editor MCP Server

A Python-based text editor server built with FastMCP that provides powerful tools for file operations. This server enables reading, editing, and

Local serverstdioPython

What is the Editor MCP MCP server?

Editor MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. 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.

What you get

  • File Selection — Set a file to work with using absolute paths
  • Read Operations —
  • Read entire files with line numbers using skim
  • Read specific line ranges with prefixed line numbers using read
  • Find specific text within files using find_line
  • Find and extract function definitions in Python and JavaScript/JSX files using find_function

What the assistant can call

Once Editor MCP is connected, these are the calls the assistant has available:

  • Privacy — Everything is stored locally on your machine
  • Prerequisites — The editor-mcp requires: - Python 3.7+ - FastMCP package - black (for Python code formatting checks) - Babel (for JavaScript/JSX syntax checks if

Configuration and credentials

You will need 6 environment variables: MAX_SELECT_LINES, ENABLE_JS_SYNTAX_CHECK, FAIL_ON_PYTHON_SYNTAX_ERROR, FAIL_ON_JS_SYNTAX_ERROR, PROTECTED_PATHS, STATS_DB_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

The editor-mcp requires: - Python 3.7+ - FastMCP package - black (for Python code formatting checks) - Babel (for JavaScript/JSX syntax checks if working with those files) Install development dependencies: ```bash

Setting it up

babel on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Editor MCP's toolset — Privacy, Prerequisites — is a fair guide to whether it matches your workflow. It is maintained by danielpodrazka; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the editor mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
PrivacyEverything is stored locally on your machine
PrerequisitesThe editor-mcp requires: - Python 3.7+ - FastMCP package - black (for Python code formatting checks) - Babel (for JavaScript/JSX syntax checks if working with those files)

How to install the Editor MCP MCP server

{
  "mcpServers": {
    "editor": {
      "command": "npx",
      "args": ["-y", "babel"],
      "env": {
        "MAX_SELECT_LINES": "your-value",
        "ENABLE_JS_SYNTAX_CHECK": "your-value",
        "FAIL_ON_PYTHON_SYNTAX_ERROR": "your-value",
        "FAIL_ON_JS_SYNTAX_ERROR": "your-value",
        "PROTECTED_PATHS": "your-value",
        "STATS_DB_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

The editor-mcp requires: - Python 3.7+ - FastMCP package - black (for Python code formatting checks) - Babel (for JavaScript/JSX syntax checks if working with those files) Install development dependencies: ```bash

VariableDescriptionRequired
MAX_SELECT_LINESConfiguration value read at startup.Optional
ENABLE_JS_SYNTAX_CHECKConfiguration value read at startup.Optional
FAIL_ON_PYTHON_SYNTAX_ERRORConfiguration value read at startup.Optional
FAIL_ON_JS_SYNTAX_ERRORConfiguration value read at startup.Optional
PROTECTED_PATHSFilesystem location the server is allowed to use.Optional
STATS_DB_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Editor MCP to Privacy.
  • Use Editor MCP to Prerequisites.

Frequently asked questions

It connects Editor MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Privacy, Prerequisites) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Editor MCP directly.