
chntif/mcp-gitlab-workflow
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
GitLab MCP : 요구 사항이나 수정 코드에서 문제를 생성하고 기존 문제에서 병합 요청을 제출하는 지원, 또한 문제 구동을위한 원자 GitLab API 도구 세트를 제공하면서 ...
개요
mcp-gitlab-workflow는 문제 중심 GitLab 개발을 위한 MCP 서버입니다. 그것은 요구 사항 또는 기존 GitLab 문제 및 표준화 된 배달 흐름을 구동 할 수 있습니다 : 요구 사항 분석, 문제 생성, 분지, 코딩, 병합 요청 생성 및 문제 업데이트. 그것은 또한 사용자 정의 관현 및 미세 곡물 제어를위한 원자 GitLab API 도구 세트를 제공합니다. - 워크플로우 *: 일반적인 요구조건을 포장하는 더 높은 수준의 도구 - gitlab *: 사용자 정의 오케스트라션 및 미세 곡물 제어를위한 원자 GitLab API 도구 문제 및 코드 전달을위한 대상 프로젝트는 WORKFLOW ISSUE PROJECT ID 및 WORKFLOW CODE PROJECT ID로 구성됩니다. 전체 구성 matrix에 대한 아래의 환경 변수 섹션을 참조하십시오.
개요(AI 번역)
한국어 |
mcp-gitlab-workflow는 문제 중심 GitLab 개발을 위한 MCP 서버입니다.
그것은 요구 사항 또는 기존 GitLab 문제 및 표준화 된 배달 흐름을 구동 할 수 있습니다 : 요구 사항 분석, 문제 생성, 분지, 코딩, 병합 요청 생성 및 문제 업데이트. 그것은 또한 사용자 정의 관현 및 미세 곡물 제어를위한 원자 GitLab API 도구 세트를 제공합니다.
1. 핵심 기능
workflow_*: 일반적인 요구 사항-to-delivery 흐름을 단일 도구 호출에 더 높은 수준의 도구gitlab_*: 사용자 정의 오케스트라 및 미세 곡물 제어를위한 원자 GitLab API 도구
문제 및 코드 전달을위한 대상 프로젝트는 WORKFLOW_ISSUE_PROJECT_ID] 및 WORKFLOW_CODE_PROJECT_ID로 구성됩니다. 전체 구성 matrix에 대한 아래의 환경 변수 섹션을 참조하십시오.
Workflow 도구
workflow_requirement_to_issue: 요구사항을 분석하고 GitLab 이슈 생성workflow_review_mr_post_comment: 타겟 합병 요청을 검토하고 검토 코멘트를 게시workflow_issue_to_delivery: 기존 이슈에서 시작 및 전체 지점 -> 코드 변경 -> MR -> 문제 코멘트 -> 문제 로그
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
mcp-gitlab-workflow
mcp-gitlab-workflow is an MCP server for issue-driven GitLab development.
It can take a requirement or an existing GitLab issue and drive a standardized delivery flow: requirement analysis, issue creation, branching, coding, merge request creation, and issue updates. It also provides a set of atomic GitLab API tools for custom orchestration and fine-grained control.
1. Core Capabilities
workflow_*: higher-level tools that package common requirement-to-delivery flows into a single tool callgitlab_*: atomic GitLab API tools for custom orchestration and fine-grained control
Target projects for issues and code delivery are configured with WORKFLOW_ISSUE_PROJECT_ID and WORKFLOW_CODE_PROJECT_ID. See the environment variable section below for the full configuration matrix.
Workflow Tools
workflow_requirement_to_issue: analyze a requirement and create a GitLab issueworkflow_review_mr_post_comment: review a target merge request and post a review commentworkflow_issue_to_delivery: start from an existing issue and complete branch -> code change -> MR -> issue comment -> issue logworkflow_requirement_to_delivery: run the full end-to-end flow from a requirement
Atomic GitLab Tools
Issue tools fall back to WORKFLOW_ISSUE_PROJECT_ID by default, while code and merge request tools fall back to WORKFLOW_CODE_PROJECT_ID.
- Users and labels:
gitlab_get_current_user,gitlab_list_labels,gitlab_create_label,gitlab_update_label,gitlab_delete_label - Issues:
gitlab_create_issue,gitlab_get_issue,gitlab_get_issue_notes,gitlab_add_issue_comment,gitlab_get_issue_images - Repository:
gitlab_create_branch,gitlab_get_file,gitlab_commit_files,gitlab_upload_project_file - Merge requests:
gitlab_get_merge_request,gitlab_get_mr_notes,gitlab_create_merge_request,gitlab_create_mr_note,gitlab_get_mr_changes,gitlab_approve_mr,gitlab_unapprove_mr
2. Example
Using workflow_requirement_to_delivery as an example, it is best to explicitly name the tool in your prompt or wrap it in a higher-level custom instruction / skill so the LLM can reliably choose the intended workflow.
Input
Use workflow_requirement_to_delivery to add a forum interaction feature
Result
The workflow can automatically complete the flow below:
requirement analysis -> issue creation -> branch -> code change -> MR -> issue update

(1) Issue creation

(2) Code changes and MR submission based on the issue

(3) Issue comment
설치
npx -y @chntif/mcp-gitlab-workflow설정
{
"mcpServers": {
"gitlab-workflow": {
"command": "npx",
"args": ["-y", "@chntif/mcp-gitlab-workflow"],
"env": {
"GITLAB_TOKEN": "YOUR_TOKEN",
"GITLAB_API_BASE_URL": "https://gitlab.com/api/v4",
"WORKFLOW_ISSUE_PROJECT_ID": "82346102",
"WORKFLOW_ISSUE_PROJECT_PATH": "tchen1690/test",
"WORKFLOW_CODE_PROJECT_ID": "82346102",
"WORKFLOW_CODE_PROJECT_PATH": "tchen1690/test",
"WORKFLOW_BASE_BRANCH": "develop",
"WORKFLOW_TARGET_BRANCH": "develop",
"WORKFLOW_LOCAL_REMOTE_NAME": "origin"
}
}
}
}