Connect GitLab to AI agents

Connect GitLab to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

create_release

Create Release

Create a new release for a project, or list existing releases. Releases are associated with a Git tag and can include release notes and milestone associations.

manage_pipeline

Manage Pipeline

Trigger, retry, or cancel a CI/CD pipeline. Use "create" to trigger a new pipeline on a given ref (branch/tag). Use "retry" or "cancel" to manage an existing pipeline by its ID. Optionally pass CI/CD variables when triggering.

manage_project

Manage Project

Create, update, fork, or delete a GitLab project. Use the **action** field to specify the operation. For creating, provide a name and optional settings. For updating, provide the project ID and fields to change. For forking, provide the source project ID.

manage_issue

Manage Issue

Create, update, close, reopen, or delete a GitLab issue. Supports setting title, description, labels, assignees, milestone, due date, weight, and confidentiality. Use **stateEvent** to close or reopen an existing issue.

list_merge_requests

List Merge Requests

List GitLab merge requests, optionally scoped to a project. Filter by state, labels, source/target branch, author, assignee, or reviewer. Supports pagination.

manage_merge_request

Manage Merge Request

Create, update, or merge a GitLab merge request. Create MRs with source/target branches, reviewers, and labels. Update MR properties, close/reopen, or accept and merge. Use **action** "merge" to accept and merge the MR.

list_issues

List Issues

List GitLab issues filtered by project, state, labels, milestone, assignee, author, or search term. Can list issues globally or within a specific project. Supports pagination.

list_pipelines

List Pipelines

List CI/CD pipelines for a project. Filter by status, ref (branch/tag), SHA, source, or pipeline name. Useful for monitoring build and deployment status.

add_comment

Add Comment

Add a comment (note) to an issue or merge request. Supports Markdown formatting. Can also list existing comments on an issue or merge request.

get_project

Get Project

Retrieve detailed information about a specific GitLab project by its ID or URL-encoded path (e.g. "my-group/my-project").

browse_repository

Browse Repository

Browse a project's repository tree, read file contents, or compare branches. Use "tree" to list directory contents, "file" to read a specific file, or "compare" to view the diff between two refs (branches, tags, or SHAs).

manage_branch

Manage Branch

List, create, or delete branches in a project repository. Use "list" to search existing branches, "create" to create a new branch from a ref, or "delete" to remove a branch.

search

Search

Search across GitLab for projects, issues, merge requests, milestones, code (blobs), commits, wiki content, and users. Can search globally, within a group, or within a specific project.

list_groups

List Groups

List GitLab groups accessible to the authenticated user. Filter by search term or ownership.

list_projects

List Projects

List GitLab projects accessible to the authenticated user. Filter by search term, ownership, membership, visibility, and archived status. Supports pagination for large result sets.

get_pipeline_jobs

Get Pipeline Jobs

List all jobs in a CI/CD pipeline, or get details and logs for a specific job. Use this to inspect job statuses, view build logs, retry failed jobs, or cancel running jobs.

manage_file

Manage Repository File

Create, update, or delete a file in a GitLab repository. Each operation creates a commit. Provide file content and a commit message. For binary files, use base64 encoding.

run_pipeline

Run Pipeline

Create and run a new pipeline on a specified branch or tag. Optionally pass CI/CD variables for the pipeline run. Can also retry or cancel an existing pipeline.

lint_ci_config

Lint CI Config

Validate a `.gitlab-ci.yml` configuration file for syntax errors and configuration issues. Optionally performs a dry run to simulate pipeline creation. Returns validation status, errors, warnings, and optionally the merged YAML.

manage_environments

Manage Environments

List, create, update, stop, or delete deployment environments for a project. Environments represent targets like staging or production. Supports filtering by name, search term, and state.

list_deployments

List Deployments

List deployments for a project, optionally filtered by environment or status. Returns deployment details including the associated commit, environment, and timing information.

manage_job

Manage Job

Perform actions on a CI/CD job: get details, retry a failed job, cancel a running job, play a manual job, erase job artifacts/logs, or retrieve the job log output.

list_jobs

List Jobs

List CI/CD jobs for a specific pipeline or across a project. Filter by job scope (status). Returns job name, stage, status, duration, and associated pipeline.

get_pipeline

Get Pipeline

Retrieve detailed information about a specific pipeline, including status, duration, coverage, source, and associated user. Also optionally fetches test report summary.

manage_variables

Manage CI/CD Variables

List, create, update, or delete CI/CD variables at the project or group level. Variables can be scoped to environments, marked as protected (limited to protected branches/tags), or masked in logs.

manage_triggers

Manage Pipeline Triggers

Create, list, update, or delete pipeline trigger tokens. Trigger tokens allow external services to run pipelines via the trigger API. Can also fire a pipeline using a trigger token with custom variables.

delete_pipeline

Delete Pipeline

Permanently delete a pipeline and all of its associated resources (jobs, artifacts, logs). This action is irreversible.

manage_schedules

Manage Pipeline Schedules

Create, list, update, or delete scheduled pipelines that run at recurring intervals using cron syntax. Schedule variables can be added, updated, or removed as part of schedule management.

manage_runners

Manage Runners

List, view, update, pause/resume, or delete CI/CD runners. Runners can be listed for a specific project or across all accessible runners. Update runner configuration including tags, description, and access level.

get_test_report

Get Test Report

Retrieve the unit test report for a pipeline, including total counts, success/failure breakdowns, test suites, and individual test case details. Use "summary" mode for a quick overview or "full" mode for detailed test case information.

More integrations teams use with GitLab

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues. Subscribe to real-time webhooks for changes to issues, projects, cycles, comments, documents, and more.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Technical notes for GitLab

Manage GitLab projects, repositories, issues, merge requests, releases, and CI/CD workflows from one provider. Includes pipeline, job, variable, environment, schedule, trigger, runner, deployment, CI lint, and test report tools.

Connect GitLab to production AI agents

See how Metorial gives GitLab access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting GitLab to AI agents with Metorial.

  1. Can Metorial connect GitLab to AI agents?
    Yes. Metorial connects AI agents to GitLab through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.