
yoda-digital/mcp-gitlab-server 是从 https://github.com/yoda-digital/mcp-gitlab-server. 导入的 MCP 服务器候选
概览
yoda-digital/mcp-gitlab-server 是从 https://github.com/yoda-digital/mcp-gitlab-server. 导入的 MCP 服务器候选
概述(AI 翻译)
GitLab 最全面的模型上下文协议(MCP)服务器——86 个工具,企业级准备,积极维护。
这是什么
GitLab MCP 服务器允许 AI 代理(Claude Desktop、Claude Code、Cursor、Zed、VS Code 或任何模型上下文协议客户端)直接与 GitLab 通信。它是与 GitLab REST API 的类型化、分页、模式验证的桥梁,展示了 86 个 MCP 工具。它不是 glab 的封装器,也不会进行屏幕抓取。
它可运行于 gitlab.com 或任何自托管的 GitLab 实例,并通过个人访问令牌、通过上游网关转发的 OAuth 持有人令牌,或用于安全演示的只读令牌进行认证。
为什么它存在
Anthropic 于 2024 年 11 月 25 日发布了 MCP。参考服务器涵盖了 Google Drive、Slack、GitHub、Git、Postgres 和 Puppeteer。没有 GitLab 服务器。Yoda Digital 工程团队运行在自架 GitLab 上,官方示例对我们帮助不大,早期社区移植版本也尚未充分覆盖 GitLab 的覆盖范围。
我们自己写了一份。团队项目、活动跟踪、我们的DevOps实际需要的操作。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
GitLab MCP Server
The most comprehensive Model Context Protocol (MCP) server for GitLab — 86 tools, enterprise-ready, actively maintained.
What it is
GitLab MCP Server lets an AI agent (Claude Desktop, Claude Code, Cursor, Zed, VS Code, or any Model Context Protocol client) talk directly to GitLab. It is a typed, paginated, schema-validated bridge to the GitLab REST API, exposed as 86 MCP tools. It is not a wrapper around glab and it does not screen-scrape.
It runs against gitlab.com or any self-hosted GitLab instance, and authenticates with a personal access token, an OAuth Bearer token forwarded by an upstream gateway, or a read-only token for safe demos.
Why it exists
Anthropic released MCP on November 25, 2024. The reference servers covered Google Drive, Slack, GitHub, Git, Postgres, and Puppeteer. There was no GitLab server. The Yoda Digital engineering team runs on self-hosted GitLab, so the official examples did not help us, and the early community ports were not yet trying to cover the GitLab surface area properly.
安装
npx -y @yoda.digital/gitlab-mcp-server配置
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@yoda.digital/gitlab-mcp-server"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-…",
"GITLAB_API_URL": "https://gitlab.com/api/v4"
}
}
}
}