Connect Claude to GitLab
Connect Claude to GitLab in 3 steps: 1. Sign in to ApexGenius and connect GitLab. 2. Add the ApexGenius connector. 3. Start using GitLab in Claude.
1,000 free credits · No card required
How to connect GitLab to Claude
- 1Sign in to ApexGenius and connect GitLab
- 2Add the ApexGenius connector to Claude
- 3Start using GitLab in Claude
- 1
Connect GitLab to ApexGenius
Paste it into ApexGenius
Paste your GitLab key into ApexGenius once.
- 2
Connect ApexGenius to Claude
Choose Claude
Back on Start, pick Claude and copy the prompt.
- 3
Add it in Claude
In Claude, open Settings, then Connectors, then Add custom connector. Paste the address.
- 4
Approve access
ApexGenius opens its approval page. Review the access, then approve.
Add the ApexGenius connector to Claude
Claude keeps custom connectors on your Claude account, under Customize, then Connectors. There is no config file, and one connector works in Claude on the web, Claude Desktop and Cowork.
- Open Customize, then Connectors. Choose + Add, then Add custom connector.
- Name it ApexGenius and paste the MCP address as the remote MCP server URL. Choose Continue.
- Review the authentication settings Claude detected and choose Continue. Finish with Add.
- Sign in to ApexGenius and approve access in your browser when Claude asks.
The MCP address
https://server.autom8.pro/mcp
Check it. In a chat, open the + button at the lower left, choose Connectors, and check that ApexGenius is switched on.
Steps follow Claude Help Center, custom connectors using remote MCP (opens in a new tab), read November 12, 2026.
Then ask Claude
Using GitLab, tell me which GitLab user is connected, then list my five most recently updated open merge requests. Do not change anything.
Written setup, step by stepShow
Before you start
- A GitLab.com account that can see the projects you want your AI to read. Self-managed GitLab is not supported yet.
- A personal access token with only the read_api scope.
1. Connect GitLab to ApexGenius
- Create a token on GitLab.com. On GitLab.com open Edit profile, then Access, then Personal access tokens. Choose Generate token, then Legacy token. Name it, set an expiry date, pick only read_api, and choose Generate token. Copy the token once. The connect form links to a pre-filled token page.
- Open GitLab in Connections. Sign in to ApexGenius, open Connections, choose GitLab, and select Connect.
- Paste the token. Paste the token into the connection form. ApexGenius supplies the gitlab.com address, checks the token’s scopes and your GitLab user, and stores it encrypted. A token that can make changes is refused. Never paste the token into a chat.

Paste a GitLab.com personal access token with only the read_api scope and choose Connect. How to get it opens the token steps.Open full-size image (opens in a new tab) - Check the connected user. Open Tools to see the GitLab reads, then ask your AI the question below. Compare the username with your GitLab.com account.
2. Connect ApexGenius to Claude
Use this server address when adding the connection:
https://server.autom8.pro/mcpThe steps are above, under Add the ApexGenius connector to Claude. These notes apply to Claude only.
- Team and Enterprise plans. An Owner adds the connector first, under Organization settings, then Connectors. After that each person finds it under Customize, then Connectors, and chooses Connect.
- Free plan. Free plans allow one custom connector.
- Where the connection runs. Claude reaches ApexGenius from Anthropic’s servers, not from your computer, including in Claude Desktop and Cowork.
- Access. When ApexGenius asks what Claude may use, choose Read only for the first test, or Custom to limit it to the tools you need.
Read the steps Follow along at your own pace
1. Open Connectors

2. Add ApexGenius

3. Review permissions

