Skip to main content
Glama

GitLab MCP Server

カスタム 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. 概要
    1. 固定実装
      1. インストール
        1. 前提条件
          1. 利用可能なツール
            1. ライセンス

              Related MCP Servers

              • -
                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 8 months ago
                5
                JavaScript
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                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.
                Last updated 4 months ago
                4
                2
                TypeScript
                • Apple
              • -
                security
                F
                license
                -
                quality
                A set of tools allowing AI assistants to interact directly with GitHub, enabling automation of tasks like fetching user profiles, creating repositories, and managing pull requests.
                Last updated 2 months ago
                Python
              • A
                security
                A
                license
                A
                quality
                Provides comprehensive Git operations as tools for AI assistants and applications. This server enables AI systems to interact with Git repositories, allowing to initialize, fetch, commit, log, status, etc..
                Last updated 2 days ago
                10
                2
                TypeScript
                MIT License

              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/chris-miaskowski/custom-gitlab-mcp-server'

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