MCP.so
登录

🚀 GitLab MR MCP

@kopfrechner

关于 🚀 GitLab MR MCP

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

基本信息

分类

版本控制

许可证

MIT

运行时

node

传输方式

stdio

发布者

kopfrechner

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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\"}\""
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from 🚀 GitLab MR MCP

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.

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.

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.

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.

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.

评论

版本控制 分类下的更多 MCP 服务器