Mcp-gitlab MCP Server

GitLab MCP server for MCP 2026-07-28: projects, MRs, files, reviews, pipelines, CI/CD, issues

Local serverstdio

What is the Mcp-gitlab MCP Server?

Mcp-gitlab is an MCP integration. GitLab MCP server for MCP 2026-07-28: projects, MRs, files, reviews, pipelines, CI/CD, issues.

Packages and local setup

The published pypi package is mcp-gitlab, version 0.19.0. Its declared MCP transport is stdio.

The package declares GITLAB_TOKEN: GitLab personal access token (token mode). Optional after mcp-gitlab auth login; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN; GITLAB_URL (required): GitLab instance URL (e.g. https://gitlab.com); GITLAB_READ_ONLY: Restrict to read-only operations (true/false); GITLAB_AUTH: Authentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only); GITLAB_OAUTH_CLIENT_ID: Application ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance); GITLAB_OAUTH_CLIENT_SECRET: Secret of the GitLab OAuth app (oauth mode); GITLAB_OAUTH_BASE_URL: Public URL of this server, no trailing slash (oauth mode); redirect URI is /auth/callback; GITLAB_OAUTH_SCOPES: Space-separated GitLab scopes required on every request (oauth mode; default api); GITLAB_OAUTH_JWT_KEY: FastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret).

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.19.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related developer tools MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
GITLAB_TOKENGitLab personal access token (token mode). Optional after mcp-gitlab auth login; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKENCheck documentation
GITLAB_URLGitLab instance URL (e.g. https://gitlab.com)Yes
GITLAB_READ_ONLYRestrict to read-only operations (true/false)Check documentation
GITLAB_AUTHAuthentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)Check documentation
GITLAB_OAUTH_CLIENT_IDApplication ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)Check documentation
GITLAB_OAUTH_CLIENT_SECRETSecret of the GitLab OAuth app (oauth mode)Check documentation
GITLAB_OAUTH_BASE_URLPublic URL of this server, no trailing slash (oauth mode); redirect URI is /auth/callbackCheck documentation
GITLAB_OAUTH_SCOPESSpace-separated GitLab scopes required on every request (oauth mode; default api)Check documentation
GITLAB_OAUTH_JWT_KEYFastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)Check documentation