Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSENoEnable legacy SSE endpointsfalse
NO_PROXYNoComma-separated hosts to bypass proxy
HTTP_HOSTNoHTTP bind host127.0.0.1
HTTP_PORTNoHTTP server port3333
HTTP_PROXYNoHTTP proxy for outbound requests
HTTPS_PROXYNoHTTPS proxy for outbound requests
MAX_SESSIONSNoMaximum concurrent sessions1000
USE_PIPELINENoEnable pipeline toolstrue
USE_MILESTONENoEnable milestone toolstrue
GITLAB_API_URLNoBase API URL for GitLab instancehttps://gitlab.com/api/v4
MCP_SERVER_URLNoPublic base URL for download proxy
USE_GITLAB_WIKINoEnable wiki toolstrue
GITLAB_JOB_TOKENNoCI job token fallback
GITLAB_MCP_OAUTHNoEnable MCP OAuth discovery/proxy endpointsfalse
GITLAB_USE_OAUTHNoSet to 'true' to use OAuth 2.0 PKCE authentication
GITLAB_TOKEN_FILENoPath to file containing token
GITLAB_USER_AGENTNoCustom User-Agent for GitLab requests
GITLAB_CA_CERT_PATHNoCustom CA certificate path (PEM)
GITLAB_TOKEN_SCRIPTNoPath to external script to resolve token
GITLAB_ALLOWED_TOOLSNoComma-separated list of allowed tool names
GITLAB_RESPONSE_MODENoResponse format: json, compact-json, or yamljson
OAUTH_STATELESS_MODENoUse stateless Streamable HTTPfalse
REMOTE_AUTHORIZATIONNoRequire per-request token headers in HTTP modefalse
GITLAB_READ_ONLY_MODENoEnable read-only modefalse
GITLAB_HTTP_TIMEOUT_MSNoUpstream GitLab HTTP timeout in milliseconds20000
GITLAB_OAUTH_CLIENT_IDNoOAuth application client ID (required if GITLAB_USE_OAUTH=true)
GITLAB_AUTH_COOKIE_PATHNoPath to Netscape cookie file for cookie-based auth
MAX_REQUESTS_PER_MINUTENoPer-session rate limit300
SESSION_TIMEOUT_SECONDSNoIdle session timeout in seconds3600
GITLAB_CLOUDFLARE_BYPASSNoAdd browser-like headers for Cloudflare-protected instancesfalse
GITLAB_ERROR_DETAIL_MODENoError verbosity: safe or fullsafe
GITLAB_DENIED_TOOLS_REGEXNoRegex pattern to deny tools
GITLAB_MAX_RESPONSE_BYTESNoMaximum response payload size in bytes200000
GITLAB_OAUTH_REDIRECT_URINoOAuth redirect URIhttp://127.0.0.1:8765/callback
GITLAB_ALLOWED_PROJECT_IDSNoComma-separated list of allowed project IDs
GITLAB_OAUTH_CLIENT_SECRETNoOAuth client secret for confidential apps
GITLAB_MAX_LOCAL_FILE_BYTESNoMaximum local file size for downloads250000000
GITLAB_DISABLED_CAPABILITIESNoComma-separated capabilities to disable
GITLAB_DOWNLOAD_TOKEN_SECRETNoSecret for short-lived download proxy URLs
GITLAB_PERSONAL_ACCESS_TOKENNoPersonal access token for GitLab authentication
GITLAB_DOWNLOAD_TOKEN_TTL_SECONDSNoLifetime of download proxy URLs in seconds300
GITLAB_ALLOW_GRAPHQL_WITH_PROJECT_SCOPENoKeep GraphQL tools enabled when project scope restriction is activefalse

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/mcpland/gitlab-mcp'

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