mcp-gitlab-crunchtools
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITLAB_URL | No | GitLab instance URL | https://gitlab.com |
| GITLAB_TOKEN | Yes | Personal Access Token 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.
Secure MCP server for GitLab projects, merge requests, issues, pipelines, and search. Works with any GitLab instance.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_projects_toolB | List GitLab projects accessible by the API token. |
| get_project_toolB | Get GitLab project details by ID or path. |
| list_project_branches_toolC | List repository branches for a GitLab project. |
| get_project_branch_toolB | Get a single repository branch. |
| list_project_commits_toolB | List repository commits for a GitLab project. |
| create_project_toolC | Create a new GitLab project. |
| delete_project_toolC | Delete a GitLab project permanently. |
| list_groups_toolB | List GitLab groups accessible by the API token. |
| get_group_toolB | Get GitLab group details by ID or path. |
| list_group_projects_toolC | List projects within a GitLab group. |
| list_merge_requests_toolC | List merge requests for a GitLab project. |
| get_merge_request_toolB | Get a single merge request by its IID. |
| create_merge_request_toolC | Create a new merge request. |
| update_merge_request_toolC | Update an existing merge request. |
| list_mr_notes_toolC | List notes (comments) on a merge request. |
| create_mr_note_toolC | Create a note (comment) on a merge request. |
| get_mr_changes_toolC | Get the changes (diff) for a merge request. |
| merge_merge_request_toolA | Merge a merge request, or set it to merge when its pipeline succeeds. sha is required and must be the full commit ID of the source branch head (the MR's "sha" field): GitLab merges only if the head is still that commit, so nothing pushed after review can slip in. A draft, a conflict, a closed MR or a moved head is refused without merging. Check CI first with get_mr_pipelines. |
| get_mr_pipelines_toolA | List the pipelines of a merge request, newest first. Each pipeline carries the sha it ran on and its status (success, failed, running, ...), so you can confirm the MR head passed CI before merging. |
| list_mr_discussions_toolB | List discussions (threaded comments) on a merge request. Discussions include inline code review comments with file position data. |
| create_mr_discussion_toolC | Create a new discussion on a merge request. |
| list_issues_toolC | List issues for a GitLab project. |
| get_issue_toolC | Get a single issue by its IID. |
| create_issue_toolC | Create a new issue in a GitLab project. |
| update_issue_toolC | Update an existing issue. |
| list_issue_notes_toolB | List notes (comments) on an issue. |
| create_issue_note_toolB | Create a note (comment) on an issue. |
| list_pipelines_toolC | List CI/CD pipelines for a GitLab project. |
| get_pipeline_toolB | Get a single CI/CD pipeline by ID. |
| list_pipeline_jobs_toolC | List jobs for a CI/CD pipeline. |
| get_job_log_toolB | Get the log (trace) output of a CI/CD job. |
| create_pipeline_toolC | Create (trigger) a new CI/CD pipeline. |
| retry_pipeline_toolA | Retry all failed jobs in a CI/CD pipeline. |
| cancel_pipeline_toolC | Cancel a running CI/CD pipeline. |
| delete_pipeline_toolB | Delete a CI/CD pipeline and all its jobs permanently. |
| retry_job_toolC | Retry a specific failed CI/CD job. |
| cancel_job_toolC | Cancel a running CI/CD job. |
| delete_job_toolB | Delete a CI/CD job's artifacts and trace log. |
| search_global_toolC | Search across all GitLab resources accessible by the token. |
| search_project_toolC | Search within a specific GitLab project. |
| list_repository_tree_toolC | List repository tree (files and directories). |
| get_file_toolA | Get a file from a GitLab repository. Returns file metadata and content (base64 encoded). |
| create_file_toolC | Create a new file in a GitLab repository. |
| update_file_toolC | Update an existing file in a GitLab repository. |
| create_branch_toolC | Create a new branch in a GitLab repository. |
| delete_branch_toolC | Delete a branch from a GitLab repository. |
| compare_branches_toolB | Compare two branches, tags, or commits. |
| list_labels_toolC | List labels for a GitLab project. |
| create_label_toolC | Create a new label in a GitLab project. |
| update_label_toolC | Update an existing label in a GitLab project. |
| delete_label_toolB | Delete a label from a GitLab project. |
| get_current_user_toolA | Get the currently authenticated GitLab user. |
| list_users_toolC | List GitLab users. |
| get_user_toolB | Get a specific GitLab user by ID. |
| list_releases_toolB | List releases for a GitLab project. |
| get_release_toolA | Get a single release by tag name. |
| create_release_toolC | Create a new release for a GitLab project. |
| list_milestones_toolB | List milestones for a GitLab project. |
| create_milestone_toolC | Create a new milestone in a GitLab project. |
| update_milestone_toolC | Update an existing milestone. |
| list_wiki_pages_toolC | List wiki pages for a GitLab project. |
| get_wiki_page_toolC | Get a single wiki page by slug. |
| create_wiki_page_toolC | Create a new wiki page in a GitLab project. |
| list_snippets_toolB | List snippets for a GitLab project. |
| create_snippet_toolB | Create a new snippet in a GitLab project. |
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 65 tools
The vast majority of tools target a distinct resource+action pair (create_issue vs update_issue vs list_issue_notes), so selection is usually unambiguous. A few boundaries blur: list_mr_notes_tool vs list_mr_discussions_tool overlap conceptually, search_global_tool vs search_project_tool differ only by scope, and merge_merge_request_tool partially overlaps update_merge_request_tool which can also change MR state.
Nearly every tool follows a clean verb_noun_tool pattern, which makes the surface very predictable. Minor deviations exist: the noun is sometimes 'mr' and sometimes 'merge_request' (list_mr_notes_tool vs list_merge_requests_tool), and merge_merge_request_tool doubles the verb awkwardly.
At 65 tools this is well past the 25+ heavy threshold and even exceeds the 50-tool extreme marker, so the surface is hard for an agent to hold in context. The breadth is partly justified by GitLab's genuinely large API, but grouping (e.g. pipelines/jobs, notes/discussions) could have been consolidated.
Coverage is broad across projects, issues, MRs, pipelines/jobs, repo files, branches, labels, users, releases, milestones, wiki, snippets, search and commits. Gaps remain: no delete_issue, no wiki page update/delete, no release/milestone/snippet deletion, and no tags, members, or MR approval operations, which are common lifecycle needs.