Efficient GitLab MCP is a server that provides a modular architecture for managing GitLab resources with a focus on token efficiency and maintainability.
From the registry: GitLab MCP Server with progressive disclosure - 2 meta-tools, 90% token reduction
Please install the `efficient-gitlab` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **GitLab Personal Access Token** — Create a PAT with 'api' scope (or 'read_api' for read-only) (https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["efficient-gitlab-mcp-server@latest"]
- required environment variables:
- `GITLAB_PERSONAL_ACCESS_TOKEN`: GitLab Personal Access Token (takes priority over CI_JOB_TOKEN) (example: `<your-gitlab-pat>`)
- optional environment variables:
- `CI_JOB_TOKEN`: GitLab CI job token (auto-detected in CI pipelines)
- `GITLAB_API_URL`: GitLab instance URL (example: `https://gitlab.com`)
- `GITLAB_PROJECT_ID`: Default project ID when tools omit project_id
- `GITLAB_ALLOWED_PROJECT_IDS`: Restrict tools to these projects (comma-separated)
- `GITLAB_READ_ONLY_MODE`: Only expose read-only tools (example: `false`)
- `GITLAB_IS_OLD`: For older GitLab instances (example: `false`)
- `STREAMABLE_HTTP`: Enable HTTP transport (example: `false`)
- `SSE`: Enable SSE transport (example: `false`)
- `PORT`: HTTP server port (example: `3002`)
- `HOST`: HTTP server host (example: `127.0.0.1`)
- `LOG_LEVEL`: Log level (debug/info/warn/error) (example: `info`)
- `LOG_FORMAT`: Log format (json/pretty) (example: `pretty`)
Note: Fork of zereight/gitlab-mcp with progressive disclosure. Supports HTTP/SSE transports via env vars.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.GITLAB_PERSONAL_ACCESS_TOKENrequiredA GitLab Personal Access Token for full access to GitLab resources.GITLAB_API_URLrequiredThe URL of the GitLab API to connect to.Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.