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.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that enables communication with GitLab repositories, allowing interaction with GitLab's API to manage projects, issues, and repositories through natural language.Last updated4599,2441MIT
- Flicense-qualityCmaintenanceAn MCP server for the GitLab API that enables comprehensive project management, file operations, and issue tracking. It supports automated branch creation, batch file pushes, and interaction with merge requests and CI/CD logs.Last updated
- Alicense-qualityBmaintenanceMCP server for interacting with GitLab API, supporting both self-hosted instances and gitlab.com. Provides tools for managing issues, merge requests, code review, pipelines, milestones, releases, search, and file access.Last updated696MIT
- Alicense-qualityBmaintenanceMCP server for the GitLab REST API providing tools to manage projects, merge requests, pipelines, CI/CD variables, approvals, issues, and code reviews.Last updated5MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personalβ¦
MCP server for Appcircle mobile CI/CD platform.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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