File System · Developer Tools

MCP Text Editor logo

MCP Text Editor

tumf/mcp-text-editor

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.

Install

uvx mcp-text-editor

Client configuration

{
  "mcpServers": {
    "text-editor": {
      "command": "uvx",
      "args": [
        "mcp-text-editor"
      ]
    }
  }
}
GitHub stars
89
Author
@tumf
Category
File System, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Line-oriented text file editing and reading

  • Smart partial file access to minimize token usage in LLM applications

  • Get text file contents with line range specification

  • Read multiple ranges from multiple files in a single operation

  • Line-based patch application with correct handling of line number shifts

  • Edit text file contents with conflict detection

  • Flexible character encoding support (utf-8, shift_jis, latin1, etc.)

  • Support for multiple file operations

  • Proper handling of concurrent edits with hash-based validation

  • Memory-efficient processing of large files

Tools (2)

  • get_text_file_contents

    Get the contents of one or more text files with line range specification.

  • patch_text_file_contents

    Apply one or more non-overlapping patches to one file.

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
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
mcp_code_analyzer logo

mcp_code_analyzer

emiryasar/mcp_code_analyzer

31

The Model Context Protocol (MCP) Code Analyzer is a comprehensive code analysis and management tool that integrates with Claude Desktop. It analyzes code at both project and file levels, providing insights for needed changes and project understanding.

File System