3. Verify one safe read
Using GitLab, tell me which GitLab user is connected, then list my five most recently updated open merge requests. Do not change anything.
Using GitLab, tell me which GitLab user is connected, then list my five most recently updated open merge requests. Do not change anything.Confirm the username matches your GitLab.com account and the merge requests match GitLab. The connection is read-only, so this check changes nothing.
Full guide: the GitLab setup guide.
What it looks like in Claude Cowork
Illustration of a task, not a recorded customer result. Your answers come from the account and dates you choose.
apex_search_toolsGitLab user · Find the GitLab read routeCompleteapex_call_read_toolget_current_user · Read the connected userCompleteIllustrative example: the token belongs to the username octo-dev. Compare it with the GitLab.com account you meant to connect. Nothing was changed.
Read-only routeWhat to ask Claude about GitLab
- Check the user
Which GitLab user is connected? Do not change anything.
Runs
get_current_user(read). - Open merge requests
Summarize the open merge requests in the project I name, with author, age and reviewers.
Runs
list_project_merge_requests(read), thenlist_merge_request_notes(read). - Failed pipeline
Why did the latest pipeline on the main branch fail in the project I name?
Runs
list_pipelines(read), thenlist_pipeline_jobs(read).
These 3 questions use 5 of GitLab’s 28 operations. The full list is below.
- List the issues labeled bug that were opened in the last 30 days in the project I name. (read)
- Why did the latest pipeline on the main branch fail in the project I name? List the failed jobs. (read)
- Read the README in the project I name and explain how to run it locally. (read)
What Claude can do in GitLab
28 operations: 28 read. Every operation looks things up and changes nothing, so Claude cannot change GitLab through ApexGenius.
Account and groups
4 readget_current_userreadRead the GitLab user the token belongs to.
list_groupsreadList the groups you can see.
get_groupreadRead one group.
list_group_projectsreadList the projects in a group.
Projects
4 readlist_projectsreadList or search the projects you are a member of.
get_projectreadRead one project.
list_project_labelsreadList a project’s labels.
list_project_milestonesreadList a project’s milestones.
Issues
4 readlist_issuesreadList issues across your projects.
list_project_issuesreadList the issues in one project.
get_project_issuereadRead one issue.
list_issue_notesreadRead the comments on an issue.
Merge requests
6 readlist_merge_requestsreadList merge requests across your projects.
list_project_merge_requestsreadList the merge requests in one project.
get_project_merge_requestreadRead one merge request.
list_merge_request_notesreadRead the comments on a merge request.
list_merge_request_diffsreadRead the file changes in a merge request.
list_merge_request_commitsreadList the commits in a merge request.
Repository
7 readlist_repository_treereadList the files and folders in a repository.
get_repository_blobreadRead one file from the repository.
list_branchesreadList the branches in a repository.
list_commitsreadList commits on a branch.
get_commitreadRead one commit.
list_tagsreadList the tags in a repository.
list_releasesreadList a project’s releases.
CI/CD pipelines
3 readlist_pipelinesreadList a project’s pipelines by status, branch or date.
get_pipelinereadRead one pipeline.
list_pipeline_jobsreadList the jobs in a pipeline and how each one ended.
You choose the access. When you approve Claude, pick Full access, Read only, or Custom.
GitLab checks the token on every call. Your AI sees only the projects and data your GitLab user can read.
Every operation is a read. ApexGenius has no GitLab write tool, so nothing in GitLab can change through this connection.
ApexGenius refuses a token that has any scope beyond read_api, read_user and read_repository, such as api.
GitLab.com only. Self-managed GitLab and GitLab Dedicated are not supported yet.
GitLab.com limits how many API calls each user can make each minute.
Disconnecting removes the token from ApexGenius. Revoke it on GitLab.com to stop it everywhere.
Questions about connecting Claude to GitLab
Updated November 12, 2026.
How do I connect Claude to GitLab?
Sign in to ApexGenius and connect GitLab. In Claude, open Customize, then Connectors, choose + Add, then Add custom connector, and paste the ApexGenius MCP address. Then ask Claude: “Using GitLab, tell me which GitLab user is connected, then list my five most recently updated open merge requests. Do not change anything.” Start with a read, so nothing changes.
How do I check that Claude can use GitLab?
In a chat, open the + button at the lower left and choose Connectors. ApexGenius should be listed and switched on for that conversation. On a Team or Enterprise plan an Owner has to add the connector first, under Organization settings, then Connectors. Then ask: “Using GitLab, tell me which GitLab user is connected, then list my five most recently updated open merge requests. Do not change anything.”
Which token should I create?
A legacy personal access token with only the read_api scope. In GitLab.com open Edit profile, then Access, then Personal access tokens, and choose Generate token, then Legacy token. A token with api or another scope that can make changes is refused.
Can it change my projects?
No. Every operation is a read. It cannot create, edit, comment on, merge, close or delete anything. Make those changes on GitLab.com.
Can it read private projects?
Yes, the ones your GitLab user can see. Public projects are readable with any valid token.
Does it work with self-managed GitLab?
Not yet. The connector reaches gitlab.com only. Self-managed GitLab and GitLab Dedicated need a separate host check that is not built yet.
What happens when my token expires?
GitLab tokens expire within a year. When GitLab stops accepting it, reads fail. Create a new token on GitLab.com and paste it on the GitLab connection page in ApexGenius.
More connections like this one
Claude with other apps
All 48 apps Claude can use
Google Tasks
Google Calendar
Google Sheets
Calendly
ClickUp
monday.com
ElevenLabs
FreshBooks
Trello
Mobbin
SlackDiscord
ChatGPT Ads
Context.dev
Attio
Semrush
Notion
Apify
Google Ads
Google Analytics
Google Meet
Gmail
Google Chat
Google Docs
Google Drive
Google Slides
Apollo
Blotato
Bing Webmaster
Atlassian Rovo
Polymarket
OP.GGYouTube
YouTube Analytics
Salesforce
n8n
Confluence
Google Search Console
TypeSafeHubSpot
Other agents with GitLab
Connect GitLab to Claude today
Start free1,000 free credits. No card required. Disconnect any time.
