Skip to main content
Glama
by ttpears
.env.example1.42 kB
# GitLab MCP Server Configuration # GitLab instance URL (for self-hosted GitLab) GITLAB_URL=https://gitlab.com # Authentication mode: 'shared', 'per-user', or 'hybrid' (default) # - shared: Only use shared token, no per-user auth # - per-user: Only allow per-user authentication # - hybrid: Allow both shared (for read-only) and per-user auth (recommended) GITLAB_AUTH_MODE=hybrid # Optional: Shared GitLab access token for read-only operations # Generate at: GitLab → User Settings → Access Tokens # Required scopes: read_api (minimum) # If not provided, all operations will require user authentication GITLAB_SHARED_ACCESS_TOKEN= # Users will provide their own tokens for write operations # User tokens should have 'api' scope for full functionality # Maximum page size for paginated requests (1-100) GITLAB_MAX_PAGE_SIZE=50 # Request timeout in milliseconds GITLAB_TIMEOUT=30000 # Server configuration for HTTP/LibreChat integration # IMPORTANT: Use GITLAB_MCP_PORT (not PORT) to avoid conflicts with LibreChat # Leave empty for stdio transport (direct CLI usage) GITLAB_MCP_PORT=8008 # Transport mode: 'http' for LibreChat/Streamable HTTP, omit for stdio MCP_TRANSPORT=http # Docker build configuration (optional) # Specify which version/tag to build in Docker # Examples: main (latest), v1.1.0 (specific release), develop (dev branch) GITLAB_MCP_VERSION=main # Development settings NODE_ENV=production

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

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