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_file | Create or update a single file in a GitLab project |
| search_repositories | Search for GitLab projects |
| create_repository | Create a new GitLab project |
| get_file_contents | Get the contents of a file or directory from a GitLab project |
| push_files | Push multiple files to a GitLab project in a single commit |
| create_issue | Create a new issue in a GitLab project |
| create_merge_request | Create a new merge request in a GitLab project |
| fork_repository | Fork a GitLab project to your account or specified namespace |
| create_branch | Create a new branch in a GitLab project |
| list_group_projects | List all projects (repositories) within a specific GitLab group |
| get_project_events | Get recent events/activities for a GitLab project |
| list_commits | Get commit history for a GitLab project |
| list_issues | Get issues for a GitLab project |
| list_merge_requests | Get merge requests for a GitLab project |
| list_project_wiki_pages | List all wiki pages for a GitLab project |
| get_project_wiki_page | Get a specific wiki page for a GitLab project |
| create_project_wiki_page | Create a new wiki page for a GitLab project |
| edit_project_wiki_page | Edit an existing wiki page for a GitLab project |
| delete_project_wiki_page | Delete a wiki page from a GitLab project |
| upload_project_wiki_attachment | Upload an attachment to a GitLab project wiki |
| list_group_wiki_pages | List all wiki pages for a GitLab group |
| get_group_wiki_page | Get a specific wiki page for a GitLab group |
| create_group_wiki_page | Create a new wiki page for a GitLab group |
| edit_group_wiki_page | Edit an existing wiki page for a GitLab group |
| delete_group_wiki_page | Delete a wiki page from a GitLab group |
| upload_group_wiki_attachment | Upload an attachment to a GitLab group wiki |
| list_project_members | List all members of a GitLab project (including inherited members) |
| list_group_members | List all members of a GitLab group (including inherited members) |
| list_issue_notes | Fetch all comments and system notes for a GitLab issue |
| list_issue_discussions | Fetch all discussions (threaded comments) for a GitLab issue |
| approve_merge_request | Approve a merge request |
| unapprove_merge_request | Remove your approval from a merge request |
| merge_merge_request | Merge a merge request |
| set_auto_merge | Set a merge request to merge when pipeline succeeds (auto-merge) |
| cancel_auto_merge | Cancel auto-merge for a merge request |
| list_merge_request_notes | List all comments and notes on a merge request |
| create_merge_request_note | Add a comment to a merge request |
| update_merge_request_note | Edit a comment on a merge request |
| list_merge_request_discussions | List all discussions (threaded comments) on a merge request |
| list_pipelines | List pipelines for a GitLab project |
| get_pipeline | Get details of a specific pipeline |
| trigger_pipeline | Trigger a new pipeline for a branch or tag |
| retry_pipeline | Retry failed jobs in a pipeline |
| cancel_pipeline | Cancel a running pipeline |
| list_pipeline_jobs | List jobs for a specific pipeline |
| get_job | Get details of a specific job |
| get_job_log | Get the log/trace output of a job |
| retry_job | Retry a failed job |
| cancel_job | Cancel a running job |
| list_environments | List environments for a GitLab project |
| get_environment | Get details of a specific environment |
| list_branches | List branches for a GitLab project |
| delete_branch | Delete a branch from a GitLab project |
| compare_branches | Compare two branches, tags, or commits |
| list_tags | List tags for a GitLab project |
| create_tag | Create a new tag in a GitLab project |
| get_repository_tree | Get the repository file tree |
| list_releases | List releases for a GitLab project |
| create_release | Create a new release for a GitLab project |
| update_issue | Update an existing issue |
| create_issue_note | Add a comment to an issue |
| list_labels | List labels for a GitLab project |
| create_label | Create a new label in a GitLab project |
| update_label | Update an existing label |
| list_milestones | List milestones for a GitLab project |
| create_milestone | Create a new milestone in a GitLab project |
| update_milestone | Update an existing milestone |
| get_merge_request_changes | Get the changes/diffs for a merge request |
| get_merge_request_commits | Get the commits for a merge request |
| update_merge_request | Update an existing merge request |
| rebase_merge_request | Rebase a merge request onto the target branch |
| create_merge_request_discussion | Create a new discussion on a merge request |
| list_protected_branches | List protected branches for a GitLab project |
| protect_branch | Protect a branch in a GitLab project |
| unprotect_branch | Remove protection from a branch |
| get_project | Get details of a GitLab project |
| update_project | Update a GitLab project's settings |
| get_current_user | Get details of the currently authenticated user |
| list_users | List GitLab users |
| get_user | Get details of a specific user |
| list_groups | List GitLab groups |
| get_group | Get details of a specific group |
| list_group_subgroups | List subgroups of a group |
| create_group | Create a new GitLab group |
| update_group | Update a GitLab group's settings |
| delete_group | 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