Skip to main content
Glama
chris-miaskowski

GitLab MCP Server

사용자 정의 GitLab MCP 서버

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

개요

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

  • GitLab 저장소 검색

  • 파일 내용 가져오기

  • 파일 생성 또는 업데이트

  • 단일 커밋에 여러 파일 푸시

  • 이슈 생성 및 요청 병합

  • 포크 저장소

  • 지점을 만듭니다

Related MCP server: GitLab MCP Server

고정 구현

이 사용자 정의 구현은 특히 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_repositories

GitLab 프로젝트 검색

get_file_contents

파일이나 디렉토리의 내용을 가져옵니다

create_or_update_file

단일 파일 생성 또는 업데이트

push_files

단일 커밋에 여러 파일 푸시

create_repository

새로운 GitLab 프로젝트를 만듭니다

create_issue

새로운 이슈를 생성하세요

create_merge_request

새로운 병합 요청 만들기

fork_repository

프로젝트 포크하기

create_branch

새로운 지점을 만드세요

특허

MIT

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A Model Context Protocol server that enables AI assistants to interact with GitLab repositories, allowing tasks like managing merge requests, searching projects, and creating comments through RESTful API integration.
    5 npm
    2
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact with GitLab for managing projects, branches, issues, and merge requests. It provides tools for searching code and performing file operations like reading and writing directly within repositories.
    4 npm
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to interact with self-hosted GitLab instances through 30 specialized tools. It supports managing projects, merge requests, CI/CD pipelines, and repository operations via the GitLab REST API v4.
    30
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact seamlessly with self-hosted GitLab instances, supporting repository operations, issue management, merge requests, CI/CD pipelines, and more.
    150 PyPI
    5
    MIT