GitLab MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Set to 1 to enable verbose debug logging. | |
| GITLAB_TOKEN | Yes | GitLab Personal Access Token used to authenticate with the GitLab API. | |
| GITLAB_BASE_URL | Yes | GitLab instance base URL, without trailing slash (e.g. https://gitlab.com). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_merge_request_notesC | Get all notes (comments) for a specific merge request |
| get_merge_request_noteC | Get a specific note (comment) by ID from a merge request |
| get_merge_request_discussionsC | Get discussions (threaded comments) for a merge request |
| get_merge_requestC | Get detailed information about a specific merge request |
| get_project_merge_requestsC | List merge requests for a project with optional filtering |
| search_projectsC | Search for GitLab projects by name |
| analyze_merge_request_discussionsB | Analyze merge request discussions for thread resolution status and open questions |
| get_merge_request_thread_summaryB | Get a concise summary of unresolved threads and open questions in a merge request |
| add_merge_request_noteC | Add a note (comment) to a merge request or reply to a discussion thread |
| resolve_discussionC | Resolve or unresolve a discussion thread |
| intelligent_mr_responseB | Intelligently implement feedback from merge request discussions: analyze feedback, make code changes, resolve threads when fixed, and only comment when clarification is needed |
| mark_discussions_as_fixedB | Mark specific discussions as fixed/done with a response and resolve them |
| remove_resolved_threadsB | ⚠️ DESTRUCTIVE OPERATION: Permanently delete all resolved comments/notes from a merge request. MANUAL USE ONLY - Use for cleanup/testing only. |
| create_issueB | Create a new issue in a GitLab project |
| get_issueC | Get detailed information about a specific issue |
| get_project_issuesB | List issues for a project with optional filtering |
| update_issueD | Update an existing issue |
| get_issue_notesB | Get all notes (comments) for a specific issue |
| get_issue_noteB | Get a specific note (comment) by ID from an issue |
| add_issue_noteC | Add a note (comment) to an issue |
| update_issue_noteC | Update an existing note (comment) on an issue |
| delete_issue_noteC | Delete a note (comment) from an issue |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Issue tools are clearly separable, but the merge request surface has real overlap: analyze_merge_request_discussions and get_merge_request_thread_summary both summarize threads, while intelligent_mr_response, mark_discussions_as_fixed, and resolve_discussion all resolve threads and can be confused. get_merge_request_notes vs get_merge_request_discussions (flat vs threaded) is a subtle distinction the agent must infer.
Most tools follow a readable verb_noun snake_case pattern, but conventions drift: 'merge_request' is abbreviated to 'mr' in intelligent_mr_response, and several tools (resolve_discussion, mark_discussions_as_fixed, remove_resolved_threads) drop the resource prefix used elsewhere. The result is mixed but still interpretable.
22 tools is on the heavy side for a GitLab server focused on issues and merge requests, and several specialized MR-analysis tools feel like variations on a theme. Coverage is broad but the count pushes toward the borderline-heavy band.
Issues have solid coverage (create/get/list/update plus note CRUD) but no delete or close, and merge requests only support read/comment/resolve operations with no create_merge_request, update, merge, or approve. These are notable lifecycle gaps that will block common agent workflows.