Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSENoSet to true to enable SSE transport.
HOSTNoHost interface the server should bind to, for example 0.0.0.0.
PORTNoPort the server should listen on.
GITLAB_TOOLSNoComma-separated allow-list of individual GitLab tools.
MAX_SESSIONSNoMaximum number of concurrent sessions.1000
USE_PIPELINENoLegacy flag to enable pipeline API. Prefer GITLAB_TOOLSETS=pipelines.
USE_MILESTONENoLegacy flag to enable milestone API. Prefer GITLAB_TOOLSETS=milestones.
GITLAB_API_URLNoGitLab API base URL, for example https://gitlab.com/api/v4.
MCP_SERVER_URLNoPublic HTTPS URL of this MCP server; required for MCP OAuth and used for host/origin checks.
SSE_AUTH_TOKENNoBearer token expected by the SSE endpoint when SSE transport is enabled.
GITLAB_TOOLSETSNoComma-separated toolset groups to enable, for example wiki,milestones,pipelines.
MCP_SERVER_NAMENoDistinct server name for multiple side-by-side deployments.
MCP_TRUST_PROXYNoSet to true when behind a trusted reverse proxy to trust Forwarded and X-Forwarded-* headers.
STREAMABLE_HTTPNoSet to true to enable Streamable HTTP transport. Required for REMOTE_AUTHORIZATION and GITLAB_MCP_OAUTH.
USE_GITLAB_WIKINoLegacy flag to enable wiki API. Prefer GITLAB_TOOLSETS=wiki.
GITLAB_JOB_TOKENNoGitLab CI job token credential.
GITLAB_MCP_OAUTHNoSet to true to enable remote MCP OAuth proxy authentication.
GITLAB_USE_OAUTHNoSet to true to enable local OAuth2 browser authentication.
MCP_ALLOWED_HOSTSNoAllowed Host header values for /mcp to protect against DNS rebinding.
GITLAB_OAUTH_APP_IDNoClient ID of the pre-registered GitLab OAuth application for MCP OAuth.
GITLAB_OAUTH_SCOPESNoComma-separated GitLab OAuth scopes to request.
MCP_ALLOWED_ORIGINSNoAllowed Origin header values for /mcp.
GITLAB_ALLOWED_HOSTSNoComma-separated allowed hosts for X-GitLab-API-URL when dynamic API URL is enabled.
OAUTH_STATELESS_MODENoSet to true to enable stateless OAuth mode for multi-pod HPA deployments.
REMOTE_AUTHORIZATIONNoSet to true to enable per-request remote GitLab authorization for multi-user HTTP deployments.
GITLAB_READ_ONLY_MODENoLegacy read-only mode flag. Prefer GITLAB_PERMISSION_MODE=readonly.
ENABLE_DYNAMIC_API_URLNoSet to true to allow per-request GitLab API URL via the X-GitLab-API-URL header.
GITLAB_OAUTH_CLIENT_IDNoOAuth application client ID for local OAuth2 authentication.
GITLAB_PERMISSION_MODENoPermission level: readonly, modify, or full.full
OAUTH_STATELESS_SECRETNoShared secret used across all pods in stateless OAuth mode.
GITLAB_AUTH_COOKIE_PATHNoPath to a GitLab authentication cookie file.
MAX_REQUESTS_PER_MINUTENoRate limit for /mcp requests per client IP and per MCP session where applicable.60
SESSION_TIMEOUT_SECONDSNoInactivity timeout for stored session authorization tokens.3600
GITLAB_DENIED_TOOLS_REGEXNoRegex pattern for tools to deny.
GITLAB_OAUTH_REDIRECT_URINoLocal OAuth callback URI, for example http://127.0.0.1:8888/callback.
STREAMABLE_HTTP_AUTH_TOKENNoAuthentication token for Streamable HTTP when not using REMOTE_AUTHORIZATION or GITLAB_MCP_OAUTH.
GITLAB_OAUTH_ALLOWED_GROUPSNoComma-separated group full paths allowed to obtain a token in MCP OAuth mode.
GITLAB_OAUTH_CALLBACK_PROXYNoSet to true to use the MCP server's fixed /callback URL for remote MCP OAuth.
GITLAB_DISABLE_VERSION_CHECKNoSet to true to disable the startup new-version notice.
GITLAB_PERSONAL_ACCESS_TOKENNoGitLab Personal Access Token used for PAT authentication.
MCP_DANGEROUSLY_ALLOW_INSECURE_ISSUER_URLNoSet to true only for local HTTP development to allow an insecure issuer URL.
GITLAB_ALLOW_UNAUTHENTICATED_TOOL_DISCOVERYNoSet to true to allow unauthenticated initialize and tools/list requests in remote authorization mode.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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