gitlab-duo-mcp-bridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DUO_MOCK | No | 1/true → return a canned review (no Duo). | |
| DUO_CLI_CWD | No | Working directory Duo runs in. | |
| GITLAB_TOKEN | No | GitLab token passed through to Duo subprocess. | |
| DUO_TOOL_NAME | No | Tool name registered with MCP. | duo_review |
| DUO_TIMEOUT_MS | No | Per-run timeout (ms). | 120000 |
| DUO_CLI_COMMAND | No | Executable to launch. | glab |
| GITLAB_BASE_URL | No | GitLab base URL passed through to Duo subprocess. | |
| GITLAB_DUO_MODEL | No | Default model (e.g. gpt_5_codex). | |
| DUO_CLI_BASE_ARGS | No | Sub-command args (space separated). | duo cli run |
| DUO_CLI_GOAL_FLAG | No | Flag that carries the prompt. | --goal |
| DUO_CLI_EXTRA_ARGS | No | Extra args appended to every call. | |
| DUO_CLI_MODEL_FLAG | No | Flag that carries the model. | --model |
| DUO_MAX_OUTPUT_CHARS | No | Max raw output kept in raw. | 100000 |
| DUO_MAX_INLINE_GOAL_CHARS | No | Above this prompt size, the goal (big diffs) is sent via a temp file instead of inline. | 7000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| duo_reviewA | Run a code review with the GitLab Duo CLI and return a normalized, fault-tolerant result. Use this to get a 'second opinion' review of a diff or set of files: pass a unified |
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/DataTalesByAgos/gitlab-duo-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server