Skip to main content
Glama
DrBoria

md-gitlab-mcp

by DrBoria

md-gitlab-mcp 🦊

A fully-featured GitLab MCP Server tailored to behave like the GitHub MCP but specifically engineered for GitLab Data Centers, Instances, and Cloud.

md-gitlab-mcp is a Model Context Protocol (MCP) server written in TypeScript. It gives AI agents the powerful ability to interact deeply with GitLab via the REST API. This goes far beyond basic issue tracking and provides 25 advanced capabilities, identically structured to the famous GitHub MCP tools.

Features

This server exports an extensive list of tools allowing AI agents to:

  • Repositories: Search projects, create projects, get file contents, and importantly, push multi-file commits correctly using branching.

  • Merge Requests (PR Equivalents): Create MRs, approve MRs, list files changed globally, merge them, check CI/CD pipeline status, rebase, and comprehensively read notes/comments.

  • Issues: Create, list, search, update, and comment on issues seamlessly.

  • Search: Access Global Search to easily find issues, users, and code snippets across your entire GitLab instance.

Related MCP server: GitLab MCP Server

Why this exists?

The default @modelcontextprotocol/server-gitlab provides very limited tools (around 9 commands) and completely lacks operations regarding code review, reading pull request/merge request threads, or resolving discussions.

md-gitlab-mcp bridges this gap, adopting GitHub's best-practice MCP schema standards and flawlessly translating semantics (projects -> repos, merge requests -> pull requests internally but honoring GitLab's API structure) while delivering complete access to GitLab's API.

Usage

Agents powered by this MCP will see properly annotated tools with parameter descriptions via zod-to-json-schema, meaning the AI inherently knows exactly how to query your repositories without hallucination.

Quick Start (Roo Code / Cline)

You can directly add this to your mcp_settings.json:

{
  "mcpServers": {
    "gitlab": {
      "command": "node",
      "args": [
        "/path/to/md-gitlab-mcp/build/index.js"
      ],
      "env": {
        "GITLAB_API_URL": "https://gitlab.example.dev/api/v4",
        "GITLAB_PERSONAL_ACCESS_TOKEN": "your-access-token"
      }
    }
  }
}

Connecting with the Author

This tool is handcrafted and maintained by Mikita Dusmikeev. Check out my work and connect on social media:


Created in 2026. Code like there's no tomorrow.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DrBoria/md-gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server