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 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Agostynah/gitlab-duo-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server