mcp-gitlab
mcp-gitlab
GitLab MCP — 封装 GitLab REST API v4(自带 API 密钥)
属于 Pipeworx 的一部分 — 一个将 AI 代理连接到 1476+ 个实时数据源的 MCP 网关。
工具
工具 | 描述 |
| 列出所有可访问的 GitLab 项目。返回项目 ID、名称、路径、描述、星标数和 URL。使用 gitlab_get_project 获取详细信息。 |
| 获取特定 GitLab 项目的详细信息(例如,项目 ID "123" 或路径 "group/project")。返回名称、描述、可见性、星标数、复刻数和默认分支。 |
| 按项目 ID 搜索 GitLab 项目中的议题。返回议题 ID、标题、状态(打开/关闭)、标签、指派人和 URL。可按状态和标签筛选。 |
| 按项目 ID 列出 GitLab 项目中的合并请求。返回 MR ID、标题、状态、作者、源/目标分支和 URL。可按状态和作者筛选。 |
| 按项目 ID 和文件路径(例如 "src/main.py")从 GitLab 仓库获取文件内容。返回解码后的内容、文件大小、名称和编码。 |
Related MCP server: GitLab MR MCP
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"gitlab": {
"url": "https://gateway.pipeworx.io/gitlab/mcp"
}
}
}此端点实际提供什么
tools/list 位于 https://gateway.pipeworx.io/gitlab/mcp,返回上表中的工具,外加共享的 Pipeworx 元工具 — ask_pipeworx、discover_tools、search_within、remember/recall 以及其余网关级工具集。因此你看到的工具数量比此表更大:单个包端点目前会列出约 30 个共享工具以及该包自身的工具。连接的 initialize 响应会说明其确切范围,是某一天最权威的答案。
这是有意为之,并非偶然的多路复用。元工具让一个限定范围的连接能够回答此包未覆盖的问题 — 通过 ask_pipeworx,它会在整个目录中路由 — 而无需你添加第二个 MCP 服务器。目前无法在没有它们的情况下挂载包端点;如果额外的模式消耗的上下文比路由带来的价值更多,请一次性连接到完整网关,而不是连接多个包端点。
或者连接到完整的 Pipeworx 网关,直接列出每个包的工具,而不只是这一个的:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}两个 URL 都到达同一个网关和相同的 1476+ 个数据源。唯一的区别是哪个包的工具被直接列出;ask_pipeworx 从两者中的任何一个都能访问所有工具。
与 ask_pipeworx 一起使用
无需直接调用工具,你可以用自然语言提问 — 这在上面的包端点和完整网关上都可以使用:
ask_pipeworx({ question: "your question about Gitlab data" })网关会自动选择正确的工具并填充参数。
更多
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitLab repositories, manage merge requests, review code diffs, post comments, and handle issues directly through natural language.30MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitLab repositories, allowing them to manage merge requests and issues including listing projects, fetching MR details and diffs, adding comments, and updating MR titles and descriptions.3094MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with GitLab repositories, monitor documentation changes, manage issues and merge requests, and search across projects with comprehensive file and commit operations.
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with GitLab for managing projects, branches, issues, and merge requests. It provides tools for searching code and performing file operations like reading and writing directly within repositories.26MIT
Related MCP Connectors
Git-backed platform for skills, tools, and context for AI agents
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-gitlab'
If you have feedback or need assistance with the MCP directory API, please join our Discord server