MCP Text Editor Server provides line-oriented text file editing capabilities optimized for LLM token efficiency and concurrent access management.
File Operations
Configuration
{
"mcpServers": {
"text-editor": {
"command": "uvx",
"args": ["mcp-text-editor"]
}
}
}
Installation
# Using Smithery
npx -y @smithery/cli install mcp-text-editor --client claude
# Manual installation
pip install -e .
| Feature | Description | |---------|-------------| | Testing | 90% coverage with pytest | | Linting | Ruff, Black, isort | | Type Checking | mypy with full hints | | Security | Path validation, hash-based conflict detection |
The server requires Python 3.11+ and supports POSIX-compliant systems and Windows, with comprehensive error handling for file operations and concurrent access scenarios.