Skip to main content
Glama

mcp-server-gitlab

중국어판

mcp-gitlab MCP 서버(영어)

fastmcp 프레임워크 기반으로 구축된 GitLab 통합 서버로, 다양한 GitLab RESTful API 도구를 제공합니다. Claude, Smithery 및 기타 플랫폼과의 통합을 지원합니다.

특징

  • GitlabSearchUserProjectsTool : 사용자 이름으로 사용자 및 활성 프로젝트 검색
  • GitlabGetUserTasksTool : 현재 사용자의 보류 중인 작업 가져오기
  • GitlabSearchProjectDetailsTool : 프로젝트 및 세부 정보 검색
  • GitlabCreateMRCommentTool : 병합 요청에 주석 추가
  • GitlabAcceptMRTool : 병합 요청 수락 및 병합
  • GitlabUpdateMRTool : 병합 요청 담당자, 검토자, 제목, 설명 및 레이블 업데이트
  • GitlabCreateMRTool : 담당자 및 검토자를 포함한 새 병합 요청 생성
  • GitlabRawApiTool : 사용자 정의 매개변수로 모든 GitLab API 호출

빠른 시작

지엑스피1

환경 변수

GITLAB_API_URL=https://your-gitlab-instance.com GITLAB_TOKEN=your_access_token # Optional: Provide a mapping from usernames to user IDs (JSON string) # This can reduce API calls, especially when referencing the same users frequently # Example: '{"username1": 123, "username2": 456}' GITLAB_USER_MAPPING={"username1": 123, "username2": 456} # Optional: Provide a mapping from project names to project IDs (JSON string) # Project IDs can be numbers or strings (e.g., 'group/project') # This can reduce API calls and ensure the correct project is used # Example: '{"project-name-a": 1001, "group/project-b": "group/project-b"}' GITLAB_PROJECT_MAPPING={"project-name-a": 1001, "group/project-b": "group/project-b"}

사용 예

각 도구의 매개변수에 대한 자세한 예는 USAGE.md를 참조하세요.

프로젝트 구조

src/ ├── server/ │ └── GitlabMCPServer.ts # MCP server entry point ├── tools/ │ ├── GitlabAcceptMRTool.ts │ ├── GitlabCreateMRCommentTool.ts │ ├── GitlabGetUserTasksTool.ts │ ├── GitlabRawApiTool.ts │ ├── GitlabSearchProjectDetailsTool.ts │ ├── GitlabSearchUserProjectsTool.ts │ └── gitlab/ │ ├── FieldFilterUtils.ts │ ├── GitlabApiClient.ts │ └── GitlabApiTypes.ts ├── utils/ │ ├── is.ts │ └── sensitive.ts smithery.json # Smithery config USAGE.md # Usage examples package.json tsconfig.json

완성

클로드 데스크톱 클라이언트

구성에 추가:

{ "mcpServers": { "@zephyr-mcp/gitlab": { "command": "npx", "args": ["-y", "@zephyr-mcp/gitlab"] } } }

대장간

Smithery 플랫폼에서 직접 사용하세요:

smithery add @zephyr-mcp/gitlab

또는 Smithery UI에서 "@zephyr-mcp/gitlab"을 검색하여 작업 공간에 추가하세요.

환경 변수:

  • GITLAB_API_URL : GitLab API의 기본 URL
  • GITLAB_TOKEN : GitLab API 인증을 위한 액세스 토큰

관련 링크

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP가 GitLab을 기반으로 하는 더 많은 GitLab RESTful을 지원합니다. API 도구, 支持项目搜索, 任务管理, 合并请求创建与审核等功能, 帮助开发团队高效协작품.

  1. 특징
    1. 빠른 시작
      1. 환경 변수
        1. 사용 예
          1. 프로젝트 구조
            1. 완성
              1. 클로드 데스크톱 클라이언트
              2. 대장간
            2. 관련 링크

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                GitLab MCP Server (with activity tracking and group projects listing features) This server is based on the original GitLab MCP server with Group Projects Listing and Activity Tracking enhancements
                Last updated -
                28
                725
                22
                TypeScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                GitLabとの連携機能を提供するModel Context Protocol (MCP) サーバーです。GitLabの特定のプロジェクトからパイプラインの失敗情報やマージリクエストへの指摘事項を取得し、AIアシスタントに提供します。
                Last updated -
                3
                2
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                An MCP server that enables communication with GitLab repositories, allowing interaction with GitLab's API to manage projects, issues, and repositories through natural language.
                Last updated -
                3,716
                1
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                An MCP server that integrates AI assistants like Claude with GitLab's merge requests, allowing them to review code changes, add comments, and approve/unapprove merge requests directly through the GitLab API.
                Last updated -
                21
                Python
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              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/ZephyrDeng/mcp-server-gitlab'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server