gitlab-mb-mcp

v0.1.1
gitlab-mb-mcp Checked 17 hours ago Published 6 months ago

GitLab 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.

ParameterTypeDescription
per_pageinteger
searchstring

get_project

Get project details by id or path (e.g. 'group/repo').

ParameterTypeDescription
project_id *string

list_merge_requests

List merge requests. state: opened | closed | merged | all.

ParameterTypeDescription
project_id *string
per_pageinteger
statestring

get_merge_request

Get full details of a merge request by its IID.

ParameterTypeDescription
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.

ParameterTypeDescription
mr_iid *integer
project_id *string

get_merge_request_commits

Get list of commits included in a merge request.

ParameterTypeDescription
mr_iid *integer
project_id *string

get_merge_request_notes

Get all comments (notes) of a merge request.

ParameterTypeDescription
mr_iid *integer
project_id *string

create_merge_request

Create a new merge request.

ParameterTypeDescription
project_id *string
source_branch *string
target_branch *string
title *string
descriptionstring

merge_merge_request

Merge an open merge request.

ParameterTypeDescription
mr_iid *integer
project_id *string

add_merge_request_comment

Add a comment to a merge request.

ParameterTypeDescription
body *string
mr_iid *integer
project_id *string

list_commits

List commits in a project branch/ref.

ParameterTypeDescription
project_id *string
per_pageinteger
refstring

get_commit

Get commit details by SHA (full or short).

ParameterTypeDescription
project_id *string
sha *string

get_commit_diffs

Get file diffs (changes) for a specific commit.

ParameterTypeDescription
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'

ParameterTypeDescription
file_path *string
project_id *string
refstring

list_repository_tree

List files and directories in the repository. path: subdirectory to list (empty = root). recursive: expand all subdirs.

ParameterTypeDescription
project_id *string
pathstring
recursiveboolean
refstring

list_issues

List project issues. state: opened | closed | all.

ParameterTypeDescription
project_id *string
per_pageinteger
statestring

get_issue

Get full details of an issue by its IID.

ParameterTypeDescription
issue_iid *integer
project_id *string

create_issue

Create a new issue in the project.

ParameterTypeDescription
project_id *string
title *string
descriptionstring

add_issue_comment

Add a comment to an issue.

ParameterTypeDescription
body *string
issue_iid *integer
project_id *string

list_branches

List repository branches. Optionally filter by search string.

ParameterTypeDescription
project_id *string
searchstring

create_branch

Create a new branch from an existing ref (branch/tag/SHA).

ParameterTypeDescription
branch *string
project_id *string
ref *string

list_pipelines

List CI/CD pipelines. Optionally filter by ref (branch/tag).

ParameterTypeDescription
project_id *string
per_pageinteger
refstring

get_pipeline

Get details of a specific pipeline.

ParameterTypeDescription
pipeline_id *integer
project_id *string