Integrations
Allows interaction with GitLab repositories including creating/updating files, pushing multiple files, searching repositories, creating repositories, getting file contents, creating issues, creating merge requests, forking repositories, creating branches, getting merge request details and diffs, updating merge requests, and creating notes/comments.
Better GitLab MCP Server
@zereight/mcp-gitlab
GitLab MCP(Model Context Protocol) Server. Includes bug fixes and improvements over the original GitLab MCP server.
Usage
Using with Claude App, Cline, Roo Code, Cursor
When using with the Claude App, you need to set up your API key and URLs directly.
Copy
Environment Variables
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.USE_GITLAB_WIKI
: When set to 'true', enables the wiki-related tools (list_wiki_pages, get_wiki_page, create_wiki_page, update_wiki_page, delete_wiki_page). By default, wiki features are disabled.
Tools 🛠️
+
create_or_update_file
- Create or update a single file in a GitLab projectsearch_repositories
- Search for GitLab projectscreate_repository
- Create a new GitLab projectget_file_contents
- Get the contents of a file or directory from a GitLab projectpush_files
- Push multiple files to a GitLab project in a single commitcreate_issue
- Create a new issue in a GitLab projectcreate_merge_request
- Create a new merge request in a GitLab projectfork_repository
- Fork a GitLab project to your account or specified namespacecreate_branch
- Create a new branch in a GitLab projectget_merge_request
- Get details of a merge requestget_merge_request_diffs
- Get the changes/diffs of a merge requestupdate_merge_request
- Update a merge requestcreate_note
- Create a new note (comment) to an issue or merge requestmr_discussions
- List discussion items for a merge requestupdate_merge_request_note
- Modify an existing merge request thread notelist_issues
- List issues in a GitLab project with filtering optionsget_issue
- Get details of a specific issue in a GitLab projectupdate_issue
- Update an issue in a GitLab projectdelete_issue
- Delete an issue from a GitLab projectlist_issue_links
- List all issue links for a specific issueget_issue_link
- Get a specific issue linkcreate_issue_link
- Create an issue link between two issuesdelete_issue_link
- Delete an issue linklist_namespaces
- List all namespaces available to the current userget_namespace
- Get details of a namespace by ID or pathverify_namespace
- Verify if a namespace path existsget_project
- Get details of a specific projectlist_projects
- List projects accessible by the current userlist_labels
- List labels for a projectget_label
- Get a single label from a projectcreate_label
- Create a new label in a projectupdate_label
- Update an existing label in a projectdelete_label
- Delete a label from a projectlist_group_projects
- List projects in a GitLab group with filtering optionslist_wiki_pages
- List wiki pages in a GitLab projectget_wiki_page
- Get details of a specific wiki pagecreate_wiki_page
- Create a new wiki page in a GitLab projectupdate_wiki_page
- Update an existing wiki page in a GitLab projectdelete_wiki_page
- Delete a wiki page from a GitLab project
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
gitlab mcp
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server for the GitLab API, enabling project management, file operations, and more.Last updated -92,67443,961JavaScriptMIT License
- AsecurityAlicenseAqualityGitLab MCP Server (with activity tracking and group projects listing features) This server is based on the original GitLab MCP server with Group Projects Listing and Activity Tracking enhancementsLast updated -283245TypeScriptMIT License
- -securityAlicense-qualityGitLabとの連携機能を提供するModel Context Protocol (MCP) サーバーです。GitLabの特定のプロジェクトからパイプラインの失敗情報やマージリクエストへの指摘事項を取得し、AIアシスタントに提供します。Last updated -PythonMIT License
- -securityFlicense-qualityAn MCP server that enables communication with GitLab repositories, allowing interaction with GitLab's API to manage projects, issues, and repositories through natural language.Last updated -20JavaScript