Skip to main content
Glama
rokrokss
by rokrokss

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSENoSet to 'true' to enable Server-Sent Events transport.false
HOSTNoServer host address.127.0.0.1
PORTNoServer port.3002
NO_PROXYNoComma-separated list of hosts bypassing proxy.
HTTP_PROXYNoHTTP proxy server URL.
HTTPS_PROXYNoHTTPS proxy server URL.
GITLAB_TOOLSNoComma-separated list of individual tool names to add on top of enabled toolsets.
MAX_SESSIONSNoMaximum number of concurrent sessions allowed.1000
USE_PIPELINENoSet to 'true' to ensure pipeline-related tools are included.false
USE_MILESTONENoSet to 'true' to ensure milestone-related tools are included.false
GITLAB_API_URLNoYour GitLab API URL.https://gitlab.com/api/v4
GITLAB_TOOLSETSNoComma-separated list of toolset IDs to enable. Set to 'all' for all toolsets.
STREAMABLE_HTTPNoSet to 'true' to enable Streamable HTTP transport.false
USE_GITLAB_WIKINoSet to 'true' to ensure wiki-related tools are included.false
GITLAB_USE_OAUTHNoSet to 'true' to enable OAuth2 authentication instead of personal access token.false
GITLAB_PROJECT_IDNoDefault project ID. If set, overwrites this value when making an API request.
REMOTE_AUTHORIZATIONNoWhen set to 'true', enables remote per-session authorization via HTTP headers.false
GITLAB_READ_ONLY_MODENoWhen set to 'true', restricts the server to only expose read-only operations.false
GITLAB_OAUTH_CLIENT_IDNoThe Client ID from your GitLab OAuth application. Required when using OAuth.
GITLAB_AUTH_COOKIE_PATHNoPath to an authentication cookie file.
MAX_REQUESTS_PER_MINUTENoRate limit per session in requests per minute.60
SESSION_TIMEOUT_SECONDSNoSession auth token timeout in seconds.3600
GITLAB_DENIED_TOOLS_REGEXNoRegular expression to exclude matching tools.
GITLAB_OAUTH_REDIRECT_URINoThe OAuth callback URL.http://127.0.0.1:8888/callback
GITLAB_REPO_FILE_ENCODINGNoEncoding for repository file create/update. Use 'text' or 'base64'.
GITLAB_ALLOWED_PROJECT_IDSNoOptional comma-separated list of allowed project IDs.
GITLAB_OAUTH_CLIENT_SECRETNoThe Client Secret from your GitLab OAuth application. Required only for Confidential applications.
GITLAB_COMMIT_FILES_PER_PAGENoNumber of files per page for commit diffs.
GITLAB_PERSONAL_ACCESS_TOKENNoYour GitLab personal access token. Required for standard authentication (not OAuth).

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

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