MCP Directory

Git (Reference) vs Serena

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

 Git (Reference)

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

Verified
stdio (local)
No auth
Python
Serena

LSP-powered coding agent toolkit: semantic symbol search, references and structural edits.

Verified
stdio (local)
No auth
Python
CategoryFiles & StorageDeveloper Tools
LanguagePythonPython
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars74k12k
Last commit5 months ago13 days ago
Verified
Actively maintained
Installuvx mcp-server-git --repository /absolute/path/to/repouvx --from git+https://github.com/oraios/serena serena start-mcp-server
RepoOpen Open

Verdict

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

Pick Serena if you prefer its approach (lsp-powered coding agent toolkit: semantic symbol search, references and structural edits).

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.

Add Serena

Install / run
uvx --from git+https://github.com/oraios/serena serena start-mcp-server

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

{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/oraios/serena",
        "serena",
        "start-mcp-server"
      ]
    }
  }
}

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

FAQ

Git (Reference) or Serena — which is better?

Pick Git (Reference) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option. Pick Serena if you prefer its approach (lsp-powered coding agent toolkit: semantic symbol search, references and structural edits).

Can I use both Git (Reference) and Serena?

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 Git (Reference) and Serena work with Claude, Cursor and Windsurf?

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