GitLab · Vendor

GitLab MCP server

Work with GitLab projects, merge requests, work items, repositories and CI pipelines through the MCP endpoint built into GitLab.com, Self-Managed and Dedicated instances.

Is it a fit?

Suitable for

  • Reading and updating merge requests, issues/work items and notes on a GitLab instance.
  • Browsing repository files, commits, branches, tags and releases; inspecting pipelines and jobs.
  • Teams on GitLab Self-Managed who want the server inside their own instance, with no extra package.
  • Limiting the tool list per connection with toolset headers.

Choose another option when

  • Legacy personal, project or group access tokens; the server rejects them (403 insufficient_scope).
  • Clients that cannot send custom headers, if toolset selection is required.
  • A guaranteed read-only connection; no read-only mode is documented (toolset/tool headers narrow the list only).
  • GitHub or other forges.

Vendor cloud

Read and write. OAuth access token with the `mcp` scope via the client's OAuth flow, using OAuth 2.0 Dynamic Client Registration or a pre-registered (non-confidential) OAuth app's clientId. DCR is rate-limited to 10 registrations per hour per IP (shared egress IPs can fail). On GitLab.com the top-level group's 'Allow access to the MCP server' setting must be on (default on since 19.6 unless an Owner turned it off). Pre-registered apps created via REST API do not enforce PKCE.

Software: Not applicable; hosting: Not applicable; external API: Free tier.

Vendor cloud

Read and write. Fine-grained personal access token with the 'MCP tool' resource and Execute permission (GET/POST /mcp). Legacy PATs, project and group access tokens are rejected even with `api`. The MCP page checked does not show how a client sends the PAT (header form not stated) and every client example uses OAuth; strategy unknown. The token is issued in the user's GitLab.com access-token settings; a client-sent Authorization header is the expected form but is not shown in the sources checked.

Software: Not applicable; hosting: Not applicable; external API: Free tier.

No setup recipe published

This is a reference entry. The catalog has no published setup recipe for this server and does not generate one.

Use the publisher’s own instructions in the sources on this page. A listing here is not a compatibility test.

Check client compatibility · Troubleshoot a setup

What the record establishes

Publisher identity
Source matched; this is not a general safety certification.
Editorial record
Human review recorded ·
Last content review
Next review due
License
Unknown
Network observation
No network check is inferred from this directory record. A client test, a recipe test, and your own task result are separate evidence.

Runtime variants, permissions, and costs

Vendor cloud · Streamable HTTP · fixed endpoint gitlab.com

Reference only
Version
Not recorded
Authentication
OAuth
Account and credentials
OAuth access token with the `mcp` scope via the client's OAuth flow, using OAuth 2.0 Dynamic Client Registration or a pre-registered (non-confidential) OAuth app's clientId. DCR is rate-limited to 10 registrations per hour per IP (shared egress IPs can fail). On GitLab.com the top-level group's 'Allow access to the MCP server' setting must be on (default on since 19.6 unless an Owner turned it off). Pre-registered apps created via REST API do not enforce PKCE.
Runtime
Hosted service (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Default toolsets: meta (always), core, merge_requests, work_items, repository, ci, plus duo_agent_platform when available; wikis, code_security, orbit are opt-in. Write tools include save_project, create_issue, add_commit, save_merge_request, accept_merge_request, apply_suggestion, save_note, add_branch, fork_repository, save_pipeline, manage_pipeline, save_work_item, save_vulnerability, start_duo_session. Listing a tool does not grant access; each call checks project/namespace permissions. Docs warn the user is responsible for prompt injection from GitLab content. Tool calls can be recorded as AI audit events. Source declared
External destinations
gitlab.com

Three layers of cost

Software
Not applicable

Built into GitLab.com.

Checked
Review due

gitlab.com
Hosting
Not applicable

Runs on GitLab.com infrastructure.

Checked
Review due

gitlab.com
External API
Free tier

Available on Free, Premium and Ultimate (moved to Free in 19.2). Per-user limits on POST /api/v4/mcp: Free 60/min and 3,600/hour; Premium and Ultimate 600/min and 5,000/hour (hourly limits behind feature flags), shared across all of a user's clients. duo_agent_platform tools need Premium/Ultimate with Duo Agent Platform on or GitLab credits, plus a seat; code_security tools need Ultimate (incl. trials); semantic_search needs a Duo Core/Pro/Enterprise add-on.

Checked
Review due

gitlab.com · gitlab.com
Variant sources and lifecycle

Source lifecycle: active · observed . This is not a live connection check.

Vendor cloud · Streamable HTTP · fixed endpoint gitlab.com

Reference only
Version
Not recorded
Authentication
API key
Account and credentials
Fine-grained personal access token with the 'MCP tool' resource and Execute permission (GET/POST /mcp). Legacy PATs, project and group access tokens are rejected even with `api`. The MCP page checked does not show how a client sends the PAT (header form not stated) and every client example uses OAuth; strategy unknown. The token is issued in the user's GitLab.com access-token settings; a client-sent Authorization header is the expected form but is not shown in the sources checked.
Runtime
Hosted service (version not recorded)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Same tool surface as gitlab-com-oauth; how fine-grained PAT resource permissions further narrow individual tools is not stated in the pages checked. Source declared
External destinations
gitlab.com

Three layers of cost

Software
Not applicable

Built into GitLab.com.

Checked
Review due

gitlab.com
Hosting
Not applicable

Runs on GitLab.com infrastructure.

Checked
Review due

gitlab.com
External API
Free tier

Same plan and rate-limit model as gitlab-com-oauth.

Checked
Review due

gitlab.com
Variant sources and lifecycle

Source lifecycle: active · observed . This is not a live connection check.

A host you manage · Streamable HTTP · parameterized endpoint

Reference only
Version
Not recorded
Authentication
OAuth
Account and credentials
Same OAuth (`mcp` scope, DCR or pre-registered app) as gitlab-com-oauth, against the user's own instance. Administrator can turn off DCR, which then requires a pre-registered instance/group/user OAuth app and a client that accepts a clientId. Instance-level 'Allow access to the MCP server' must be on (on by default; turned on for existing instances in 19.5 unless an admin turned it off). The endpoint is on the instance's own hostname.
Runtime
Other runtime GitLab instance >= 19.5 for GA (HTTP transport since 18.6; Free tier since 19.2; toolset selection since 19.5)
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Same tool surface as gitlab-com-oauth, served by the user's instance (destination is the user's own host). Premium/Ultimate group or project tool rules (Always Deny / Always Ask) can filter the tool list via X-Gitlab-Namespace-Id. Whether tier-gated tools call further services (Duo, Orbit) is not stated. Source declared
External destinations
None recorded · additional destinations are unknown

