MCP.so
ログイン

GitLab MR MCP Server

@kopfrechner

基本情報

カテゴリ

バージョン管理

ライセンス

MIT

トランスポート

stdio

作者

kopfrechner

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#mcp#merge-requests#mcp-server

GitLab MR MCP Server の設定

以下の設定を使って、このサーバーを 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\"}\""
      ]
    }
  }
}

GitLab MR MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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

よくある質問

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`.

コメント

「バージョン管理」の他のコンテンツ