LocalFree server, account needed

Git MCP server

Ray0907/git-mcp-server

MCP server for GitLab and GitHub

0 GitHub stars

Install Git in Claude Code

Claude Code
claude mcp add ray0907-git -e GIT_TOKEN=... -- npx -y @raytien/git-mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "ray0907-git": {
      "command": "npx",
      "args": [
        "-y",
        "@raytien/git-mcp-server"
      ],
      "env": {
        "GIT_TOKEN": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Git MCP server do?

MCP server for GitLab and GitHub

Is the Git MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Git run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Git to Claude Code?

Run: claude mcp add ray0907-git -e GIT_TOKEN=... -- npx -y @raytien/git-mcp-server

More version control MCP servers

View all