Skip to content

GitLab MCP for merge request and pipeline jobs

Connect Claude Code, Cursor or Codex to Whenever's MCP server and describe a GitLab job that should not depend on someone remembering it: a daily list of merge requests waiting for review, an alert when the default branch pipeline fails, a release-notes draft from everything merged since the last tag. Your agent builds, tests and deploys the workflow. It reaches GitLab through Whenever's managed GitLab connection and runs on a schedule, on a webhook or on demand, after the chat closes.

No credit card needed.

Connect Whenever to Claude Code

claude mcp add --transport http whenever https://mcp.whenever.dev

Using Cursor, Codex or another client? See the setup for every client.

GitLab publishes its own MCP server, generally available on GitLab.com, Self-Managed and Dedicated, so an AI tool can read projects, issues and merge requests and act on your behalf during a session. That helps while you are reviewing code with an assistant. Whenever covers the other half: work that has to happen at 09:00 every weekday, or the moment a pipeline fails, whether or not anyone has a chat open.

The GitLab REST API covers projects, merge requests, pipelines, jobs, issues, tags and releases, and project webhooks report pipeline, merge request and push events as they happen. A workflow needs a token whose scope matches the job: reading merge requests and pipelines needs read access to the API, while opening an issue or creating a release needs write access to the project. GitLab.com applies rate limits per user, so a report should page through results rather than request each merge request separately.

Name the project path, the default branch and the labels your team uses, such as needs-review. For a pipeline alert, include the failing job names and a link to the pipeline, and check for an existing open issue with the same title before opening another, so a branch that fails five times produces one issue and five comments instead of five issues.

GitLab jobs to ask your agent for

Starter briefs to configure with your accounts, not preconfigured workflows.

Daily merge requests waiting for review

Lists open merge requests that have waited too long, with reviewers named.

Build this workflow

Alert when the main pipeline fails

A pipeline webhook that opens one issue per broken branch, not one per failure.

Build this workflow

Release notes draft from merged work

Collects merge requests since the last tag into a draft for a person to edit.

Build this workflow

GitLab MCP FAQs

Is Whenever the official GitLab MCP server?

No. Whenever is not affiliated with GitLab and is not its MCP server. Whenever's MCP server lets your coding agent build, test and deploy workflows. Each workflow reaches GitLab through Whenever's managed GitLab connection. GitLab has its own MCP server for working with your data in a chat.

Does the GitLab workflow keep running after I close the chat?

Yes. Once deployed, it runs on Whenever on its schedule, webhook or when you start it. No chat open, laptop closed. Connection requirements, GitLab permissions and any AI usage still apply.

Does it work with self-managed GitLab?

The workflow calls the GitLab API at the address the connection gives it, so a self-managed instance has to be reachable from the internet. GitLab.com works without extra setup.

What access does the GitLab connection need?

Read access to the API covers reports on merge requests and pipelines. Opening issues, commenting or creating releases needs write access to the project, so give the connection only the access its job uses.

More about GitLab on Whenever