Skip to content

Connect ChatGPT to GitLab

Connect ChatGPT to GitLab in 3 steps: 1. Sign in to ApexGenius and connect GitLab. 2. Add the ApexGenius plugin. 3. Start using GitLab in ChatGPT.

1,000 free credits · No card required

How to connect GitLab to ChatGPT

  1. 1Sign in to ApexGenius and connect GitLab
  2. 2Add the ApexGenius plugin to ChatGPT
  3. 3Start using GitLab in ChatGPT
  1. 1ApexGenius

    Connect GitLab to ApexGenius

    Paste it into ApexGenius

    Paste your GitLab key into ApexGenius once.

  2. 2ApexGenius

    Connect ApexGenius to ChatGPT

    Choose ChatGPT

    Back on Start, pick ChatGPT and copy the prompt.

  3. 3ChatGPT

     

    Add it in ChatGPT

    In ChatGPT, open Settings, then Plugins, then Create. Paste the address, keep OAuth.

  4. 4ApexGenius

     

    Approve access

    ApexGenius opens its approval page. Review the access, then approve.

Add the ApexGenius plugin to ChatGPT

ChatGPT adds a custom MCP server as a plugin, under Plugins. There is no config file.

  1. Go to ChatGPT Plugins, select the plus button, then Add custom MCP server.
  2. Enter the name ApexGenius and a description. Under Connection, enter the MCP address, including the /mcp path.
  3. Configure authentication, review the risk warning and select I understand and want to continue. Select Create as a plugin.
  4. Complete the ApexGenius sign-in, approve access, and review the tools ChatGPT found.

The MCP address

https://server.autom8.pro/mcp

Check it. Start a new conversation, type @ in the prompt box and select the ApexGenius plugin.

Steps follow OpenAI Developers, Connect and test your plugin (opens in a new tab), read November 12, 2026.

Then ask ChatGPT

Using GitLab, tell me which GitLab user is connected, then list my five most recently updated open merge requests. Do not change anything.

Start free
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.
  • ChatGPT developer mode must be available to your account and allowed by your workspace.

1. Connect GitLab to ApexGenius

  1. 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.
  2. Open GitLab in Connections. Sign in to ApexGenius, open Connections, choose GitLab, and select Connect.
  3. 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.
    The Connect GitLab dialog in ApexGenius with the empty GitLab personal access token field, the How to get it link and the Connect button.
    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)
  4. 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.
Connect GitLab →

2. Connect ApexGenius to ChatGPT

Use this server address when adding the connection:

https://server.autom8.pro/mcp

The steps are above, under Add the ApexGenius plugin to ChatGPT. These notes apply to ChatGPT only.

  • If Add custom MCP server is missing. Account and workspace policies apply to custom MCP servers. Where ChatGPT offers Developer mode, turn it on under Settings, then Security and login. It has to be available to your account and allowed by your workspace.
  • After ApexGenius adds tools. Open the connection at ChatGPT Plugins and select Refresh, then start a new conversation.
  • Access. When ApexGenius asks what ChatGPT may use, choose Read only for the first test, or Custom to limit it to the tools you need.

Watch the connection

9-second loop · Silent, with captions

Read the steps Follow along at your own pace

1. Enable developer mode

ChatGPT Security and login settings with the Developer mode switch enabled.
This captured workspace places Developer mode in Settings, then Security and login.Open full-size image (opens in a new tab)

2. Create the plugin

ChatGPT New Plugin form filled with the ApexGenius name, server URL connection, MCP endpoint, and OAuth authentication.
This captured workspace labels the form New Plugin. Copy the live endpoint above, keep Server URL and OAuth selected, then acknowledge the warning.Open full-size image (opens in a new tab)

3. Find ApexGenius

ChatGPT Plugins directory search showing ApexGenius in the Personal section.
After creation, search Plugins for ApexGenius. A developer-mode copy appears under Personal rather than the Public catalog.Open full-size image (opens in a new tab)

4. Review the connection

ChatGPT ApexGenius plugin details showing its connection, permission control, and Developer mode label.
Open ApexGenius to review its connection, permission behavior, and Developer mode label before using it in a Work chat.Open full-size image (opens in a new tab)

3. Try your first question

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 ChatGPT Work

Example workflow
ChatGPT
ChatGPT WorkApexGenius MCP route
Which GitLab user is connected? Do not change anything.
ApexGenius
Working with ApexGenius1 tool search · 1 read
RequestCheck the user
Account scopeAuthorized connections checked
apex_search_toolsGitLab user · Find the GitLab read routeComplete
apex_call_read_toolget_current_user · Read the connected userComplete
ChatGPT

The token belongs to the username octo-dev. Compare it with the GitLab.com account you meant to connect.

Read-only route
ChatGPT Work

What to ask ChatGPT 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), then list_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), then list_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 ChatGPT can do in GitLab

28 operations: 28 read. Every operation looks things up and changes nothing, so ChatGPT cannot change GitLab through ApexGenius.

Account and groups

4 read
  • get_current_userread
  • list_groupsread
  • get_groupread
  • list_group_projectsread

Projects

4 read
  • list_projectsread
  • get_projectread
  • list_project_labelsread
  • list_project_milestonesread

Issues

4 read
  • list_issuesread
  • list_project_issuesread
  • get_project_issueread
  • list_issue_notesread

Merge requests

6 read
  • list_merge_requestsread
  • list_project_merge_requestsread
  • get_project_merge_requestread
  • list_merge_request_notesread
  • list_merge_request_diffsread
  • list_merge_request_commitsread

Repository

7 read
  • list_repository_treeread
  • get_repository_blobread
  • list_branchesread
  • list_commitsread
  • get_commitread
  • list_tagsread
  • list_releasesread

CI/CD pipelines

3 read
  • list_pipelinesread
  • get_pipelineread
  • list_pipeline_jobsread

You choose the access. When you approve ChatGPT, 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.

Start free

Questions about connecting ChatGPT to GitLab

Updated November 12, 2026.

How do I connect ChatGPT to GitLab?

Sign in to ApexGenius and connect GitLab. In ChatGPT, go to Plugins, select the plus button, then Add custom MCP server, and enter the ApexGenius MCP address under Connection. Then ask ChatGPT: “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 ChatGPT can use GitLab?

Start a new conversation, type @ in the prompt box and select the ApexGenius plugin. If the plugin does not list a tool you expect, open the connection at ChatGPT Plugins and select Refresh. 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.

Connect GitLab to ChatGPT today

Start free

1,000 free credits. No card required. Disconnect any time.