GitLab MCP ServerServer

rifqi96
GitHub
version controlCI/CDdeveloper tools

Loading subscription status...

πŸ’‘ Description

A Model Context Protocol (MCP) server that enables interaction with GitLab accounts, allowing for operations such as diff checking, merge request analysis, code review, and change selection. This is a comprehensive tool for managing GitLab repositories, including project management, branches, merge requests, issues, CI/CD pipelines, webhooks, and user/group administration.

πŸ“ JSON Entries

{
  "mcpServers": [
    {
      "gitlab": {
        "env": {
          "GITLAB_API_URL": "https://gitlab.com/api/v4",
          "GITLAB_API_TOKEN": "YOUR_GITLAB_API_TOKEN"
        },
        "args": [
          "/path/to/mcp-gitlab/build/index.js"
        ],
        "command": "node"
      }
    }
  ]
}

πŸ› οΈ Tools

gitlab_list_issuesgitlab_get_repository_filegitlab_add_webhookgitlab_create_cicd_variablegitlab_list_groupsgitlab_get_cicd_variablegitlab_list_merge_requestsgitlab_create_merge_request_note

⚑ Features

  • Comprehensive tools for GitLab repository interaction
  • Project management and CI/CD integration
  • User and group management

πŸ’¬ Example Queries

  • Could you list my GitLab projects?
  • Can you show me the details of merge request with ID 123 in the project 'mygroup/myproject'?
  • Please add a comment to merge request 123 in project 'mygroup/myproject' saying 'This looks good, but please add more tests.'
  • Add an internal note to merge request 123 in project 'mygroup/myproject' that says 'Needs security review before merging.' Make sure it's only visible to team members.
  • Update the title of merge request 123 in project 'mygroup/myproject' to 'Fix login page performance issues' and update the description to include 'This PR addresses the slow loading times on the login page by optimizing database queries.'
  • Compare the 'feature-branch' with 'main' in the project 'mygroup/myproject' and show me the differences.