← Index

io.github.Ray0907/git-mcp-server

io.github.Ray0907/git-mcp-server·v0.2.3·Git & Code Hosting
Quality Score
67
/100

MCP server for GitLab and GitHub

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "git-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@raytien/git-mcp-server"
      ],
      "env": {
        "GIT_PROVIDER": "<git_provider>",
        "GIT_TOKEN": "<your-git_token>",
        "GIT_API_URL": "<git_api_url>",
        "GIT_READ_ONLY": "<git_read_only>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "git-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@raytien/git-mcp-server"
      ],
      "env": {
        "GIT_PROVIDER": "<git_provider>",
        "GIT_TOKEN": "<your-git_token>",
        "GIT_API_URL": "<git_api_url>",
        "GIT_READ_ONLY": "<git_read_only>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @raytien/git-mcp-server
§02  Environment variables
GIT_PROVIDER

Provider type: gitlab or github

GIT_TOKEN
requiredsecret

Personal Access Token for GitHub or GitLab

GIT_API_URL

API URL for self-hosted instances

GIT_READ_ONLY

Disable write operations (true/false)

§03  MCP Quality Score  ·  methodology
freshness
17
completeness
5
installability
25
documentation
15
stability
5
§04  Alternatives in Git & Code Hosting