gitlab-mb-mcp
v0.1.1GitLab MCP server — projects, MRs, commits, files, issues
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_projects
Search GitLab projects. Returns id, name, path_with_namespace, last_activity_at.
| Parameter | Type | Description |
|---|---|---|
per_page | integer | |
search | string |
get_project
Get project details by id or path (e.g. 'group/repo').
| Parameter | Type | Description |
|---|---|---|
project_id * | string |
list_merge_requests
List merge requests. state: opened | closed | merged | all.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
per_page | integer | |
state | string |
get_merge_request
Get full details of a merge request by its IID.
| Parameter | Type | Description |
|---|---|---|
mr_iid * | integer | |
project_id * | string |
get_merge_request_diffs
Get list of changed files (diffs) in a merge request. Returns file paths and unified diffs.
| Parameter | Type | Description |
|---|---|---|
mr_iid * | integer | |
project_id * | string |
get_merge_request_commits
Get list of commits included in a merge request.
| Parameter | Type | Description |
|---|---|---|
mr_iid * | integer | |
project_id * | string |
get_merge_request_notes
Get all comments (notes) of a merge request.
| Parameter | Type | Description |
|---|---|---|
mr_iid * | integer | |
project_id * | string |
create_merge_request
Create a new merge request.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
source_branch * | string | |
target_branch * | string | |
title * | string | |
description | string |
merge_merge_request
Merge an open merge request.
| Parameter | Type | Description |
|---|---|---|
mr_iid * | integer | |
project_id * | string |
add_merge_request_comment
Add a comment to a merge request.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
mr_iid * | integer | |
project_id * | string |
list_commits
List commits in a project branch/ref.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
per_page | integer | |
ref | string |
get_commit
Get commit details by SHA (full or short).
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
sha * | string |
get_commit_diffs
Get file diffs (changes) for a specific commit.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
sha * | string |
get_file_contents
Get file contents from the repository at a given ref (branch/tag/commit SHA). file_path example: 'src/main.py'
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
project_id * | string | |
ref | string |
list_repository_tree
List files and directories in the repository. path: subdirectory to list (empty = root). recursive: expand all subdirs.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
path | string | |
recursive | boolean | |
ref | string |
list_issues
List project issues. state: opened | closed | all.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
per_page | integer | |
state | string |
get_issue
Get full details of an issue by its IID.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | integer | |
project_id * | string |
create_issue
Create a new issue in the project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
title * | string | |
description | string |
add_issue_comment
Add a comment to an issue.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
issue_iid * | integer | |
project_id * | string |
list_branches
List repository branches. Optionally filter by search string.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
search | string |
create_branch
Create a new branch from an existing ref (branch/tag/SHA).
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
project_id * | string | |
ref * | string |
list_pipelines
List CI/CD pipelines. Optionally filter by ref (branch/tag).
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
per_page | integer | |
ref | string |
get_pipeline
Get details of a specific pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | integer | |
project_id * | string |