Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DUO_MOCKNo1/true → return a canned review (no Duo).
DUO_CLI_CWDNoWorking directory Duo runs in.
GITLAB_TOKENNoGitLab token passed through to Duo subprocess.
DUO_TOOL_NAMENoTool name registered with MCP.duo_review
DUO_TIMEOUT_MSNoPer-run timeout (ms).120000
DUO_CLI_COMMANDNoExecutable to launch.glab
GITLAB_BASE_URLNoGitLab base URL passed through to Duo subprocess.
GITLAB_DUO_MODELNoDefault model (e.g. gpt_5_codex).
DUO_CLI_BASE_ARGSNoSub-command args (space separated).duo cli run
DUO_CLI_GOAL_FLAGNoFlag that carries the prompt.--goal
DUO_CLI_EXTRA_ARGSNoExtra args appended to every call.
DUO_CLI_MODEL_FLAGNoFlag that carries the model.--model
DUO_MAX_OUTPUT_CHARSNoMax raw output kept in raw.100000
DUO_MAX_INLINE_GOAL_CHARSNoAbove 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 diff (and/or files/instructions), and you get back a stable JSON structure with a summary and a list of issues (type, severity, file, line, message, suggestion). If Duo answers with prose instead of JSON, the result is still returned with degraded: true and the raw text in summary/raw. Your agent can then act on the issues (e.g. write fixes).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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