GitLab-MCP-ServerServer

owayo
GitHub
GitLabAI AssistantsIntegration

Loading subscription status...

💡 Description

This Model Context Protocol (MCP) server offers integration functionality with GitLab, providing specific project pipeline failure information and merge request comments to AI assistants for accurate support.

📝 JSON Entries

{
  "mcpServers": [
    {
      "gitlab-mcp": {
        "env": {
          "GITLAB_URL": "your_gitlab_url",
          "GIT_REPO_PATH": "/path/to/git/repo",
          "GITLAB_API_KEY": "your_gitlab_api_key",
          "GITLAB_PROJECT_NAME": "gitlab_project_name"
        },
        "args": [
          "--directory",
          "/path/to/this-mcp-server",
          "run",
          "main.py"
        ],
        "command": "uv"
      }
    }
  ]
}

🛠️ Tools

uv

Features

  • Retrieve information about failed jobs in GitLab pipelines
  • Access to unresolved comments on merge requests
  • Fetch changes from the base commit of merge requests

💬 Example Queries

  • Get console output of failed jobs in GitLab pipeline
  • Retrieve unresolved comments for merge requests in GitLab
  • Check the changes in the merge request compared to the current local repository state