Skip to Content

Connect GitLab to Your AI Agent

Review selected issues and record the changes you want to make. Choose MCP or oo CLI + Skill.

20 toolsAPI keyMCP / oo CLI + Skill

20,000 free app calls every month(paid services billed separately)

Start Working with GitLab ↓

Start Working with GitLab

Connect with a GitLab personal access token; optionally specify a public self-managed instance URL.

Check Resource Access First

Provide the project ID or namespace path and project-local issue or merge request number.

Connect GitLab

Sign in to OOMOL, select your team, and create the GitLab connection using a supported authorization method. Check that the connection is active, then use the same team in your MCP configuration or oo CLI login.

Connect GitLab
  • Provide the project ID or namespace path and project-local issue or merge request number.
  • The default instance is GitLab.com. Creating a merge request requires existing source and target branches and does not merge them.
Choose Your Access Method

For clients that support remote HTTP MCP and custom authentication headers.

  1. Open the MCP setup page, sign in, and select the team containing your application connection. Use Copy MCP Configuration to get the key and headers.
  2. Add the configuration using the MCP client instructions below, then reconnect your client.
  3. Copy the read-only verification task into your AI chat and run it.
Configure MCPMCP Client Configuration→

For agents that can run terminal commands and use the oo Skill.

  1. Follow the agent setup page to install oo CLI and the oo Skill.
  2. Sign in to the OOMOL team containing your application connection. Use oo login --team <team-name> with your team name.
  3. Copy the read-only verification task into your agent chat and run it.
Set Up oo CLI + SkillCLI Installation Guide→

MCP Client Configuration

Get MCP Configuration

Replace the placeholders with the key and team name from the OOMOL setup page. Keep credentials private and preserve other server entries.

Generic HTTP

In any client that supports remote Streamable HTTP MCP and custom headers, add a remote MCP server using the values below. Get the complete key and team from OOMOL’s MCP setup page; field names and configuration formats vary by client.

URL
https://connector.oomol.com/v1/mcp
Transport
Streamable HTTP
Authorization
Bearer <mcp-api-key>
x-oo-team-name
<team-name>

Replace the placeholders with your own values. Send Authorization as Bearer followed by the MCP key, and x-oo-team-name as the team containing your connection. Prefer the client’s secret-input or environment-variable support. A URL-only setup without these headers is incomplete.

Verify the Connection
  1. Reconnect the server in your client and check that it can list OOMOL tools such as connector_list_apps. If connection fails, check the URL and both authentication headers.
  2. Run the read-only verification task in a new AI chat to check access to your resource and its data.

Look for OOMOL tools such as connector_list_apps and connector_search_actions. They discover and run GitLab actions; each action may not appear as a separate MCP tool. Frequently Asked Questions →

Verify Your First GitLab Query

Copy this read-only task into a new AI chat. If it fails, check the FAQ.

Choose Your Access Method

Verify Your First GitLab Query

Check that the returned resource identifier matches your target and review the query results.

Use OOMOL MCP only. Check that GitLab has an active connection in the configured OOMOL team. Read the connected user and list accessible projects. Let me select one, then read at most 5 open merge requests. Return the instance, project ID or path, project-local MR numbers, titles, URLs, and draft flags when available. Do not infer approvals or pipeline results, or merge anything. Ask me to choose when the target is unclear. Report only actual results, identify the selected resource, and distinguish empty results from access errors. Do not create, update, delete, or send anything.

Try a GitLab Task

Replace the bracketed values before copying a task. Some tasks modify data; confirm the target and operation before running them.

Choose Your Access Method

See what needs attention

Review open reports and identify missing details before the team meeting.

Use OOMOL MCP only. Review open GitLab issues in project [project ID or path] about [topic]. Summarize the reported problems, current assignees, and missing details to discuss at our meeting.

Create a merge request

Open a merge request between existing branches with supplied review details.

Use OOMOL MCP only. Create a GitLab merge request in project [ID] from [source branch] to [target branch], titled [title], with description [text] and reviewers [IDs]. Report its link for review.

File a reproducible bug

Turn a bug report into an issue the team can investigate.

Use OOMOL MCP only. Create an issue in GitLab project [project ID] from this report: [report]. Include reproduction steps, expected behavior, and what actually happened.

Add new findings to an issue

Keep the issue description current as the investigation progresses.

Use OOMOL MCP only. Read GitLab issue [issue number] in project [project ID]. Add these findings to its description while preserving the original report: [findings].

GitLab Tools

Browse projects, inspect issue records and list merge requests. AI can summarize project work, create or update issues and prepare merge requests between existing branches; separate operations change project settings or request a merge.

Projects and issues

Read projects and maintain individual issue records.

Merge requests

List, create or update merge requests and request a merge.

20 tools

Get Current User

Get the current authenticated GitLab user profile.

gitlab.get_current_user

List Projects

List GitLab projects visible to the authenticated personal access token, with optional search and membership filters.

gitlab.list_projects

Get Project

Get a GitLab project by numeric ID or URL-encoded path with namespace.

gitlab.get_project

List Project Issues

List issues for a GitLab project with common state, label, assignee, and search filters.

gitlab.list_project_issues

Create Project Issue

Create a new issue in a GitLab project.

gitlab.create_project_issue

Get Project Issue

Get a single issue from a GitLab project by its internal issue ID.

gitlab.get_project_issue

Update Project Issue

Update a GitLab project issue, including its title, labels, assignees, or state.

gitlab.update_project_issue

Delete Project Issue

Delete a GitLab project issue.

gitlab.delete_project_issue

Create Project

Create a new GitLab project owned by the authenticated user.

gitlab.create_project

Update Project

Update basic settings for an existing GitLab project.

gitlab.update_project

Delete Project

Mark a GitLab project for deletion.

gitlab.delete_project

List Project Merge Requests

List merge requests for a GitLab project with state, branch, search, and pagination filters.

gitlab.list_project_merge_requests

Create Merge Request

Create a GitLab merge request.

gitlab.create_merge_request

Update Merge Request

Update a GitLab merge request.

gitlab.update_merge_request

Merge Merge Request

Accept and merge a GitLab merge request.

gitlab.merge_merge_request

Get Merge Request

Get a single merge request from a GitLab project by its internal merge request ID.

gitlab.get_merge_request

List Issue Notes

List the notes (comments and system activity) on a GitLab issue, to read a thread before answering it.

gitlab.list_issue_notes

Create Issue Note

Post a comment on a GitLab issue.

gitlab.create_issue_note

List Merge Request Notes

List the notes (comments and system activity) on a GitLab merge request, to read a thread before answering it.

gitlab.list_merge_request_notes

Create Merge Request Note

Post a comment on a GitLab merge request. The comment is not attached to a line of the diff.

gitlab.create_merge_request_note

Frequently Asked Questions

Why can I connect but not read my resource?

Use the OOMOL team containing your active application connection. Application authorization, the MCP key, and resource permissions are separate checks. Inspect the tool error and confirm the resource ID and query range. Report empty results separately from access errors; keep keys private. For GitLab, check the personal access token and instance URL; self-managed instances must be publicly reachable. Confirm project access and distinguish project IDs from project-local MR numbers. Listing merge requests does not verify pipeline success or merge permission.

Can I use a self-managed GitLab instance?

Yes. Provide its public HTTP or HTTPS instance URL and a token valid for it.

Which issue number should I supply?

Use the issue’s number within its project together with the project identifier.

Does creating a merge request merge the code?

No. Creating a request and accepting a merge are separate operations.