dotsagent.io
言語:日本語
開発ツール · GitLab

GitLab を設定

GitLab 組み込みの endpoint です。issue、merge request、pipeline、検索に対応し、ツールセットを選択できます。

提供元
GitLab 公式
ホスト版エンドポイント
https://gitlab.com/api/v4/mcp
トランスポート
streamable-http
認証
OAuth を使用します。Self-managed インスタンスでは https://<host>/api/v4/mcp を使用します。
アクセス対象
読み取りと書き込みに対応します。X-Gitlab-Enabled-Mcp-Server-Toolsets ヘッダーでツールセットを制限できます。
ステータス
稼働中

インストール

このサーバーはベンダーがホストしているため、URLを追加するだけで利用でき、マシン上では何も実行されません。認証が必要な場合は、上の行に手順が記載されています。OAuthサーバーでは、初回接続時に認証を求められます。

Claude Code

shell
claude mcp add --transport http --scope project gitlab https://gitlab.com/api/v4/mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "gitlab": {
      "url": "https://gitlab.com/api/v4/mcp"
    }
  }
}

Codex

~/.codex/config.toml
[mcp_servers.gitlab]
url = "https://gitlab.com/api/v4/mcp"

他のクライアントの設定 →

開発ツールの他のサーバー

情報源

  1. docs.gitlab.com/user/model_context_protocol/mcp_server/