Git
Read, search and manipulate Git repositories: status, diff, log, commit, branch and more
MOmodelcontextprotocol/servers92k200 new stars in the last 7 days
Go MCP server for GitLab: 2 dynamic tools reach ~879 actions on Free/CE, up to ~1106 on Ultimate.
All of GitLab for your AI assistant. Up to 1,121 actions over GitLab's REST and GraphQL APIs, from Free to Ultimate and on GitLab.com, in one self-contained binary that works with Claude, Cursor, VS Code, Codex and any other MCP client. You ask in plain language; it does the GitLab work.
11,396 tokens of startup context by default, the same on every GitLab tier (1,994 with GITLAB_MCP_CAPABILITY_SURFACE=minimal). Two tools reach the whole catalog, where listing every tool as its own costs from 573,534 to 735,678 tokens. Measured with the cl100k_base tokenizer and checked in CI. How it is measured
"Review merge request !15: is it safe to merge?" · "Why did the last pipeline fail?" · "List open issues assigned to me" · "Generate release notes from v1.0 to v2.0"
api, or read_api for the actions GitLab accepts from it; a fine-grained token, judged action by action from its grant; OAuth in HTTP mode. Each action's tool reference entry says which scope and which fine-grained permissions it needs.The buttons register the Docker image, so they need Docker; the Claude Desktop row downloads a native extension instead. Create a personal access token with the api scope (or read_api for the actions GitLab accepts from it; add GITLAB_MCP_READ_ONLY=true when nothing may be written).
| Client | One-click button | Token step |
|---|---|---|
| VS Code | prompts you (masked) | |
| Cursor | edit YOUR_GITLAB_TOKEN |
|
| LM Studio | edit YOUR_GITLAB_TOKEN |
|
| Kiro | edit YOUR_GITLAB_TOKEN |
|
| Claude Desktop | settings UI |
Claude Code. The registration command never carries the token: -e GITLAB_TOKEN forwards it from the environment Claude Code hands docker.
export GITLAB_TOKEN=glpat-xxxx
claude mcp add gitlab --transport stdio \
-- docker run -i --rm -e GITLAB_TOKEN ghcr.io/jmrplens/gitlab-mcp-server:latest
Any other client runs one of these as the server's command, with GITLAB_TOKEN in the environment it passes:
npx -y @jmrp.io/gitlab-mcp-server # npm, nothing installed first
uvx jmrplens-gitlab-mcp-server # PyPI, nothing installed first
dnx gitlab-mcp-server # NuGet (.NET 10 SDK), nothing installed first
brew install jmrplens/tap/gitlab-mcp-server # Homebrew, macOS and Linux
winget install --id jmrplens.gitlab-mcp-server -e # winget, Windows
docker run -i --rm -e GITLAB_TOKEN ghcr.io/jmrplens/gitlab-mcp-server:latest
For a self-managed instance, set GITLAB_URL=https://gitlab.example.com beside the token; with the Docker image, also forward it by adding -e GITLAB_URL to the docker arguments, since the container receives only the variables named there (Docker install). Every channel, per-client configuration and verification step is in the installation guide, and an assistant installing it for you will find the same in llms.txt.
To try it first, a public instance runs at https://mcp.jmrp.io/gitlab, and the browser inspector calls it read-only after an OAuth sign-in. Your token and every request pass through that machine, so run it yourself to keep using it; the hosted endpoint page says what it is and is not.
Everything else is at docs.jmrp.io/gitlab-mcp-server, in English and Spanish: getting started, configuration, tool surfaces, HTTP server mode, security, privacy and troubleshooting.
Contributions are welcome here on GitHub; CONTRIBUTING.md describes the workflow and how a change is reviewed, and CODE_OF_CONDUCT.md applies. GOVERNANCE.md says how decisions are made and who holds which role, and the roadmap says where the project is going. Report a vulnerability privately, as SECURITY.md describes. The server is MIT licensed (LICENSE).
Maintained by José M. Requena Plens · Project page · Hosted instance: mcp.jmrp.io/gitlab
Read, search and manipulate Git repositories: status, diff, log, commit, branch and more
MOmodelcontextprotocol/servers92k200 new stars in the last 7 days
Compress tool outputs, logs and files, cutting tokens by 20%-95% without changing answers.
HEheadroomlabs-ai/headroom81k538 new stars in the last 7 days
Index a codebase into a persistent knowledge graph and query its structure with far fewer tokens.
DEDeusData/codebase-memory-mcp49k309 new stars in the last 7 days
Manage repos, issues and PRs, analyze code and CI/CD workflows using natural language.
GIgithub/github-mcp-server35k181 new stars in the last 7 days
Retrieve code semantically, edit, refactor and debug at the symbol level.
ORoraios/serena32k209 new stars in the last 7 days
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
COcompiler-explorer/compiler-explorer19k7 new stars in the last 7 days