Efficient GitLab MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SSE | No | Enable SSE transport | false |
| HOST | No | HTTP server host | 127.0.0.1 |
| PORT | No | HTTP server port | 3002 |
| LOG_LEVEL | No | debug, info, warn, error | info |
| LOG_FORMAT | No | json, pretty | pretty |
| CI_JOB_TOKEN | No | GitLab CI job token (auto-detected in CI pipelines) | |
| MAX_SESSIONS | No | Maximum concurrent sessions | 1000 |
| GITLAB_IS_OLD | No | For older GitLab instances | false |
| GITLAB_API_URL | No | GitLab instance URL | https://gitlab.com |
| STREAMABLE_HTTP | No | Enable HTTP transport | false |
| GITLAB_PROJECT_ID | No | Default project ID when tools omit project_id | |
| HTTP_ALLOWED_HOSTS | No | Allowed Host headers | localhost,127.0.0.1 |
| HTTP_ALLOWED_ORIGINS | No | Allowed Origin headers (default any) | |
| REMOTE_AUTHORIZATION | No | Enable remote auth | false |
| GITLAB_READ_ONLY_MODE | No | Only expose read-only tools | false |
| ENABLE_DYNAMIC_API_URL | No | Allow dynamic GitLab URLs | false |
| MAX_REQUESTS_PER_MINUTE | No | Rate limit per session | 60 |
| SESSION_TIMEOUT_SECONDS | No | Session timeout | 3600 |
| GITLAB_ALLOWED_PROJECT_IDS | No | Restrict tools to these projects (comma-separated) | |
| GITLAB_PERSONAL_ACCESS_TOKEN | No | GitLab personal access token (takes priority over CI_JOB_TOKEN) | |
| HTTP_ENABLE_DNS_REBINDING_PROTECTION | No | Enable DNS rebinding attack protection | true |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/detailobsessed/efficient-gitlab-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server