bhouston/mcp-server-text-editor
View on GitHub ↗An open source implementation of the Claude built-in text editor tool
36 ★7 forksTypeScriptUpdated 1y ago
What you need to know
Open-source MCP server implementing Claude's built-in text editor tool (view, create, str_replace, insert, undo_edit) as a standalone server. Uses the tool name text_editor to avoid conflicts with built-in Claude tools; supports the text_editor_20241022 and text_editor_20250124 versions.
Install
npm install mcp-server-text-editor
Usage
- •Start with npx -y mcp-server-text-editor and configure in your MCP client; send view/create/str_replace/insert/undo_edit commands.
Key features
- ✓Identical API to Claude's built-in text editor
- ✓View files with optional line range
- ✓Create files
- ✓str_replace
- ✓Insert at line number
- ✓Undo previous edits
Best for
Standardized text file editing for MCP clients
Clients: Claude Desktop
Documentation ↗Reviewed 2026-08-11
Topics
- Stars
- 36★
- Forks
- 7
- Language
- TypeScript
- License
- MIT
- Created
- 2025-03-14
- Last push
- 2025-03-17