GitLab MCP Server
カスタム GitLab MCP サーバー
Claude やその他の MCP 準拠の AI アシスタントと統合するための GitLab MCP (モデル コンテキスト プロトコル) サーバーのカスタム実装。
概要
この MCP サーバーは GitLab リポジトリとのシームレスな統合を提供し、AI アシスタントが次のことを行うことを可能にします。
GitLabリポジトリを検索
ファイルの内容を取得する
ファイルを作成または更新する
1回のコミットで複数のファイルをプッシュする
問題の作成とマージリクエスト
フォークリポジトリ
ブランチを作成する
Related MCP server: GitLab MCP Server
固定実装
このカスタム実装は、標準の GitLab MCP サーバー実装、特にsearch_repositoriesツールに存在していたスキーマ検証の問題を修正します。
インストール
このリポジトリをクローンする
依存関係をインストールします:
npm installClaude 設定ファイルまたは 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_repositoryとwrite_repository
利用可能なツール
ツール名 | 説明 |
| GitLabプロジェクトを検索 |
| ファイルまたはディレクトリの内容を取得する |
| 単一のファイルを作成または更新する |
| 1回のコミットで複数のファイルをプッシュする |
| 新しいGitLabプロジェクトを作成する |
| 新しい問題を作成する |
| 新しいマージリクエストを作成する |
| プロジェクトをフォークする |
| 新しいブランチを作成する |
ライセンス
マサチューセッツ工科大学
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA 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 npm2-
- AlicenseNot gradedqualityDmaintenanceEnables 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 npmMIT
- AlicenseBqualityDmaintenanceA 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.30MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact seamlessly with self-hosted GitLab instances, supporting repository operations, issue management, merge requests, CI/CD pipelines, and more.150 PyPI5MIT
Appeared in Searches
- A server for managing GitLab self-hosted Issues and Wiki via API operations
- Integrated development server combining live documentation, cloud infrastructure knowledge bases, tech blogs, local RAG for ebooks, and GitHub repository intelligence with code linting
- How to clone a GitLab repository
- How to review merge requests in GitLab
- An official MCP server for Jira