MCP Directory

MCP Text Editor Server vs Git (Reference)

A side-by-side comparison of two Files & Storage servers — tools, transport, auth, maintenance, and copy-paste config for each.

 MCP Text Editor Server

Line-oriented text file editing for LLMs with token-efficient partial reads and hash-based conflict detection.

Unverified
stdio (local)
No auth
Python
Git (Reference)

Official MCP server for reading, searching, and manipulating a local Git repository's files and history.

Verified
stdio (local)
No auth
Python
CategoryFiles & StorageFiles & Storage
LanguagePythonPython
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars19174k
Last commit3 months ago5 months ago
Verified
Actively maintained
Installuvx mcp-text-editoruvx mcp-server-git --repository /absolute/path/to/repo
RepoOpen Open

Verdict

Pick MCP Text Editor Server if you prefer its approach (line-oriented text file editing for llms with token-efficient partial reads and hash-based conflict detection).

Pick Git (Reference) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add MCP Text Editor Server

Install / run
uvx mcp-text-editor

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-text-editor-server": {
      "command": "uvx",
      "args": [
        "mcp-text-editor"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Add Git (Reference)

Install / run
uvx mcp-server-git --repository /absolute/path/to/repo

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "git-reference": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/absolute/path/to/repo"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

FAQ

MCP Text Editor Server or Git (Reference) — which is better?

Pick MCP Text Editor Server if you prefer its approach (line-oriented text file editing for llms with token-efficient partial reads and hash-based conflict detection). Pick Git (Reference) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both MCP Text Editor Server and Git (Reference)?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do MCP Text Editor Server and Git (Reference) work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.