Skip to main content
Glama
DevquasarX9

gitlab-mcp-server

by DevquasarX9

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNodebug, info, warn, or errorinfo
GITLAB_TOKENYesGitLab PAT, project access token, group access token, or OAuth bearer token
GROUP_ALIASESNoComma-separated alias=my-group mappings for group_id inputs
MCP_HTTP_HOSTNoHTTP bind host127.0.0.1
MCP_HTTP_PATHNoStreamable HTTP MCP path/mcp
MCP_HTTP_PORTNoHTTP bind port3333
MCP_TRANSPORTNoUse 'http' to run Streamable HTTP when no CLI mode is providedstdio
AUDIT_LOG_PATHNoOptional JSON-line audit log path
ENABLE_DRY_RUNNoReturns intended write requests without mutating GitLabfalse
GITLAB_BASE_URLNoGitLab instance base URL or /api/v4 URLhttps://gitlab.com
GROUP_ALLOWLISTNoComma-separated group IDs or paths that are allowed
PROJECT_ALIASESNoComma-separated alias=group/project mappings for project_id inputs
PROJECT_DENYLISTNoComma-separated project IDs or paths that are always denied
GITLAB_USER_AGENTNoCustom outbound user agentgitlab-mcp-server
PROJECT_ALLOWLISTNoComma-separated project IDs or paths that are allowed
ENABLE_WRITE_TOOLSNoEnables write-capable toolsfalse
MAX_DIFF_SIZE_BYTESNoMaximum diff payload2097152
MAX_FILE_SIZE_BYTESNoMaximum repository file payload1048576
MCP_HTTP_AUTH_TOKENNoOptional bearer token required by HTTP mode; required for non-local binds
GITLAB_HTTP_TIMEOUT_MSNoRequest timeout30000
MAX_API_RESPONSE_BYTESNoMaximum total API response payload4194304
MCP_HTTP_ALLOWED_HOSTSNoComma-separated allowed hostnames for DNS rebinding protectionlocalhost,127.0.0.1,[::1]
GITLAB_MCP_TOOL_PROFILENoLimits MCP tool discovery to a workflow profilereadonly
ENABLE_DESTRUCTIVE_TOOLSNoEnables destructive tools that also require per-call confirmationfalse
GITLAB_MCP_ENABLED_TOOLSNoComma-separated explicit tool allowlist applied after the profile
GITLAB_TOKEN_HEADER_MODENoUse 'private-token' when required by some self-managed setupsbearer
MCP_HTTP_ALLOWED_ORIGINSNoComma-separated browser origins allowed in HTTP mode
GITLAB_MCP_DISABLED_TOOLSNoComma-separated explicit tool denylist applied after the profile
MCP_HTTP_ALLOW_NON_LOCALHOSTNoAllows non-local HTTP binds only when a bearer token is also configuredfalse
EXPOSE_SECRET_VARIABLE_VALUESNoKeeps CI/CD secret values redacted unless explicitly enabledfalse
GITLAB_MCP_EXPOSE_DISABLED_WRITESNoCompatibility override to advertise write/destructive tools even when server-side gates are disabledfalse

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DevquasarX9/mcp-gitlab'

If you have feedback or need assistance with the MCP directory API, please join our Discord server