GitLab MCP Server

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 (モデル コンテキスト プロトコル) サーバーのカスタム実装。

概要

この MCP サーバーは GitLab リポジトリとのシームレスな統合を提供し、AI アシスタントが次のことを行うことを可能にします。

  • GitLabリポジトリを検索
  • ファイルの内容を取得する
  • ファイルを作成または更新する
  • 1回のコミットで複数のファイルをプッシュする
  • 問題の作成とマージリクエスト
  • フォークリポジトリ
  • ブランチを作成する

固定実装

このカスタム実装は、標準の GitLab MCP サーバー実装、特にsearch_repositoriesツールに存在していたスキーマ検証の問題を修正します。

インストール

  1. このリポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  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_files1回のコミットで複数のファイルをプッシュする
create_repository新しいGitLabプロジェクトを作成する
create_issue新しい問題を作成する
create_merge_request新しいマージリクエストを作成する
fork_repositoryプロジェクトをフォークする
create_branch新しいブランチを作成する

ライセンス

マサチューセッツ工科大学

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

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.

AI アシスタントが GitLab リポジトリと対話できるようにし、検索、ファイルの取得、コンテンツの作成/更新、問題とマージ リクエストの管理などの機能を提供するカスタム サーバー実装。

  1. Overview
    1. Fixed Implementation
      1. Installation
        1. Prerequisites
          1. Available Tools
            1. License

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                A modular server that implements the Model Context Protocol standard, providing tools for interacting with GitHub, GitLab, Google Maps, Memory storage, and web automation through a unified gateway.
                Last updated -
                1,519
                3
                Python
                Apache 2.0
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                A server that allows AI assistants to browse and read files from specified GitHub repositories, providing access to repository contents via the Model Context Protocol.
                Last updated -
                3
                JavaScript
                MIT License
                • Apple
              • -
                security
                F
                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 -
                20
                JavaScript
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.
                Last updated -
                1
                TypeScript

              View all related MCP servers

              ID: l7qxg8h0fh