Skip to main content
Glama

高度なGitLab MCPサーバー

npm version npm downloads License Release Coverage Coverage Report

高度なGitLab MCPサーバー — CQRSアーキテクチャ、OAuth 2.1、および複数のトランスポートモードを備え、18のエンティティタイプにわたる44のツールを提供します。

Install in Claude Desktop Install in VS Code Install in VS Code Insiders

クイックスタート

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": ["-y", "@structured-world/gitlab-mcp"],
      "env": {
        "GITLAB_TOKEN": "your_gitlab_token",
        "GITLAB_API_URL": "https://gitlab.com"
      }
    }
  }
}

要件: Node.js >= 24

Related MCP server: GitLab MCP Server

ハイライト

  • 44のツール — プロジェクト、マージリクエスト、パイプライン、ワークアイテム、Wikiなど、18のエンティティタイプに対応

  • CQRSアーキテクチャ — クエリには browse_*、コマンドには manage_* を使用

  • 接続の回復力 — 制限付き起動、指数バックオフによる自動再接続、GitLabに到達できない場合の切断モード

  • マルチインスタンスサポート — インスタンスごとのOAuthとレート制限を使用して、複数のGitLabインスタンスに接続可能

  • 複数のトランスポート — stdio、SSE、StreamableHTTP

  • OAuth 2.1 — Claudeカスタムコネクタを介したユーザーごとの認証

  • 読み取り専用モード — 本番環境での安全な運用

  • 自動検出 — GitリモートからGitLab設定を検出

  • きめ細かな制御 — ツールグループの有効化/無効化、アクションのフィルタリング、説明のカスタマイズ

  • Dockerサポートghcr.io/structured-world/gitlab-mcp:latest

ドキュメント

完全なドキュメントは gitlab-mcp.sw.foundation で公開されています

セクション

説明

インストール

npm、Docker、VS Code、Codex

設定

環境変数、機能フラグ

マルチインスタンス

複数のGitLabインスタンスへの接続

ツールリファレンス

パラメータを含む全44ツール

OAuth設定

Claudeを使用したチーム認証

TLS/HTTPS

SSLを使用した本番環境デプロイ

カスタマイズ

ツールの説明、アクションフィルタリング

CLIツール

ツールドキュメントの閲覧とエクスポート

自動生成されたツールリファレンス

パラメータを含む完全なツールリファレンスについては以下を参照してください:

# View locally
yarn list-tools --detail

# Generate documentation
yarn list-tools --export --toc > docs/tools/api-reference.md

自動生成されたツールドキュメントについては、完全なAPIリファレンスを参照してください。

Docker

# HTTP mode
docker run -e PORT=3002 -e GITLAB_TOKEN=your_token -p 3333:3002 \
  ghcr.io/structured-world/gitlab-mcp:latest

# stdio mode
docker run -i --rm -e GITLAB_TOKEN=your_token \
  ghcr.io/structured-world/gitlab-mcp:latest

接続の回復力

サーバーはGitLabの接続問題を適切に処理します:

  • 制限付き起動 — GitLabの可用性に関係なく、サーバーは GITLAB_INIT_TIMEOUT_MS(デフォルト5秒)以内に起動します

  • 切断モード — GitLabに到達できない場合(disconnected/failed状態)、manage_contextツールのみが公開され、診断用に whoamiswitch_profileset_scope などのローカルアクションが利用可能です。アクティブな再接続中(connecting状態)は、短い停止中にMCPクライアントがツールカタログを失わないよう、ツールリスト全体が引き続き利用可能です。MCPクライアントには tools/list_changed を介してツールの可用性の変更が通知されます

  • 自動再接続 — ±10%のジッターを伴う指数バックオフ再接続(5秒 →

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
3dResponse time
2dRelease cycle
164Releases (12mo)
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Production-ready MCP server providing GitLab integration with OAuth authentication, enabling AI assistants to manage projects, issues, merge requests, branches, files, and commits across GitLab instances.
    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
    MCP server for interacting with GitLab API, supporting both self-hosted instances and gitlab.com. Provides tools for managing issues, merge requests, code review, pipelines, milestones, releases, search, and file access.
    514
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Model Context Protocol (MCP) server for GitLab — exposes 1006 GitLab REST & GraphQL API operations as MCP tools (42 meta-tools / 57 enterprise), 24 resources, 38 prompts, and 17 completion types for AI assistants. Written in Go, single static binary, stdio and HTTP transport.
    2
    31
    MIT

View all related MCP servers

Related MCP Connectors

  • Go MCP server for GitLab: 2 dynamic tools reach 1000+ REST/GraphQL actions. Free/CE, no paid tier.

  • GitLab MCP — wraps the GitLab REST API v4 (BYO API key)

  • GitLab Public MCP — wraps the GitLab REST API v4 (public endpoints, no auth)

View all MCP Connectors

Latest Blog Posts

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/structured-world/gitlab-mcp'

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