AgentHubAgentHub

Advanced GitLab MCP server

MCP ServerMCP Registry官方收录

io.github.structured-world/gitlab-mcp · v9.1.0

GitLab MCP server with 58 tools for projects, MRs, pipelines, and more

概览

Advanced GitLab MCP server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "gitlab-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@structured-world/gitlab-mcp"
      ],
      "env": {
        "GITLAB_TOKEN": "<GITLAB_TOKEN>"
      }
    }
  }
}

环境变量

GITLAB_TOKEN必填secret

GitLab Personal Access Token with 'api' and 'read_user' scopes

GITLAB_API_URL可选

GitLab instance API URL for self-hosted instances (defaults to https://gitlab.com)

GITLAB_READ_ONLY_MODE可选

Enable read-only mode (disable all manage_* write operations)

相关资源

统一 Manifest

{
  "id": "io.github.structured-world/gitlab-mcp",
  "type": "mcp-server",
  "version": "9.1.0",
  "displayName": "Advanced GitLab MCP server",
  "description": "GitLab MCP server with 58 tools for projects, MRs, pipelines, and more",
  "repository": {
    "url": "https://github.com/structured-world/gitlab-mcp",
    "source": "github"
  },
  "homepage": "https://gitlab-mcp.sw.foundation",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@structured-world/gitlab-mcp",
        "version": "9.1.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "GITLAB_TOKEN",
            "description": "GitLab Personal Access Token with 'api' and 'read_user' scopes",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "GITLAB_API_URL",
            "description": "GitLab instance API URL for self-hosted instances (defaults to https://gitlab.com)"
          },
          {
            "name": "GITLAB_READ_ONLY_MODE",
            "description": "Enable read-only mode (disable all manage_* write operations)"
          }
        ]
      },
      {
        "registryType": "mcpb",
        "identifier": "https://github.com/structured-world/gitlab-mcp/releases/download/gitlab-mcp-v9.1.0/gitlab-mcp-9.1.0.mcpb",
        "transport": "stdio"
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.structured-world/gitlab-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.structured-world%2Fgitlab-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Advanced GitLab MCP server — MCP Server 安装与配置 · AgentHub