GitLab MR Comments MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITLAB_HOST | No | Your GitLab instance URL (e.g., https://gitlab.com). | |
| GITLAB_TOKEN | No | Your GitLab personal access token. | |
| GITLAB_BASE_URL | No | Your GitLab instance URL (e.g., https://gitlab.com). Alternative to GITLAB_HOST. | |
| GITLAB_SSL_VERIFY | No | SSL certificate verification. Set to 0, false, or no to disable; default is enabled. | |
| GITLAB_PERSONAL_ACCESS_TOKEN | No | Your GitLab personal access token. Alternative to GITLAB_TOKEN. |
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 | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gitlab.get_merge_request_commentsB | Fetch comments for a GitLab merge request and return filename, line, and text. Provide the project path (e.g., "mars/general-market") and merge request IID (e.g., "7380"). |
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 1 tool
There is only one tool, so there is no possibility of confusing it with a sibling. Its purpose (fetch comments for a specific MR by project path and IID) is stated unambiguously.
The single name gitlab.get_merge_request_comments follows a clean namespace + verb_noun pattern in snake_case. No competing conventions exist to clash with.
The count matches the very narrow stated scope (reading MR comments), but a one-tool server is thin; even a read-only comments domain would normally include listing merge requests or fetching a single discussion thread.
The surface is read-only and has no way to post a reply, resolve a discussion, or list MRs to find the IID in the first place. Agents will frequently hit a dead end after retrieving the comments.