Open source implementation of Claude's built-in text editor tool, letting an agent view, create and edit files through MCP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add text-editor -- npx -y mcp-server-text-editor~/.codex/config.toml
[mcp_servers.text-editor]
command = "npx"
args = ["-y", "mcp-server-text-editor"]
# codex mcp add text-editor -- npx -y mcp-server-text-editor~/.cursor/mcp.json
{
"mcpServers": {
"text-editor": {
"command": "npx",
"args": [
"-y",
"mcp-server-text-editor"
]
}
}
}.vscode/mcp.json
{
"servers": {
"text-editor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-text-editor"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"text-editor": {
"command": "npx",
"args": [
"-y",
"mcp-server-text-editor"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"text-editor": {
"command": "npx",
"args": [
"-y",
"mcp-server-text-editor"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"text-editor": {
"command": "npx",
"args": [
"-y",
"mcp-server-text-editor"
]
}
}
}