gitlab-mcp

(★ 1,909)

First gitlab mcp for you, building together

  • .dockerignore
  • .env.example
  • .eslintrc.json
  • .gitignore
  • .npmrc
  • .nvmrc
  • .prettierignore
  • .prettierrc
  • auth-retry.ts
  • CHANGELOG.md
  • config.ts
  • CONTRIBUTING.md
  • customSchemas.ts
  • Dockerfile
  • event.json
  • gitlab-client-pool.ts
  • glama.json
  • index.ts
  • LICENSE
  • Makefile
  • mkdocs.yml
  • oauth-proxy.ts
  • oauth.ts
  • package-lock.json
  • package.json
  • PR_SUMMARY.md
  • README.ko.md
  • README.md
  • README.zh-CN.md
  • requirements-docs.txt
  • schemas.ts
  • server.json
  • smithery.yaml
  • test-cli.js
  • test-note.ts
  • test-resolve-issue-note.ts
  • tsconfig.json

# Installation Guide

1. Get the code
git clone https://github.com/zereight/gitlab-mcp

Downloads the entire project code from GitHub to your computer.

cd gitlab-mcp

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Homebrew A package manager for macOS/Linux.
  • Node.js Node.js must be installed to use npm.
brew tap zereight/gitlab-mcp https://github.com/zereight/gitlab-mcp

Registers this project's repository (tap) with Homebrew.

brew install zereight/gitlab-mcp/zereight-mcp-gitlab

Installs the pre-built package via Homebrew — no source build required.

npm install -g @zereight/mcp-gitlab

Installs the package published on the npm registry globally — no need to clone the source.

After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run -i --rm \

Runs the built image as an actual container.

docker run -d \

Runs the built image as an actual container.

Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

4. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
npm install -g @zereight/mcp-gitlab

Installs the package published on the npm registry globally — no need to clone the source.

npm test

Type this command into your terminal and run it.

npm run test:remote-auth

Type this command into your terminal and run it.

npm run test:all

Type this command into your terminal and run it.

npm run test:integration

Type this command into your terminal and run it.

After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

5. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make

Compiles the code based on the generated build configuration to produce an executable.

If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation