Loading...
npx -y @smithery/cli@latest install @kopfrechner/gitlab-mr-mcp --client claude --config '"{\"gitlabMrMcpToken\":\"YOUR_GITLAB_TOKEN\", \"gitlabMrMcpHost\": \"YOUR_GITLAB_HOST\"}"'{
"mcpServers": {
"gitlab-mr-mcp": {
"command": "node",
"args": ["/path/to/gitlab-mr-mcp/index.js"],
"env": {
"MR_MCP_GITLAB_TOKEN": "your_gitlab_token",
"MR_MCP_GITLAB_HOST": "your_gitlab_host"
}
}
}
}get_projectsRetrieves a list of GitLab projects accessible with the provided token.
Read-only operation, no modification of data.
list_open_merge_requestsLists all open merge requests in a specified GitLab project.
Read-only operation, no modification of data.
get_merge_request_detailsRetrieves detailed information about a specific merge request.
Read-only operation, no modification of data.
get_merge_request_commentsRetrieves comments from a specific merge request.
Read-only operation, no modification of data.
add_merge_request_commentAdds a general comment to a merge request.
Adds data to the merge request, but does not modify existing code or settings.
add_merge_request_diff_commentAdds a comment to a specific line in a file within a merge request.
Adds data to the merge request, but does not modify existing code or settings.
get_merge_request_diffRetrieves the diff for a merge request.
Read-only operation, no modification of data.
get_issue_detailsRetrieves detailed information about a specific issue.
Read-only operation, no modification of data.
set_merge_request_titleSets the title of a merge request.
Modifies the title of the merge request.
set_merge_request_descriptionSets the description of a merge request.
Modifies the description of the merge request.
This server offers a balance of read and write capabilities for GitLab merge requests. It is relatively safe if the GitLab token is properly scoped and the AI agent using it is well-behaved. However, a compromised token or a poorly designed agent could lead to unwanted modifications of merge requests.