Feedback

πŸš€ GitLab MR MCP

@kopfrechner Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
kopfrechner
Submitted by
Community
Quality
55
Stars
93

About πŸš€ GitLab MR MCP Server

Interact seamlessly with GitLab repositories to manage merge requests and issues. Fetch details, add comments, and streamline your code review process with ease.

πŸš€ GitLab MR MCP is a MCP server in the Version Control category listed in the AddMCP.net directory, published by kopfrechner. Supported transport: stdio. Runtime: node. License: MIT. The repository has 93 GitHub stars. Source code is hosted on github.com. Related topics: gitlab, mcp, mcp-server, merge-requests.

Setup

{
    "mcpServers": {
        "gitlab-mr-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli@latest",
                "install",
                "@kopfrechner/gitlab-mr-mcp",
                "--client",
                "claude",
                "--config",
                "\"{\"gitlabMrMcpToken\":\"YOUR_GITLAB_TOKEN\", \"gitlabMrMcpHost\": \"YOUR_GITLAB_HOST\"}\""
            ]
        }
    }
}

πŸš€ GitLab MR MCP config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "gitlab-mr-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli@latest",
                "install",
                "@kopfrechner/gitlab-mr-mcp",
                "--client",
                "claude",
                "--config",
                "\"{\"gitlabMrMcpToken\":\"YOUR_GITLAB_TOKEN\", \"gitlabMrMcpHost\": \"YOUR_GITLAB_HOST\"}\""
            ]
        }
    }
}

πŸš€ GitLab MR MCP tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is πŸš€ GitLab MR MCP?

πŸš€ GitLab MR MCP is a Model Context Protocol (MCP) server that enables AI agents to interact with GitLab repositories. It provides tools for reading and modifying merge requests and issues, making it useful for developers and automation workflows that need AI-assisted code review and project management.

How to use πŸš€ GitLab MR MCP?

Install via Smithery (npx @smithery/cli install @kopfrechner/gitlab-mr-mcp) or manually by cloning the repository and adding the server configuration to your MCP client. The server requires environment variables MR_MCP_GITLAB_TOKEN and MR_MCP_GITLAB_HOST to authenticate with your GitLab instance. Optional variables MR_MCP_MIN_ACCESS_LEVEL and MR_MCP_PROJECT_SEARCH_TERM can filter accessible projects.

Key features of πŸš€ GitLab MR MCP

  • List accessible GitLab projects
  • View open merge requests and detailed information
  • Retrieve and add general comments to merge requests
  • Get merge request diffs and add line-specific comments
  • Fetch issue details
  • Modify merge request title and description

Use cases of πŸš€ GitLab MR MCP

  • AI agent reviewing open merge requests and providing feedback
  • Automatically adding comments or summaries to code diffs
  • Assisting developers with issue triage from chat or coding assistants
  • Generating release notes by querying merge request details
  • Updating merge request metadata in bulk via automation

Frequently asked questions

1 What does πŸš€ GitLab MR MCP do?

It allows AI agents to list, read, comment on, and modify GitLab merge requests and issues using the Model Context Protocol. It covers tasks like viewing diffs, adding line-specific comments, and changing titles or descriptions.

2 What are the prerequisites?

Node.js, a GitLab personal access token with api or read_api scope, and the host URL of your GitLab instance. You also need the project ID(s) you wish to access.

3 How do I install and configure it?

You can install via Smithery or manually. For manual setup, clone the repository, run npm install, then add the server to your MCP client configuration with command: "node", args: ["/path/to/index.js"], and environment variables MR_MCP_GITLAB_TOKEN and MR_MCP_GITLAB_HOST.

4 How do I troubleshoot permission errors?

Ensure your GitLab token has the required scopes (api, read_api), the token’s user has the correct access level to the projects, and the project IDs are accurate.

5 What tools are available?

The server provides tools such as get_projects, list_open_merge_requests, get_merge_request_details, get_merge_request_comments, add_merge_request_comment, add_merge_request_diff_comment, get_merge_request_diff, get_issue_details, set_merge_request_title, and set_merge_request_description.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback πŸ’¬