G

GitLab MCP server via glab

MCP discovered

Details
Transport
stdio
Docs
https://docs.gitlab.com/cli/mcp/
Authentication
GitLab OAuth application (client ID + client secret) + GitLab OAuth application (client ID + client secret) $ glab mcp serve discovered
GitLab OAuth application (client ID + client secret) oauth2 $ glab auth login --web

Acquired by the CLI — running glab auth login --web opens the auth flow and stores the credential.

GitLab OAuth application (client ID + client secret) $ glab auth login --device + GitLab OAuth application (client ID + client secret) $ glab mcp serve discovered
GitLab personal access token $ glab auth login --stdin + GitLab personal access token discovered
GitLab personal access token api_key $ glab mcp serve

Acquired by the CLI — running glab mcp serve opens the auth flow and stores the credential.

GitLab CI/CD job token $ glab auth login --job-token $CI_JOB_TOKEN + GitLab CI/CD job token discovered
GitLab CI/CD job token bearer $ glab mcp serve

Acquired by the CLI — running glab mcp serve opens the auth flow and stores the credential.