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 |
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 |
|---|---|
| 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_filesC | 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_pageC | 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_membersB | List all members of a GitLab project (including inherited members) |
| list_group_membersB | 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_requestC | Approve a merge request |
| unapprove_merge_requestA | Remove your approval from a merge request |
| merge_merge_requestC | Merge a merge request |
| set_auto_mergeA | Set a merge request to merge when pipeline succeeds (auto-merge) |
| cancel_auto_mergeC | Cancel auto-merge for a merge request |
| list_merge_request_notesC | List all comments and notes on a merge request |
| create_merge_request_noteC | Add a comment to a merge request |
| update_merge_request_noteB | 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_pipelineB | Get details of a specific pipeline |
| trigger_pipelineB | 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_jobsC | 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_jobC | Retry a failed job |
| cancel_jobC | Cancel a running job |
| list_environmentsC | List environments for a GitLab project |
| get_environmentB | Get details of a specific environment |
| list_branchesB | List branches for a GitLab project |
| delete_branchB | Delete a branch from a GitLab project |
| compare_branchesC | Compare two branches, tags, or commits |
| list_tagsB | List tags for a GitLab project |
| create_tagC | Create a new tag in a GitLab project |
| get_repository_treeC | Get the repository file tree |
| list_releasesB | List releases for a GitLab project |
| create_releaseB | Create a new release for a GitLab project |
| update_issueB | Update an existing issue |
| create_issue_noteB | Add a comment to an issue |
| list_labelsC | List labels for a GitLab project |
| create_labelB | Create a new label in a GitLab project |
| update_labelC | Update an existing label |
| list_milestonesB | List milestones for a GitLab project |
| create_milestoneC | 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_requestC | 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_branchC | Protect a branch in a GitLab project |
| unprotect_branchB | Remove protection from a branch |
| get_projectC | Get details of a GitLab project |
| update_projectC | Update a GitLab project's settings |
| get_current_userA | Get details of the currently authenticated user |
| list_usersC | List GitLab users |
| get_userB | Get details of a specific user |
| list_groupsC | List GitLab groups |
| get_groupC | Get details of a specific group |
| list_group_subgroupsB | 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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