GitLab Connector Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Interact with GitLab merge requests, pipelines, and repositories.

Manage GitLab projects, create merge requests, monitor CI/CD pipelines, and browse repository contents via the GitLab API.

langchaincrewaigeneric

Quick Start

bash
agentnode install gitlab-connector-pack

Usage

From package
python
from gitlab_connector_pack.tool import run

result = run(
    action="gitlab_manage",
    operation="create_merge_request",
    project="backend-team/payment-service",
    title="Implement Stripe webhook signature verification",
    source_branch="feature/stripe-webhooks",
    target_branch="main",
    description="""## Changes
- Add webhook signature verification middleware
- Handle `payment_intent.succeeded` and `payment_intent.failed` events
- Add retry logic for failed webhook processing

Closes #287""",
    assignee="priya.kumar",
    reviewers=["alex.johnson", "maria.garcia"],
    labels=["feature", "payments"]
)

print(f"MR created: !{result['iid']}")
print(f"URL: {result['web_url']}")

Environment Variables

GITLAB_TOKEN

GitLab personal access token or project access token with API scope

required
GITLAB_URL

GitLab instance URL (defaults to https://gitlab.com for GitLab SaaS)

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 1.9s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install1.9s
import593ms
smoke285ms
tests1.2s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Create merge requests with auto-generated descriptions from commit logs
  • Monitor CI/CD pipeline status and retry failed jobs
  • List and triage open issues across GitLab project groups
  • Tag releases and generate changelogs from merge history
  • Clone and inspect repository file contents for code review

README

GitLab Connector Pack

Interact with GitLab merge requests, pipelines, and repositories. Full GitLab API integration for CI/CD automation, code review, and project management.

Quick Start

agentnode install gitlab-connector-pack
from gitlab_connector_pack.tool import run

result = run(
    action="gitlab_manage",
    operation="list_merge_requests",
    project="my-team/my-project",
    state="opened"
)
for mr in result["merge_requests"]:
    print(f"!{mr['iid']} {mr['title']}")

Usage

Create a Merge Request

result = run(
    action="gitlab_manage",
    operation="create_merge_request",
    project="my-team/api",
    title="Add caching layer",
    source_branch="feature/cache",
    target_branch="main"
)

Monitor Pipelines

result = run(
    action="gitlab_manage",
    operation="get_pipeline",
    project="my-team/api",
    ref="main"
)
print(f"Status: {result['status']}, Duration: {result['duration']}s")

List Project Issues

result = run(
    action="gitlab_manage",
    operation="list_issues",
    project="my-team/api",
    labels=["bug"],
    state="opened"
)

API Reference

CapabilityDescription
gitlab_manageFull GitLab API: MRs, pipelines, issues, releases, repos

Operations: list_merge_requests, create_merge_request, get_pipeline, retry_job, list_issues, create_issue, create_release, get_file

Requirements

VariableRequiredDescription
GITLAB_TOKENYesGitLab personal or project access token
GITLAB_URLNoGitLab instance URL (defaults to https://gitlab.com)

License

MIT

Version History

Capabilities

gitlab_integrationgitlab_managetool

Permissions

This package declares the following access levels. Review before installing.

Networkunrestricted
Filesystemnone
Code Executionnone
Data Accessconnected_accounts
User Approvalonce
bash
agentnode install gitlab-connector-pack

Environment Variables

GITLAB_TOKENrequired
GITLAB_URL

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointgitlab_connector_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode