GitLab Review MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIMEOUT | No | Request timeout in milliseconds | 30000 |
| API_TOKEN | Yes | Your GitHub or GitLab API token | |
| MAX_RETRIES | No | Maximum number of retry attempts | 3 |
| API_BASE_URL | Yes | The base URL for the API (e.g., https://api.github.com for GitHub or https://gitlab.com/api/v4 for GitLab) |
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 |
|---|---|
| fetch_pull_requestC | Fetch pull request details from GitHub/GitLab |
| fetch_code_diffC | Fetch code diff for a pull request or commit |
| add_review_commentC | Add a review comment to a pull request |
| analyze_code_qualityC | Analyze code quality and provide suggestions with detailed metrics |
| get_supported_languagesB | Get list of supported programming languages for code analysis |
| get_language_rulesC | Get available analysis rules for a specific language |
| get_repository_infoC | Get repository information |
| analyze_files_batchC | Analyze multiple files for code quality issues |
| get_pull_request_filesC | Get list of files changed in a pull request or merge request |
| get_merge_request_changesC | Get merge request changes (GitLab compatibility alias) |
| get_server_configB | Get current server configuration |
| get_merge_requestC | Get information about a specific GitLab merge request |
| create_merge_requestB | Create a new GitLab merge request from a source branch |
| get_current_branchB | Get current Git branch and repository information |
| get_project_infoC | Get current GitLab project information from Git remotes |
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 15 tools
There is significant overlap between several tools, particularly in the code analysis and merge/pull request areas. For example, 'analyze_code_quality' and 'analyze_files_batch' have unclear boundaries, and 'fetch_pull_request' vs 'get_merge_request' could cause confusion about which platform to target. However, the descriptions help clarify some distinctions, preventing complete ambiguity.
Most tools follow a consistent verb_noun pattern (e.g., 'add_review_comment', 'create_merge_request', 'get_project_info'), which is clear and predictable. There are minor deviations like 'fetch_code_diff' (using 'fetch' instead of 'get') and 'analyze_files_batch' (which includes an extra descriptor), but overall the naming is largely consistent and readable.
With 15 tools, the count is reasonable for a server focused on GitLab review and code analysis. It covers multiple aspects like merge requests, code quality, and repository info without being overly bloated. However, it might be slightly heavy if some tools are redundant, but it generally fits the scope well.
The tool set covers core workflows for GitLab review, including creating and fetching merge requests, analyzing code, and getting repository details. Minor gaps exist, such as no tools for updating or deleting merge requests or handling comments beyond adding them, but agents can likely work around these with the available operations.