Skip to main content

Git MCP Server

io.github.Ray0907/git-mcp-server

v0.2.3Updated Dec 8, 2025stdio · npm

MCP server for GitLab and GitHub

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add git-mcp-server -- npx -y @raytien/[email protected]

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

4 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • GIT_TOKEN
    Env var· required· secret
    Personal Access Token for GitHub or GitLab
  • GIT_PROVIDER
    Env var· optional
    Provider type: gitlab or github
  • GIT_API_URL
    Env var· optional
    API URL for self-hosted instances
  • GIT_READ_ONLY
    Env var· optional
    Disable write operations (true/false)

Listed in the official MCP Registry since Dec 8, 2025. Mirrored daily; last checked Nov 26, 2026.