Line-oriented text file editing with partial reads, hash-based conflict detection and atomic multi-file operations.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add text-editor -- python -m mcp_text_editor~/.codex/config.toml
[mcp_servers.text-editor]
command = "python"
args = ["-m", "mcp_text_editor"]
# codex mcp add text-editor -- python -m mcp_text_editor~/.cursor/mcp.json
{
"mcpServers": {
"text-editor": {
"command": "python",
"args": [
"-m",
"mcp_text_editor"
]
}
}
}.vscode/mcp.json
{
"servers": {
"text-editor": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"mcp_text_editor"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"text-editor": {
"command": "python",
"args": [
"-m",
"mcp_text_editor"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"text-editor": {
"command": "python",
"args": [
"-m",
"mcp_text_editor"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"text-editor": {
"command": "python",
"args": [
"-m",
"mcp_text_editor"
]
}
}
}