Skip to content
mcp/skillhub

GitLab MCP Server

by vish288io.github.vish288/mcp-gitlabv0.15.0

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

6Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active1d ago

Install GitLab MCP server

Install in Claude Code

claude mcp add gitlab-vish288 -e GITLAB_TOKEN='<gitlab-token>' -e GITLAB_URL='<gitlab-url>' -e GITLAB_OAUTH_CLIENT_SECRET='<gitlab-oauth-client-secret>' -e GITLAB_OAUTH_JWT_KEY='<gitlab-oauth-jwt-key>' -- uvx mcp-gitlab

Configuration

VariableRequiredSecretDescription
GITLAB_TOKEN—yesGitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN
GITLAB_URLyes—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—yesSecret of the GitLab OAuth app (oauth mode)
GITLAB_OAUTH_BASE_URL——Public URL of this server, no trailing slash (oauth mode); redirect URI is <base>/auth/callback
GITLAB_OAUTH_SCOPES——Space-separated GitLab scopes required on every request (oauth mode; default api)
GITLAB_OAUTH_JWT_KEY—yesFastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)

Freshness

Active — last maintenance signal 1d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-08 · 1d ago · GitHub

  2. Latest release

    2026-10-06 · 3d ago · GitHub · v0.15.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-06 · 3d ago · official registry · v0.15.0

FAQ

›How do I install the GitLab MCP server in Claude Code?

Run: claude mcp add gitlab-vish288 -e GITLAB_TOKEN='<gitlab-token>' -e GITLAB_URL='<gitlab-url>' -e GITLAB_OAUTH_CLIENT_SECRET='<gitlab-oauth-client-secret>' -e GITLAB_OAUTH_JWT_KEY='<gitlab-oauth-jwt-key>' -- uvx mcp-gitlab. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does GitLab require an API key?

Yes. It expects GITLAB_URL, GITLAB_TOKEN, GITLAB_OAUTH_CLIENT_SECRET, GITLAB_OAUTH_JWT_KEY, of which 3 are secrets.

›Can I use GitLab as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is GitLab in the official MCP registry?

Yes, as io.github.vish288/mcp-gitlab.

Alternatives to GitLab

Other version control MCP servers.

View all