Three layers of cost

Software
Free tier

Part of GitLab on Free, Premium and Ultimate tiers for Self-Managed; tier-gated tools (duo_agent_platform, code_security, semantic_search) need the matching license or add-on.

Checked
Review due

gitlab.com · gitlab.com
Hosting
Unknown

User-operated GitLab instance; hosting cost not assessed.

Checked Not recorded
Review due Not recorded

External API
Not applicable

No third-party service; the instance admin sets a single MCP request rate limit.

Checked
Review due

gitlab.com
Variant sources and lifecycle

Source lifecycle: active · observed . This is not a live connection check.

A host you manage · Streamable HTTP · parameterized endpoint

Reference only
Version
Not recorded
Authentication
API key
Account and credentials
Same fine-grained PAT rules as gitlab-com-fine-grained-pat, issued on the user's instance. Header form not stated in the pages checked. The endpoint is on the instance's own hostname.
Runtime
Other runtime GitLab instance >= 19.5 for GA
Data contact
Repository content, Account information
Access and execution
Read and write
Permissions
Same as instance-oauth. Source declared
External destinations
None recorded · additional destinations are unknown

Three layers of cost

Software
Free tier

Same as instance-oauth.

Checked
Review due

gitlab.com
Hosting
Unknown

User-operated GitLab instance; hosting cost not assessed.

Checked Not recorded
Review due Not recorded

External API
Not applicable

No third-party service.

Checked
Review due

gitlab.com
Variant sources and lifecycle

Source lifecycle: active · observed . This is not a live connection check.

Exact published recipes

Reference entry

No supported recipe is published for this server. The sources below and client compatibility guide remain available.

Decision notes

Built into GitLab.com, Self-Managed and Dedicated on every tier including Free; no package to install for HTTP clients.

Conditions: Top-level group (GitLab.com) or instance (Self-Managed/Dedicated) MCP access setting must be on; tier-gated toolsets need Premium/Ultimate or Duo.

Checked

OAuth (mcp scope) or fine-grained PAT only; legacy PATs and project/group tokens are rejected.

Conditions: Per vendor docs; support for other tokens proposed in issue 586184.

Checked

GitLab.com Free plan: 60 MCP requests per minute per user.

Conditions: Shared across all of a user's clients; hourly limits behind feature flags.

Checked

When the user has access to GitLab Duo Agent Platform, the GitLab MCP server sends server instructions on connect that tell the AI tool to propose a matching GitLab Duo flow and to confirm with the user before starting one.

Conditions: Per the GitLab documentation (server instructions added in GitLab 19.6); sent even when the toolset header leaves out duo_agent_platform. Not observed.

Checked

Sources and corrections

Report a factual correction · How evidence is labeled

Browse more servers