gitlab-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | The port to use for SSE transport | 3000 |
| USE_SSE | No | Set to 'true' to use SSE transport instead of stdio | false |
| GITLAB_API_URL | No | The GitLab API URL | https://gitlab.com/api/v4 |
| GITLAB_PERSONAL_ACCESS_TOKEN | Yes | Your GitLab personal access token |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_or_update_fileC | Create or update a single file in a GitLab project |
| search_repositoriesC | Search for GitLab projects |
| create_repositoryC | Create a new GitLab project |
| get_file_contentsC | Get the contents of a file or directory from a GitLab project |
| push_filesB | Push multiple files to a GitLab project in a single commit |
| create_issueC | Create a new issue in a GitLab project |
| create_merge_requestC | Create a new merge request in a GitLab project |
| fork_repositoryB | Fork a GitLab project to your account or specified namespace |
| create_branchC | Create a new branch in a GitLab project |
| list_group_projectsC | List all projects (repositories) within a specific GitLab group |
| get_project_eventsC | Get recent events/activities for a GitLab project |
| list_commitsC | Get commit history for a GitLab project |
| list_issuesC | Get issues for a GitLab project |
| list_merge_requestsC | Get merge requests for a GitLab project |
| list_project_wiki_pagesC | List all wiki pages for a GitLab project |
| get_project_wiki_pageC | Get a specific wiki page for a GitLab project |
| create_project_wiki_pageC | Create a new wiki page for a GitLab project |
| edit_project_wiki_pageC | Edit an existing wiki page for a GitLab project |
| delete_project_wiki_pageB | Delete a wiki page from a GitLab project |
| upload_project_wiki_attachmentC | Upload an attachment to a GitLab project wiki |
| list_group_wiki_pagesC | List all wiki pages for a GitLab group |
| get_group_wiki_pageC | Get a specific wiki page for a GitLab group |
| create_group_wiki_pageC | Create a new wiki page for a GitLab group |
| edit_group_wiki_pageC | Edit an existing wiki page for a GitLab group |
| delete_group_wiki_pageC | Delete a wiki page from a GitLab group |
| upload_group_wiki_attachmentC | Upload an attachment to a GitLab group wiki |
| list_project_membersC | List all members of a GitLab project (including inherited members) |
| list_group_membersC | List all members of a GitLab group (including inherited members) |
| list_issue_notesC | Fetch all comments and system notes for a GitLab issue |
| list_issue_discussionsC | Fetch all discussions (threaded comments) for a GitLab issue |
| approve_merge_requestB | Approve a merge request |
| unapprove_merge_requestB | Remove your approval from a merge request |
| merge_merge_requestC | Merge a merge request |
| set_auto_mergeB | Set a merge request to merge when pipeline succeeds (auto-merge) |
| cancel_auto_mergeB | Cancel auto-merge for a merge request |
| list_merge_request_notesB | List all comments and notes on a merge request |
| create_merge_request_noteC | Add a comment to a merge request |
| update_merge_request_noteC | Edit a comment on a merge request |
| list_merge_request_discussionsB | List all discussions (threaded comments) on a merge request |
| list_pipelinesB | List pipelines for a GitLab project |
| get_pipelineA | Get details of a specific pipeline |
| trigger_pipelineA | Trigger a new pipeline for a branch or tag |
| retry_pipelineB | Retry failed jobs in a pipeline |
| cancel_pipelineB | Cancel a running pipeline |
| list_pipeline_jobsB | List jobs for a specific pipeline |
| get_jobC | Get details of a specific job |
| get_job_logB | Get the log/trace output of a job |
| retry_jobB | Retry a failed job |
| cancel_jobB | Cancel a running job |
| list_environmentsB | List environments for a GitLab project |
| get_environmentA | Get details of a specific environment |
| list_branchesC | List branches for a GitLab project |
| delete_branchB | Delete a branch from a GitLab project |
| compare_branchesB | Compare two branches, tags, or commits |
| list_tagsC | List tags for a GitLab project |
| create_tagB | Create a new tag in a GitLab project |
| get_repository_treeB | Get the repository file tree |
| list_releasesB | List releases for a GitLab project |
| create_releaseB | Create a new release for a GitLab project |
| update_issueC | Update an existing issue |
| create_issue_noteB | Add a comment to an issue |
| list_labelsB | List labels for a GitLab project |
| create_labelC | Create a new label in a GitLab project |
| update_labelC | Update an existing label |
| list_milestonesC | List milestones for a GitLab project |
| create_milestoneB | Create a new milestone in a GitLab project |
| update_milestoneB | Update an existing milestone |
| get_merge_request_changesB | Get the changes/diffs for a merge request |
| get_merge_request_commitsB | Get the commits for a merge request |
| update_merge_requestC | Update an existing merge request |
| rebase_merge_requestB | Rebase a merge request onto the target branch |
| create_merge_request_discussionC | Create a new discussion on a merge request |
| list_protected_branchesC | List protected branches for a GitLab project |
| protect_branchB | Protect a branch in a GitLab project |
| unprotect_branchB | Remove protection from a branch |
| get_projectB | Get details of a GitLab project |
| update_projectB | Update a GitLab project's settings |
| get_current_userA | Get details of the currently authenticated user |
| list_usersB | List GitLab users |
| get_userB | Get details of a specific user |
| list_groupsC | List GitLab groups |
| get_groupB | Get details of a specific group |
| list_group_subgroupsC | List subgroups of a group |
| create_groupC | Create a new GitLab group |
| update_groupB | Update a GitLab group's settings |
| delete_groupB | Delete a GitLab group |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yoda-digital/mcp-gitlab-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server