---
title: "GitLab: setup for Claude, Cursor, Codex · DotsAgent"
description: "GitLab's built-in endpoint for issues, merge requests, pipelines and search, with selectable toolsets. Set up GitLab in 13 MCP clients."
url: https://dotsagent.io/mcp/servers/gitlab
---

Dev tools · GitLab

# Set up GitLab

GitLab's built-in endpoint for issues, merge requests, pipelines and search, with selectable toolsets.

- **Publisher**: GitLab Official
- **Hosted endpoint**: `https://gitlab.com/api/v4/mcp`
- **Transports**: streamable-http
- **Authentication**: OAuth. Self-managed instances use https://<host>/api/v4/mcp.
- **What it can touch**: Read and write; limit toolsets with the X-Gitlab-Enabled-Mcp-Server-Toolsets header.
- **Status**: Active

## Install

The vendor hosts this server, so you only add its URL and nothing runs on your machine. If it needs authentication, the row above says how; OAuth servers prompt you on first connection.

### Claude Code

`shell`

```
claude mcp add --transport http --scope project gitlab https://gitlab.com/api/v4/mcp
```

### Cursor

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "gitlab": {
      "url": "https://gitlab.com/api/v4/mcp"
    }
  }
}
```

### Codex

`~/.codex/config.toml`

```
[mcp_servers.gitlab]
url = "https://gitlab.com/api/v4/mcp"
```

[Config for other clients →](https://dotsagent.io/mcp/config#add=gitlab)

## Other servers in dev tools

- [Everything](https://dotsagent.io/mcp/servers/everything): Reference test server from the MCP project that exposes every protocol feature, for checking that a client works.

- [Git](https://dotsagent.io/mcp/servers/git): Works with a local Git repository from the agent: status, diffs, history, branches and commits, on a repo path you choose.

- [GitHub](https://dotsagent.io/mcp/servers/github): GitHub's own server for repos, issues, pull requests, Actions and code search, with switchable toolsets.

- [Figma](https://dotsagent.io/mcp/servers/figma): Feeds coding agents frames, variables and components from Figma files so the code they write matches the design.

- [Context7](https://dotsagent.io/mcp/servers/context7): Pulls current, version-specific library docs and code examples into the prompt. Hosted, with an optional API key.

- [Docker MCP Gateway](https://dotsagent.io/mcp/servers/docker-mcp-gateway): Runs servers from Docker's MCP catalogue in containers behind one gateway endpoint.

## Sources

1. [docs.gitlab.com](https://docs.gitlab.com/user/model_context_protocol/mcp_server/)/user/model_context_protocol/mcp_server/

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026
