Gitlab Mr MCP Server

A Model Context Protocol (MCP) server for interacting with GitLab merge requests and issues.

Local serverstdio

What is the Gitlab Mr MCP MCP server?

A Model Context Protocol (MCP) server for interacting with GitLab merge requests and issues. Exposed over MCP by the gitlab mr mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

Configuration

You will need 6 environment variables: MR_MCP_GITLAB_TOKEN, MR_MCP_GITLAB_HOST, MR_MCP_MIN_ACCESS_LEVEL, MR_MCP_PROJECT_SEARCH_TERM, YOUR_GITLAB_TOKEN, YOUR_GITLAB_HOST. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by kopfrechner; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the gitlab mr mcp mcp server does with a few real requests.

How to install the Gitlab Mr MCP MCP server

{
  "mcpServers": {
    "gitlab-mr": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "MR_MCP_GITLAB_TOKEN": "your-value",
        "MR_MCP_GITLAB_HOST": "your-value",
        "MR_MCP_MIN_ACCESS_LEVEL": "your-value",
        "MR_MCP_PROJECT_SEARCH_TERM": "your-value",
        "YOUR_GITLAB_TOKEN": "your-value",
        "YOUR_GITLAB_HOST": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
MR_MCP_GITLAB_TOKENCredential the server authenticates with.Yes
MR_MCP_GITLAB_HOSTEndpoint or connection string the server talks to.Optional
MR_MCP_MIN_ACCESS_LEVELConfiguration value read at startup.Optional
MR_MCP_PROJECT_SEARCH_TERMConfiguration value read at startup.Optional
YOUR_GITLAB_TOKENCredential the server authenticates with.Yes
YOUR_GITLAB_HOSTEndpoint or connection string the server talks to.Optional

Frequently asked questions

It connects Gitlab Mr MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Gitlab Mr MCP directly.