Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITLAB_URLYesRequired HTTPS origin/base path; /api/v4 is appended. No credentials, query or fragment.
GITLAB_CA_FILENoOptional PEM trust bundle for this connection, replacing default roots. Otherwise Node default trust applies.
GITLAB_PROJECTSYesRequired write/event allow-list, no globs/groups. Exactly * opts in to all-projects mode, which widens events only.
GITLAB_LOG_LEVELNoLog level: debug, info, warn, error; stderr only.info
GITLAB_ALLOW_HTTPNoExplicit lab-only HTTP exception. Defaults to false.false
GITLAB_READ_ALLOWNoSame as projects: exact path/id, group/* including subgroups, or *. No default with GITLAB_PROJECTS=*; it must be set explicitly.
GITLAB_STATE_FILENoUnset means in memory; strongly recommended to set for restart continuity.
GITLAB_TOKEN_FILEYesRequired regular mode-600 PAT file; whitespace-only or embedded-whitespace tokens are refused.
GITLAB_TOOLS_DENYNoRemoves named tools, also from channel publication routes.
GITLAB_MAINTAINERSNoComma-separated usernames; optional maintainer tag only, not authority.
GITLAB_WRITE_ALLOWNoOnly valid with GITLAB_PROJECTS=*, where it is the only write authority and is required for every write feature set. Exact path, numeric id, or group/*; a bare * is refused.
GITLAB_BRANCH_WATCHNoComma-separated project:branch entries with exact branch names.
GITLAB_FEATURE_SETSNoComma-separated feature sets. Defaults to gitlab.events,gitlab.read.gitlab.events,gitlab.read
GITLAB_SYSTEM_NOTESNoWhether to drop or keep system notes; values are drop or keep.drop
NODE_EXTRA_CA_CERTSNoCan extend Node default CA trust at process startup when GITLAB_CA_FILE is unset.
GITLAB_CI_RETRY_REFSNoRetained for compatibility, but CI retry tools currently fail closed regardless of this value.
GITLAB_EVENT_SOURCESNoComma-separated event sources; also supports reviewing, branches, threads.todos,own-mrs,pipelines
GITLAB_MCPL_ENV_FILENoUsed by the Bash launcher deploy/gitlab-mcpl. It sources this operator-owned file; use shell quoting there, not systemd EnvironmentFile syntax.$HOME/.config/gitlab-mcpl/env
GITLAB_PIPELINE_REFSNoComma-separated exact refs, e.g. main.
GITLAB_DIFF_MAX_BYTESNoTotal diff text byte limit.200000
GITLAB_FILE_MAX_BYTESNoFile content byte limit; UTF-8 content with truncation flag.200000
GITLAB_MR_FORCE_DRAFTNoWhen true, create/title edits retain Draft and draft=false is refused.false
GITLAB_PIPELINE_SCOPENoPipeline scope; also supports users, refs.own-mrs,own-merges
GITLAB_PIPELINE_USERSNoComma-separated usernames of triggering users, e.g. a project-token account.
GITLAB_EXPECT_USERNAMENoOptional startup identity check.
GITLAB_HTTP_TIMEOUT_MSNoWhole request timeout in milliseconds, 1–300000, including streamed trace.30000
GITLAB_MR_TARGET_ALLOWNoEmpty means cannot create/retarget any MR.
GITLAB_POLL_OVERLAP_MSNoPolling overlap window in milliseconds; 1000–3600000.120000
GITLAB_POLL_INTERVAL_MSNoPolling interval in milliseconds; 30000–3600000, never zero in this polling-only release.60000
GITLAB_PROJECTS_EXCLUDENoOnly valid with GITLAB_PROJECTS=*. Exact path, numeric id, or group/* including subgroups.
GITLAB_JOB_EVENT_PATTERNNoComma-separated * job-name globs.
GITLAB_JOB_LOG_MAX_BYTESNoTail bytes for job logs; per-call smaller maximum allowed.65536
GITLAB_MERGE_AUTHOR_ONLYNoMerge author restriction. Defaults to true.true
GITLAB_MR_SOURCE_PATTERNNoEmpty means any branch not in target allow-list. Otherwise a * glob.
GITLAB_PIPELINE_PROJECTSNoSame as projects and must be a subset. With GITLAB_PROJECTS=*, empty and required for users/refs scope.
GITLAB_PIPELINE_STATUSESNoAllowed final pipeline statuses: success, failed, canceled, skipped.failed,success
GITLAB_SEARCH_FANOUT_MAXNoGroup search fanout maximum, range 1–30.10
GITLAB_JOB_EVENT_STATUSESNoJob event final-status vocabulary: success, failed, canceled, skipped.failed
GITLAB_MERGE_TARGET_ALLOWNoRequired when the merge set is declared.
GITLAB_DIFF_FILE_MAX_BYTESNoPer-file diff byte limit; cut files are listed.40000
GITLAB_OWN_MERGE_WINDOW_MSNoOwn-merge memory window in milliseconds; maximum 7 days.21600000
GITLAB_HOT_POLL_INTERVAL_MSNoHot polling interval in milliseconds; minimum 10000, 0 disables hot polling.20000
GITLAB_MERGE_REQUIRE_PIPELINENoRequires a successful pipeline for exactly the head SHA. Defaults to true.true
GITLAB_PIPELINE_EVENT_LOG_BYTESNoFailed-job log tail bytes. Defaults to 0 (off); examples use 4096. Maximum 65536 useful-text bytes per failed job, at most three jobs.0
GITLAB_MERGE_REMOVE_SOURCE_BRANCHNoWhether merge should remove the source branch. Defaults to false.false

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