Connect GitLab to Gemini Enterprise
Search, read and write GitLab from Gemini Enterprise. Arlet links the two through one MCP connection and takes care of keys and authentication.
Arlet makes GitLab's official MCP server available from the AI client you already use. Signing in to GitLab.com completes the connection.
The AI can read projects and repositories, review and comment on merge requests, create and update issues, and inspect or rerun CI pipelines and jobs. The available tools are those provided by GitLab's official server, which GitLab offers as a beta.
How to connect GitLab to Gemini Enterprise
- 1
In the Arlet dashboard, open Integrations β Add an integration and choose GitLab. Sign in with Link GitLab, name the connection and click Create.
- 2
Sign in to Gemini Enterprise with your organization Google account and open the gear icon at the bottom left β Connectors β Add MCP Server.
- 3
In the MCP info tab, enter https://mcp.arlet.dev/mcp/ as the Server URL and "Arlet" as the Name. In the Auth tab, enter the OAuth settings from the Arlet docs (Authorization URL / Token URL / Client ID / Client Secret / Scopes) and click Add.
- 4
In the connector list on the chat screen, click Connect on Arlet, sign in with Google and authorize. Arlet can then be enabled with the toggle.
Adding custom connectors (MCP) requires a Gemini Enterprise subscription and is not available in the consumer Gemini app. See the docs for the values to enter in the Auth tab.
What you can do
GitLab tools that Gemini Enterprise can call.
searchSearch across GitLab.com by keyword.
list_projectsList projects.
get_projectGet a project's details.
get_repository_fileRead a file from a repository.
list_repository_treeList a repository's file tree.
list_commitsList commits.
list_merge_requestsList merge requests.
get_merge_requestGet a merge request's details.
get_merge_request_diffsGet a merge request's diffs.
save_merge_requestCreate or update a merge request.
save_merge_request_reviewPost a review on a merge request.
save_noteComment on a merge request or issue.
list_work_itemsList issues, tasks and epics.
save_work_itemCreate or update an issue, task or epic.
list_pipelinesList CI pipelines.
get_jobGet a CI job's details and log.
save_pipelineRun, retry or cancel a pipeline.
The tool list follows what GitLab's official MCP server provides and may change.
Example uses
Review a merge request
Read the diff, point out problems and post them as review comments.
Debug a failed pipeline
Read the failing job's log and summarize the cause and a fix.
File issues
Turn meeting notes into issues with labels and assignees.
Explore the code
Search across repository files and explain where something is implemented.
Prompts you can use as-is
- Review the diff of merge request !128 and post your concerns as comments
- Read the job log of the last failed pipeline on main and explain the cause
- Create issues in the backend project for the action items in these notes, with assignees
- Find where payment retries are implemented in the repository and explain it
