Best for
- Users who need to inspect or manage GitLab merge requests and issues through MCP.
- Teams using an AI agent to assist code review and holding appropriate GitLab project access.
This server provides tools to inspect GitLab projects, merge requests, and issues, with some write operations for comments and merge request titles and descriptions. It suits users with appropriate project access who want MCP-assisted code review. Configure the access token carefully because some tools modify GitLab content.
Strongest · Setup experience 11/20 Weakest · Reliability 6/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js
MR_MCP_GITLAB_TOKEN
GitLab API access token; create a token with the required API access.
MR_MCP_GITLAB_HOST
GitLab host address; provide the host for your GitLab instance.
MR_MCP_MIN_ACCESS_LEVEL
Optional minimum project access-level filter; see GitLab documentation for valid access levels.
MR_MCP_PROJECT_SEARCH_TERM
Optional search term matched against project path or name; provide a term to filter projects.
Requires Node.js, a GitLab access token with API access, and GitLab project ID(s). Install dependencies, then configure your MCP client to run node /path/to/gitlab-mr-mcp/index.js and set MR_MCP_GITLAB_TOKEN and MR_MCP_GITLAB_HOST. The README also describes installation for Claude Desktop through Smithery.
{"mcpServers":{"gitlab-mr-mcp":{"command":"node","args":["/path/to/gitlab-mr-mcp/index.js"],"env":{"MR_MCP_GITLAB_TOKEN":"your_gitlab_token","MR_MCP_GITLAB_HOST":"your_gitlab_host"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"gitlab-mr-mcp": {
"command": "node",
"args": [
"/path/to/gitlab-mr-mcp/index.js"
],
"env": {
"MR_MCP_GITLAB_TOKEN": "your_gitlab_token",
"MR_MCP_GITLAB_HOST": "your_gitlab_host"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.gitlab-mr-mcp] command = "node" args = ["/path/to/gitlab-mr-mcp/index.js"] [mcp_servers.gitlab-mr-mcp.env] MR_MCP_GITLAB_TOKEN = "your_gitlab_token" MR_MCP_GITLAB_HOST = "your_gitlab_host"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add gitlab-mr-mcp -e MR_MCP_GITLAB_TOKEN=your_gitlab_token -e MR_MCP_GITLAB_HOST=your_gitlab_host -- node /path/to/gitlab-mr-mcp/index.js
Run it in a terminal; replace any <…> placeholders with your own values first.
Check that `get_projects` and `list_open_merge_requests` appear in your client's tool list. Call `get_projects` and confirm it returns GitLab projects you can access.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
GitLab MR MCP is an MCP server that lets AI agents interact with GitLab repositories. It provides tools to inspect projects, merge requests, and issues, and to manage merge request comments, titles, and descriptions.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 456bac7e41ef Data synced 2026-12-05 Read the FMRS scoring method Markdown