# Gitlab MCP Server

Connects AI assistants to GitLab REST and GraphQL APIs through an action catalog with search, execution, and confirmation guards.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 841 installs
- Author: jmrp
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/jmrp/gitlab-mcp-server
- Updated: 2026-04-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/jmrp-gitlab-mcp-server

## What it does

Written in Go, this server connects assistants to the full GitLab REST and GraphQL surface via stdio, HTTP, or OAuth. Instead of exposing every API route directly, it defaults to a two-tool setup: `gitlab_find_action` and `gitlab_execute_action`. This keeps your context window clear of giant schema dumps.

Searching the catalog with `gitlab_find_action` runs entirely locally without hitting the GitLab network API. It returns schemas, execution samples, and safety notices. Once the target action ID is known, `gitlab_execute_action` runs it with parameters passed as an object. Destructive tasks fail unless provided with an explicit top-level `confirm=true` flag.

The project supplies 46 resources, 38 prompts, and options for individual tool exposure or meta surfaces.

## Requirements
- Needs: a prebuilt binary from the repository releases
- Remote server: `https://gitlab-mcp-server--jmrp.run.tools`
- Works with: GitLab

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http gitlab-mcp-server https://gitlab-mcp-server--jmrp.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add jmrp-gitlab-mcp-server --url https://gitlab-mcp-server--jmrp.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "jmrp-gitlab-mcp-server": {
            "url": "https://gitlab-mcp-server--jmrp.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "jmrp-gitlab-mcp-server": {
            "type": "http",
            "url": "https://gitlab-mcp-server--jmrp.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http jmrp-gitlab-mcp-server https://gitlab-mcp-server--jmrp.run.tools
```

## When to use it
- search GitLab action schemas locally without triggering remote API calls
- execute GitLab REST and GraphQL operations through a unified action catalog
- prevent accidental deletion using mandatory confirmation flags
- wire a hosted HTTP MCP endpoint into developer environments

## Example prompts
- Find the GitLab catalog action for creating a project issue and show its schema
- Run the merge request action with `gitlab_execute_action` and project parameters
- Inspect destructive flags for repository removal using `gitlab_find_action`

## Similar
- [glab-api](https://affpapa.org/en/nevibecode/skills/glab-api.md) — skill · 170 installs
- [gitlab-cli-skills](https://affpapa.org/en/nevibecode/skills/gitlab-cli-skills.md) — skill · 1900 installs
- [gitlab-mcp-skill](https://affpapa.org/en/nevibecode/skills/gitlab-mcp-skill.md) — skill · 1400 installs
- [gitlab-workflow](https://affpapa.org/en/nevibecode/skills/gitlab-workflow.md) — skill · 1100 installs
- [cyrus-setup-gitlab](https://affpapa.org/en/nevibecode/skills/cyrus-setup-gitlab.md) — skill · 830 installs
- [gitlab-cicd-pipeline](https://affpapa.org/en/nevibecode/skills/gitlab-cicd-pipeline.md) — skill · 673 installs

## Other versions with the same name
- [GitLab MCP Server · zereight](https://affpapa.org/en/nevibecode/mcp/gitlab-mcp-server.md) — ★ 2115 repo stars
- [GitLab MCP Server · jmrplens](https://affpapa.org/en/nevibecode/mcp/jmrplens-gitlab-mcp-server.md) — ★ 53 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
