Skip to content

GitLab MCP Installation

Choose the installation method that best fits your workflow.

The fastest way to get started. The interactive wizard auto-detects your environment and configures everything:

bash
npx @structured-world/gitlab-mcp setup

See Setup Wizard for a detailed walkthrough.

Installation Methods

MethodBest ForGuide
Setup WizardFirst-time setup, auto-configurationInteractive, detects clients
npm / npxQuick start, CI/CDMinimal config, no install
DockerTeams, server deploymentsIsolated, scalable
Claude DesktopClaude Desktop usersOne-click .mcpb extension
VS CodeVS Code + GitHub Copilot usersOne-click install
CodexOpenAI Codex CLI usersDirect integration
ManualCustom setups, advanced usersFull control

Optional: PostgreSQL session backend

The server ships as two npm packages. The core @structured-world/gitlab-mcp package (installed above) uses in-memory or file OAuth-session storage and needs no database. For multiple replicas behind a load balancer, the optional @structured-world/gitlab-mcp-db package persists OAuth sessions in PostgreSQL — enable it with OAUTH_STORAGE_TYPE=postgresql. See the PostgreSQL deployment guide for setup.

Prerequisites

Next Steps

Released under the Apache 2.0 License.