Feedback

MCP Text Editor Server — by tumf

@tumf Claim

Basic information

Runtime
python
Category
License
MIT
Transports
stdio
Author
tumf
Submitted by
Community
Quality
55
Stars
195

About MCP Text Editor Server

# MCP Text Editor Server

MCP Text Editor Server is a MCP server in the Other category listed in the AddMCP.net directory, published by tumf. Supported transport: stdio. Runtime: python. License: MIT. The repository has 195 GitHub stars. Source code is hosted on github.com. Related topics: file-editing, llm-tools, mcp, model-context-protocol, python.

Setup

{
    "mcpServers": {
        "mcp-text-editor": {
            "command": "uv",
            "args": [
                "venv"
            ]
        }
    }
}

MCP Text Editor Server — by tumf config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-text-editor": {
            "command": "uv",
            "args": [
                "venv"
            ]
        }
    }
}

MCP Text Editor Server — by tumf tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Text Editor Server?

MCP Text Editor Server is a Model Context Protocol (MCP) server that provides line-oriented text file editing through a standardized API. It is optimized for LLM tools with efficient partial file access to minimize token usage.

How to use MCP Text Editor Server?

Install Python 3.13+ and uv, then run via uvx mcp-text-editor or add to Claude Desktop’s claude_desktop_config.json. Start the server with python -m mcp_text_editor. Use the MCP tools get_text_file_contents and patch_text_file_contents to read and edit files with line ranges and hash-based conflict detection.

Key features of MCP Text Editor Server

  • Line-oriented text file reading and editing
  • Token-efficient partial file access with line-range specifications
  • SHA-256 hash-based conflict detection for safe concurrent edits
  • Atomic multi-file operations in single requests
  • Flexible character encoding support (utf-8, shift_jis, latin1, etc.)
  • Robust error handling with meaningful error messages

Use cases of MCP Text Editor Server

  • Collaborative text editing where multiple processes modify files safely
  • Automated text processing pipelines requiring synchronized file access
  • LLM-based tools that need token-efficient reading and editing of large files
  • Integrating line-based editing into MCP-compatible clients like Claude Desktop

Frequently asked questions

1 What does MCP Text Editor Server do that basic file I/O cannot?

It provides line-oriented editing with hash-based conflict detection, partial file reads to reduce token usage, and multi-file atomic operations through a standardized MCP API.

2 What are the runtime requirements?

Python 3.13+ and a POSIX-compliant OS (Linux, macOS) or Windows, plus file system read/write permissions.

3 How does the server ensure safe concurrent editing?

All file modifications are validated using SHA-256 hashes. A hash mismatch indicates the file was modified by another process, and the server returns an error suggesting to fetch fresh content.

4 What encodings are supported?

The server supports utf-8, shift_jis, latin1, and others. If an encoding error occurs, verify that the specified encoding matches the file’s actual encoding.

5 Where does the data live?

All data resides on the local file system. The server does not store data in the cloud; it reads and writes files on the host machine.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