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 Server?

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

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

Configuration and credentials

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Editor MCP Server

{
  "mcpServers": {
    "text-editor": {
      "command": "editor-mcp",
      "env": {
        "MAX_SELECT_LINES": "100",
        "ENABLE_JS_SYNTAX_CHECK": "0",
        "FAIL_ON_PYTHON_SYNTAX_ERROR": "1",
        "FAIL_ON_JS_SYNTAX_ERROR": "0",
        "PROTECTED_PATHS": "*.env,.env*,config*.json,*secret*,/etc/passwd,/home/user/.ssh/id_rsa"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

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_LINESDeclared in the maintainer’s client configuration.Check documentation
ENABLE_JS_SYNTAX_CHECKDeclared in the maintainer’s client configuration.Check documentation
FAIL_ON_PYTHON_SYNTAX_ERRORDeclared in the maintainer’s client configuration.Check documentation
FAIL_ON_JS_SYNTAX_ERRORDeclared in the maintainer’s client configuration.Check documentation
PROTECTED_PATHSDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

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

Frequently asked questions

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 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.