GitLab Connector Pack
★Trustedv1.0.0MIT✔Verified88by 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.
Quick Start
agentnode install gitlab-connector-packUsage
From packagefrom 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_TOKENGitLab personal access token or project access token with API scope
GITLAB_URLGitLab instance URL (defaults to https://gitlab.com for GitLab SaaS)
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
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
| Capability | Description |
|---|---|
gitlab_manage | Full 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
| Variable | Required | Description |
|---|---|---|
GITLAB_TOKEN | Yes | GitLab personal or project access token |
GITLAB_URL | No | GitLab instance URL (defaults to https://gitlab.com) |
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install gitlab-connector-packEnvironment Variables
GITLAB_TOKENrequiredGITLAB_URLFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode