
rifqi96/mcp-gitlab
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
GitLab 계정과 상호 작용할 수 있는 Model Context Protocol (MCP) 서버. diffs를 얻고, 합병 요청, 검토 코드, Cherry-pick 변경 등을 분석하십시오.
개요
GitLab 계정과 상호 작용할 수 있는 Model Context Protocol (MCP) 서버. diffs를 얻고, 합병 요청, 검토 코드, Cherry-pick 변경 등을 분석하십시오. 이 모델 Context Protocol 프로젝트에서 MCP GitLab Server의 확장 버전입니다. 이 MCP 서버는 GitLab 저장소와 상호 작용하는 종합적인 도구를 제공합니다. - 목록 프로젝트 및 검색 세부 사항 - 관리 지점 및 저장소 - 합병 요청 및 디퓨즈와 작업 - 합병 요청 및 내부 메모를 추가 - 합병 요청 속성을 업데이트 - 문제 해결 및 관련 저장소 파일 내용 - 프로젝트 통합 및 서비스 관리 - Slack 통합 구성 및 제어 - 설정, 업데이트 및 테스트 webhooks - 파이프라인 트리거 토큰 작업 - CI/CD 변수 관리 - Triggering 및 제어 파이프라인 - 목록 및 관리 사용자 - 그룹 및 그룹 멤버쉽 작업 - 프로젝트 관리 ...
개요(AI 번역)
GitLab 계정과 상호 작용할 수 있는 Model Context Protocol (MCP) 서버. diffs를 얻고, 합병 요청, 검토 코드, Cherry-pick 변경 등을 분석하십시오. 이 모델 Context Protocol 프로젝트에서 MCP GitLab Server의 확장 버전입니다.
특징
이 MCP 서버는 GitLab 저장소와 상호 작용하는 종합적인 도구를 제공합니다.
핵심 저장소 특징
- 목록 프로젝트 및 검색 세부
- 지점 및 저장소 관리
- 병합 요청 및 diffs 작업
- 의견 추가 및 내부 메모 합병 요청
- 병합 요청 속성 업데이트
- 이슈와 작업
- repository 파일 내용 얻기 및 비교
프로젝트 설정 및 통합
- 프로젝트 통합 및 서비스 관리
- Slack 통합 구성 및 제어
- 설정, 업데이트 및 테스트 webhooks
CI/CD 관리
- 파이프라인 트리거 토큰 작업
- CI/CD 변수 관리
- Triggering 및 제어 파이프
사용자 및 그룹 관리
- 사용자 목록 및 관리
- 그룹 및 그룹 멤버쉽
- 프로젝트 멤버 및 액세스 레벨 관리
설치
# 필수품
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
GitLab MCP Server
A Model Context Protocol (MCP) server that enables you to interact with your GitLab account. Get diffs, analyze merge requests, review code, cherry-pick changes, and more. This is an extended version of the MCP GitLab Server from the Model Context Protocol project.
Features
This MCP server provides comprehensive tools for interacting with GitLab repositories, including:
Core Repository Features
- Listing projects and retrieving details
- Managing branches and repositories
- Working with merge requests and diffs
- Adding comments and internal notes to merge requests
- Updating merge request attributes
- Listing and working with issues
- Getting and comparing repository file contents
Project Settings & Integrations
- Managing project integrations and services
- Configuring and controlling Slack integration
- Setting up, updating, and testing webhooks
CI/CD Management
- Working with pipeline trigger tokens
- Managing CI/CD variables
- Triggering and controlling pipelines
User & Group Administration
- Listing and managing users
- Working with groups and group memberships
- Managing project members and access levels
Installation
Prerequisites
- Node.js (v16 or higher)
- npm
- A GitLab account with an API token
Setup
- Clone the repository:
git clone https://github.com/rifqi96/mcp-gitlab.git
cd mcp-gitlab
- Install dependencies:
npm install
- Build the server:
npm run build
- Install git hooks (optional, but recommended for contributors):
npm run install-hooks
This installs a pre-commit hook that automatically regenerates TOOLS.md when src/utils/tools-data.ts changes.
- Configure your GitLab API token:
You need to provide your GitLab API token in the MCP settings configuration file. The token is used to authenticate with the GitLab API.
For Cursor/Roo Cline, add the following to your MCP settings file (~/Library/Application Support/Cursor/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json):
{
"mcpServers": {
"gitlab": {
"command": "node",
"args": [
"/path/to/mcp-gitlab/build/index.js"
],
"env": {
"GITLAB_API_TOKEN": "YOUR_GITLAB_API_TOKEN",
"GITLAB_API_URL": "https://gitlab.com/api/v4"
}
}
}
}
For Claude Desktop, add the following to your MCP settings file (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"gitlab": {
"command": "node",
"args": [
"/path/to/mcp-gitlab/build/index.js"
],
"env": {
"GITLAB_API_TOKEN": "YOUR_GITLAB_API_TOKEN",
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"gitlab": {
"command": "node",
"args": [
"/path/to/mcp-gitlab/build/index.js"
],
"env": {
"GITLAB_API_TOKEN": "YOUR_GITLAB_API_TOKEN",
"GITLAB_API_URL": "https://gitlab.com/api/v4"
}
}
}
}