GitLab MCP Server

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.

Integrations

  • Provides access to GitLab repositories, allowing users to search projects, manage files, create issues, make merge requests, fork repositories, and create branches.

사용자 정의 GitLab MCP 서버

Claude 및 기타 MCP 호환 AI 어시스턴트와 통합하기 위한 GitLab MCP(Model Context Protocol) 서버의 맞춤 구현입니다.

개요

이 MCP 서버는 GitLab 저장소와 원활하게 통합되어 AI 어시스턴트가 다음을 수행할 수 있도록 합니다.

  • GitLab 저장소 검색
  • 파일 내용 가져오기
  • 파일 생성 또는 업데이트
  • 단일 커밋에 여러 파일 푸시
  • 이슈 생성 및 요청 병합
  • 포크 저장소
  • 지점을 만듭니다

고정 구현

이 사용자 정의 구현은 특히 search_repositories 도구에 대해 표준 GitLab MCP 서버 구현에서 발생하던 스키마 검증 문제를 해결합니다.

설치

  1. 이 저장소를 복제하세요
  2. 종속성 설치:지엑스피1
  3. Claude 설정 파일이나 Claude Desktop 구성 파일에서 다음을 구성합니다.
    { "mcpServers": { "github.com/modelcontextprotocol/servers/tree/main/src/gitlab": { "command": "node", "args": [ "/path/to/custom-gitlab-server/index.js" ], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "your-gitlab-token", "GITLAB_API_URL": "https://your-gitlab-instance/api/v4" } } } }

필수 조건

  • Node.js(v14 이상)
  • 적절한 범위를 갖춘 GitLab 개인 액세스 토큰:
    • 전체 API 액세스를 위한 api
    • 읽기 전용 액세스를 위한 read_api
    • 저장소 작업을 위한 read_repositorywrite_repository

사용 가능한 도구

도구 이름설명
search_repositoriesGitLab 프로젝트 검색
get_file_contents파일이나 디렉토리의 내용을 가져옵니다
create_or_update_file단일 파일 생성 또는 업데이트
push_files단일 커밋에 여러 파일 푸시
create_repository새로운 GitLab 프로젝트를 만듭니다
create_issue새로운 이슈를 생성하세요
create_merge_request새로운 병합 요청 만들기
fork_repository프로젝트 포크하기
create_branch새로운 지점을 만드세요

특허

MIT

-
security - not tested
F
license - not found
-
quality - not tested

AI 어시스턴트가 GitLab 저장소와 상호 작용할 수 있도록 하는 맞춤형 서버 구현으로, 검색, 파일 가져오기, 콘텐츠 생성/업데이트, 문제 및 병합 요청 관리 기능을 제공합니다.

  1. Overview
    1. Fixed Implementation
      1. Installation
        1. Prerequisites
          1. Available Tools
            1. License
              ID: l7qxg8h0fh