MCP Directory

Desktop Commander vs Git (Reference)

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

 Desktop Commander

Powerful local filesystem + terminal MCP server: search, diff-edit files, and run shell commands.

Verified
stdio (local)
No auth
TypeScript
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
LanguageTypeScriptPython
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars6.2k74k
Last commit4 months ago5 months ago
Verified
Actively maintained
Installnpx -y @wonderwhy-er/desktop-commanderuvx mcp-server-git --repository /absolute/path/to/repo
RepoOpen Open

Verdict

Pick Desktop Commander if you prefer its approach (powerful local filesystem + terminal mcp server: search, diff-edit files, and run shell commands).

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

Add Desktop Commander

Install / run
npx -y @wonderwhy-er/desktop-commander

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

{
  "mcpServers": {
    "desktop-commander": {
      "command": "npx",
      "args": [
        "-y",
        "@wonderwhy-er/desktop-commander"
      ]
    }
  }
}

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

Desktop Commander or Git (Reference) — which is better?

Pick Desktop Commander if you prefer its approach (powerful local filesystem + terminal mcp server: search, diff-edit files, and run shell commands). Pick Git (Reference) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both Desktop Commander 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 Desktop Commander and Git (Reference) work with Claude, Cursor and Windsurf?

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