< Back to all integrations
Data & Infrastructure

Connect AI agents and workflows to GitLab: issues, merge requests, pipelines, commits and releases, on GitLab.com or self-managed, with webhooks.

Book a demo
[ GitLab + engini ]

GitLab for AI agents and workflows.

engini lets your AI agents and workflows work in GitLab: create and update issues, read and comment on merge requests, run pipelines and read their status, read commits and releases, and start a workflow the moment GitLab reports an issue, a merge or a failed pipeline. GitLab.com or self-managed behind your firewall. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Sign-inSign in with GitLab (OAuth 2), or a personal or group access token
ReachProjects, issues, merge requests, pipelines, commits, releases and users
DeploymentGitLab.com, or self-managed through the On-Prem Agent
[ 01 / What agents can do ]

What your agent can do in GitLab. Every tool is one you allow or leave out.

The GitLab tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Get Issues, Get Issue

Read issues with labels, assignee and milestone.

Read
Get Merge Requests

Read merge requests, reviews and status.

Read
Get Pipelines, Get Jobs

Read pipeline runs and failed jobs.

Read
Get Commits, Get Releases

Read what changed and what shipped.

Read

Write

Create Issue, Update Issue, Add Comment

Open, label, assign, close and discuss issues.

Write
Comment on Merge Request

Add a note to a merge request.

Write
Run Pipeline, Retry Job

Start a pipeline or retry a failed job. Give these only to the agents that should.

Write
Create Release

Publish a release with notes.

Write

Any endpoint

Send API Request

Call any GitLab API endpoint, with the sign-in added for you.

Any call

Triggers

Issue Event, Merge Request Event

Issues and merge requests opened, updated, merged or closed.

Event
Pipeline Event

A pipeline succeeded or failed.

Event

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to GitLab. Four ways in, one set of permissions.

MCP

Claude, ChatGPT, Cursor

Create an MCP server in engini with your GitLab connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of GitLab tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

For coding agents

The engini CLI connects GitLab and runs its tools from a terminal, with machine-readable output, so an AI coding agent can drive it without getting stuck.

CLI guide →
REST API

Any language

Every GitLab tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect GitLab and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to GitLab through engini
// .cursor/mcp.json: Cursor, connected to GitLab through engini
{
"mcpServers": {
"engini-gitlab": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your GitLab connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“Which customer-reported issues are still open?”
“Open an issue for the bug in this ticket and label it customer.”
“Which merge requests have been open over a week?”
“Why did the last main pipeline fail?”
“Retry the failed deploy job.”
“Write release notes from the merge requests since v4.1.”

Each request runs through the GitLab tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on GitLab. Agents and workflows, across systems.

Support and engineering

Escalations tracked both ways

A Zendesk or ServiceNow ticket that needs a fix becomes a GitLab issue, and the ticket hears back when it is merged.

ZendeskServiceNowGitLab
Engineering

Failed pipelines, flagged

When main fails, the owning team hears in Slack with the failed job and its log.

GitLabSlack
Product

Release notes that write themselves

Merged work becomes release notes in Confluence and a post to the customer channel.

GitLabConfluenceSlack
Managers

Delivery on request

An agent answers what shipped, what is in review and what is blocked. Its toolset holds read tools only.

ClaudeGitLab

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between GitLab and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in GitLab. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the GitLab tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own GitLab account and engini acts as that person, with their GitLab permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRSecurity at engini →
[ Behind your firewall ]

Self-managed GitLab.

If GitLab runs on your own servers, the engini On-Prem Agent connects it out to engini over HTTPS on port 443, so you open no inbound ports.

On-Prem Agent guide →
[ 05 / Set up ]

Connect GitLab in three steps. Then decide what each agent may do.

Step 01

Sign in to GitLab

Add a GitLab connection and sign in with GitLab, or paste a personal or group access token with only the scopes the workflows need. For self-managed GitLab, give the instance address.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in GitLab from Claude, ChatGPT, Cursor or your own code.

[ 06 / Questions ]

GitLab and engini. Straight answers.

Can an AI agent write to GitLab, or only read?

Both. engini has tools to create, update and comment on issues, comment on merge requests, run pipelines, retry jobs and create releases. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Does the agent act as me in GitLab?

It acts as the GitLab user or token behind the connection, with that identity's project roles. Every run is recorded under the person who started it.

Can a change in GitLab start work?

Yes. GitLab notifies engini about issue, merge request and pipeline events. A trigger starts a workflow, and that workflow can include an AI agent step.

What if the tool I need is not listed?

Use Send API Request to call any GitLab API endpoint through the same connection, and give it only to the agents that need it.