md-gitlab-mcp
Provides tools for interacting with GitLab's REST API, enabling AI agents to manage projects, merge requests, issues, global search, and more across GitLab instances, data centers, and cloud.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@md-gitlab-mcpcreate a merge request from branch 'feature' to 'main' with title 'Add login'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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:
🌍 Website: md-code.space
💻 GitHub: github.com/DrBoria
🛒 VS Code Marketplace: drboria Extensions
👔 LinkedIn: Mikita Dusmikeev
📸 Instagram: @mdcode.official
📱 TikTok: @mdcode.official
Created in 2026. Code like there's no tomorrow.
This server cannot be installed
Maintenance
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