
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
@zereight/mcp-gitlab
Advanced tools
GitLab MCP(Model Context Protocol) Server. Includes bug fixes and improvements over the original GitLab MCP server.
When using with the Claude App, you need to set up your API key and URLs directly.
{
"mcpServers": {
"GitLab communication server": {
"command": "npx",
"args": ["-y", "@zereight/mcp-gitlab"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "your_gitlab_token",
"GITLAB_API_URL": "your_gitlab_api_url",
"GITLAB_READ_ONLY_MODE": "true"
}
}
}
}
GITLAB_PERSONAL_ACCESS_TOKEN
: Your GitLab personal access token.GITLAB_API_URL
: Your GitLab API URL. (Default: https://gitlab.com/api/v4
)GITLAB_READ_ONLY_MODE
: When set to 'true', restricts the server to only expose read-only operations. Useful for enhanced security or when write access is not needed. Also useful for using with Cursor and it's 40 tool limit.create_or_update_file
project_id
(string): Project ID or namespace/project_pathfile_path
(string): Path to create/update the filecontent
(string): File contentcommit_message
(string): Commit messagebranch
(string): Branch to create/update the file inprevious_path
(optional string): Previous file path when renaming a filepush_files
project_id
(string): Project ID or namespace/project_pathbranch
(string): Branch to push tofiles
(array): Array of files to push, each with file_path
and content
propertiescommit_message
(string): Commit messagesearch_repositories
search
(string): Search querypage
(optional number): Page number (default: 1)per_page
(optional number): Results per page (default: 20, max: 100)create_repository
name
(string): Project namedescription
(optional string): Project descriptionvisibility
(optional string): Project visibility level (public, private, internal)initialize_with_readme
(optional boolean): Initialize with READMEget_file_contents
project_id
(string): Project ID or namespace/project_pathfile_path
(string): Path to the file/directoryref
(optional string): Branch, tag, or commit SHA (default: default branch)create_issue
project_id
(string): Project ID or namespace/project_pathtitle
(string): Issue titledescription
(string): Issue descriptionassignee_ids
(optional number[]): Array of assignee IDsmilestone_id
(optional number): Milestone IDlabels
(optional string[]): Array of labelscreate_merge_request
project_id
(string): Project ID or namespace/project_pathtitle
(string): Merge request titledescription
(string): Merge request descriptionsource_branch
(string): Branch with changestarget_branch
(string): Branch to merge intoallow_collaboration
(optional boolean): Allow collaborators to push commits to the source branchdraft
(optional boolean): Create as a draft merge requestfork_repository
project_id
(string): Project ID or namespace/project_path to forknamespace
(optional string): Namespace to fork into (default: user namespace)create_branch
project_id
(string): Project ID or namespace/project_pathname
(string): New branch nameref
(optional string): Ref to create the branch from (branch, tag, commit SHA, default: default branch)get_merge_request
project_id
(string): Project ID or namespace/project_pathmerge_request_iid
(number): Merge request IIDget_merge_request_diffs
project_id
(string): Project ID or namespace/project_pathmerge_request_iid
(number): Merge request IIDview
(optional string): Diff view type ('inline' or 'parallel')update_merge_request
project_id
(string): Project ID or namespace/project_pathmerge_request_iid
(number): Merge request IIDtitle
(optional string): New titledescription
(string): New descriptiontarget_branch
(optional string): New target branchstate_event
(optional string): Merge request state change event ('close', 'reopen')remove_source_branch
(optional boolean): Remove source branch after mergeallow_collaboration
(optional boolean): Allow collaborators to push commits to the source branchcreate_note
project_id
(string): Project ID or namespace/project_pathnoteable_type
(string): Type of noteable ("issue" or "merge_request")noteable_iid
(number): IID of the issue or merge requestbody
(string): Note contentlist_projects
search
owned
membership
archived
visibility
with_issues_enabled
with_merge_requests_enabled
order_by
sort
min_access_level
page
per_page
simple
list_labels
project_id
(string): Project ID or pathwith_counts
(optional): Include issue and merge request countsinclude_ancestor_groups
(optional): Include ancestor groupssearch
(optional): Filter labels by keywordget_label
project_id
(string): Project ID or pathlabel_id
(number/string): Label ID or nameinclude_ancestor_groups
(optional): Include ancestor groupscreate_label
project_id
(string): Project ID or pathname
(string): Label namecolor
(string): Color in hex format (e.g., "#FF0000")description
(optional): Label descriptionpriority
(optional): Label priorityupdate_label
project_id
(string): Project ID or pathlabel_id
(number/string): Label ID or namenew_name
(optional): New label namecolor
(optional): New color in hex formatdescription
(optional): New descriptionpriority
(optional): New prioritydelete_label
project_id
(string): Project ID or pathlabel_id
(number/string): Label ID or namelist_group_projects
group_id
(string): Project ID or namespace/project_pathinclude_subgroups
(optional boolean): Include projects from subgroupssearch
(optional string): Search term to filter projectsarchived
(optional boolean): Filter for archived projectsvisibility
(optional string): Filter by project visibility (public/internal/private)with_programming_language
(optional string): Filter by programming languagestarred
(optional boolean): Filter by starred projectswith_issues_enabled
(optional boolean): Filter projects with issues feature enabledwith_merge_requests_enabled
(optional boolean): Filter projects with merge requests feature enabledmin_access_level
(optional number): Filter by minimum access levelpage
(optional number): Page numberper_page
(optional number): Results per pageorder_by
(optional string): Field to sort bysort
(optional string): Sort direction (asc/desc)statistics
(optional boolean): Include project statisticswith_custom_attributes
(optional boolean): Include custom attributeswith_security_reports
(optional boolean): Include security reportsBefore running the server, you need to set the following environment variables:
GITLAB_PERSONAL_ACCESS_TOKEN=your_gitlab_token
GITLAB_API_URL=your_gitlab_api_url # Default: https://gitlab.com/api/v4
GITLAB_READ_ONLY_MODE=true # Optional: Enable read-only mode
MIT License
FAQs
MCP server for using the GitLab API
The npm package @zereight/mcp-gitlab receives a total of 535 weekly downloads. As such, @zereight/mcp-gitlab popularity was classified as not popular.
We found that @zereight/mcp-gitlab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
Weβre excited to announce a powerful new capability in Socket: historical data and enhanced analytics.