๐ ๐ A line-oriented text file editor. Optimized for LLM tools with efficient partial file access to minimize token usage.
MCP Text Editor Server
A Model Context Protocol (MCP) server optimized for line-oriented text file editing, designed for seamless integration with LLM tools and efficient partial file access.
Add the server configuration to your Claude.app settings:
{ "mcpServers": { "text-editor": { "command": "uvx", "args": ["mcp-text-editor"] } } }
For Docker:
{ "mcpServers": { "text-editor": { "command": "docker", "args": ["run", "-i", "--rm", "--mount", "type=bind,src=/some/path/src,dst=/some/path/dst", "mcp/text-editor"] } } }
uvx mcp-text-editor
pyenv install 3.13.0 uv venv uv pip install -e ".[dev]"
docker build --network=host -t mcp/text-editor .
python -m mcp_text_editor
docker run -i --rm --mount "type=bind,src=/some/path/src,dst=/some/path/dst" mcp/text-editor
get_text_file_contents
: Fetch specific line ranges from files.patch_text_file_contents
: Apply edits with conflict detection.Example Request (Partial Read):
{ "file_path": "file.txt", "line_start": 1, "line_end": 10 }
Example Request (Multi-File Edit):
{ "files": [{ "file_path": "file1.txt", "hash": "sha256-hash-from-get-contents", "patches": [{ "start": 5, "end": 8, "contents": "New content\n" }] }] }
For detailed API specs, error handling, and advanced usage, refer to the full documentation.
๐ ๐ This is a connector to allow Claude Desktop (or any MCP client) to read and search any directory containing Markdown notes (such as an Obsidian vault).
โ ๐ A filesystem allowing for browsing and editing files implemented in Java using Quarkus. Available as jar or native image.
๐ ๐ ๐ช Fast Windows file search using Everything SDK
Golang implementation for local file system access.