GitLab MCP (Model Context Protocol) server for AI agents
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Gitlab Mcp server
支持服务:
GitLab 集成使用 @gitbeaker/rest 库支持获取 Merge Request 信息。
get_merge_request: 获取特定 MR 的详细信息list_merge_requests: 列出项目的 MR 列表gitlab_code_review: 对 MR 进行综合代码审查gitlab_branch_code_review: 对指定分支进行全面代码审查gitlab_commit_review: 对指定提交进行代码审查get_file_content: 获取仓库中特定文件的内容list_branches: 列出项目的所有分支write_gitlab_mr_note: 在 MR 中写入审查备注(支持灵活的通知模式)@gitbeaker/rest: GitLab API 客户端库详细使用说明请参考 GitLab 文档
支持通过 Lark(飞书)机器人发送通知,可以在写入 GitLab MR 评论时自动发送 Lark 通知。
智能代码审查规则系统,根据不同项目类型和文件扩展名提供相应的代码审查建议。
get_code_review_rules: 获取适用于特定项目和文件的代码审查规则list_all_code_review_rules: 列出所有可用的代码审查规则get_project_types: 获取支持的项目类型信息支持为特定项目配置专属的代码审查规则:
详细使用说明请参考:
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gitlab-mcp-server)<a href="https://allmcps.com/mcp/gitlab-mcp-server"><img src="https://allmcps.com/api/badge/gitlab-mcp-server?style=directory" alt="Gitlab MCP Server on AllMCPs" /></a>