Skip to content
mcp-gitlab logo
MCP server
Registry

mcp-gitlab MCP Server

GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only

mcp-gitlab scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It declares 40 tools. Filed under Version control. GitHub shows 7 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by vish288MITPython7 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 3 + 10 + 10 + 3 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity3 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 3 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "vish288-mcp-gitlab": {      "command": "uvx",      "args": [        "mcp-gitlab"      ],      "env": {        "GITLAB_TOKEN": "YOUR_GITLAB_TOKEN",        "GITLAB_URL": "",        "GITLAB_READ_ONLY": "",        "MCP_READ_ONLY": "",        "MCP_TOOLSETS": "",        "MCP_TOOLS": "",        "MCP_EXCLUDE_TOOLS": "",        "GITLAB_AUTH": "",        "GITLAB_OAUTH_CLIENT_ID": "",        "GITLAB_OAUTH_CLIENT_SECRET": "YOUR_GITLAB_OAUTH_CLIENT_SECRET",        "GITLAB_OAUTH_BASE_URL": "",        "GITLAB_OAUTH_SCOPES": "",        "GITLAB_OAUTH_JWT_KEY": "YOUR_GITLAB_OAUTH_JWT_KEY",        "GITLAB_HTTP_BEARER_TOKEN": "YOUR_GITLAB_HTTP_BEARER_TOKEN"      }    }  }}

Environment variables

NameRequiredNotes
GITLAB_TOKENSecretOptionalGitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN
GITLAB_URLRequiredGitLab instance URL (e.g. https://gitlab.com)
GITLAB_READ_ONLYOptionalAlias for MCP_READ_ONLY. Any value other than false/0/no/off/empty locks the server read-only; --read-only can only raise the lock
MCP_READ_ONLYOptionalLocks the server read-only: write tools and write-workflow prompts are not listed and nothing lifts the lock at runtime. Shared name across the mcp-* servers; set it in the deployer's env
MCP_TOOLSETSOptionalComma list of tool groups to expose (code, review, ci, issues, release, admin); unset or 'all' lists every tool. Shrinks tools/list for clients with a tool budget; MCP_READ_ONLY still applies after the selection
MCP_TOOLSOptionalComma list of tool names to expose, exactly as in tools/list (e.g. gitlab_get_mr,gitlab_list_mrs); unset lists every tool the toolsets allow. Applied after MCP_TOOLSETS; unknown names exit 2
MCP_EXCLUDE_TOOLSOptionalComma list of tool names to hide, exactly as in tools/list; applied after MCP_TOOLSETS and MCP_TOOLS. Unknown names, or a selection that leaves no tools, exit 2
GITLAB_AUTHOptionalAuthentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)
GITLAB_OAUTH_CLIENT_IDOptionalApplication ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)
GITLAB_OAUTH_CLIENT_SECRETSecretOptionalSecret of the GitLab OAuth app (oauth mode)
GITLAB_OAUTH_BASE_URLOptionalPublic URL of this server, no trailing slash (oauth mode); redirect URI is <base>/auth/callback
GITLAB_OAUTH_SCOPESOptionalSpace-separated GitLab scopes required on every request (oauth mode; default api)
GITLAB_OAUTH_JWT_KEYSecretOptionalFastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)
GITLAB_HTTP_BEARER_TOKENSecretOptionalBearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send it as 'Authorization: Bearer <token>' (token mode; --auth oauth has its own sign-in)
GITLAB_TOKENSecretOptionalGitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN
GITLAB_URLRequiredGitLab instance URL (e.g. https://gitlab.com)
GITLAB_READ_ONLYOptionalAlias for MCP_READ_ONLY. Any value other than false/0/no/off/empty locks the server read-only; --read-only can only raise the lock
MCP_READ_ONLYOptionalLocks the server read-only: write tools and write-workflow prompts are not listed and nothing lifts the lock at runtime. Shared name across the mcp-* servers; set it in the deployer's env
MCP_TOOLSETSOptionalComma list of tool groups to expose (code, review, ci, issues, release, admin); unset or 'all' lists every tool. Shrinks tools/list for clients with a tool budget; MCP_READ_ONLY still applies after the selection
MCP_TOOLSOptionalComma list of tool names to expose, exactly as in tools/list (e.g. gitlab_get_mr,gitlab_list_mrs); unset lists every tool the toolsets allow. Applied after MCP_TOOLSETS; unknown names exit 2
MCP_EXCLUDE_TOOLSOptionalComma list of tool names to hide, exactly as in tools/list; applied after MCP_TOOLSETS and MCP_TOOLS. Unknown names, or a selection that leaves no tools, exit 2
GITLAB_AUTHOptionalAuthentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)
GITLAB_OAUTH_CLIENT_IDOptionalApplication ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)
GITLAB_OAUTH_CLIENT_SECRETSecretOptionalSecret of the GitLab OAuth app (oauth mode)
GITLAB_OAUTH_BASE_URLOptionalPublic URL of this server, no trailing slash (oauth mode); redirect URI is <base>/auth/callback
GITLAB_OAUTH_SCOPESOptionalSpace-separated GitLab scopes required on every request (oauth mode; default api)
GITLAB_OAUTH_JWT_KEYSecretOptionalFastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)
GITLAB_HTTP_BEARER_TOKENSecretOptionalBearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send it as 'Authorization: Bearer <token>' (token mode; --auth oauth has its own sign-in)

Tools40Tool docs quality grade D

All capabilities

About

GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only

Frequently asked questions

What is mcp-gitlab MCP Server?

GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only

How do I install mcp-gitlab MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-gitlab MCP Server runs locally from the PyPI package mcp-gitlab with the command uvx mcp-gitlab.

Is mcp-gitlab MCP Server free and open source?

Yes. mcp-gitlab MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does mcp-gitlab MCP Server support remote (HTTP) connections?

No remote endpoint is listed for mcp-gitlab MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does mcp-gitlab MCP Server provide?

mcp-gitlab MCP Server provides 40 tools, including gitlab_approve_mr, gitlab_compare, gitlab_create_branch, and gitlab_create_commit. See the full tool list for descriptions and parameters.

How is mcp-gitlab MCP Server's trust score calculated?

mcp-gitlab MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server