Skip to content
Gemini CLI

Advanced GitLab MCP server for Gemini CLI

io.github.structured-world/gitlab-mcp

58 CQRS tools exposing 230 GitLab operations across 26 entity types

client:Gemini CLI transport:stdio runtime:npm

Install Advanced GitLab MCP server in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "gitlab-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@structured-world/gitlab-mcp"
      ],
      "env": {
        "GITLAB_TOKEN": "<GITLAB_TOKEN>",
        "GITLAB_API_URL": "<GITLAB_API_URL>",
        "GITLAB_READ_ONLY_MODE": "<GITLAB_READ_ONLY_MODE>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Advanced GitLab MCP server in other clients