Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_batch_operations

Execute and manage multiple GitLab operations as an atomic transaction with automatic rollback. Supports chaining and ensures consistency by stopping on errors or continuing to collect failures.

Instructions

Execute multiple GitLab operations as an atomic transaction. Supports operation chaining with result references ({{op1.field}}). Automatic rollback on failure ensures consistency.

Input Schema

NameRequiredDescriptionDefault
operationsYesArray of operations to execute in sequence (array of objects, required). Each: {name: string, tool: string, arguments: object}
project_idNoProject ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided
stop_on_errorNoStop batch execution on first error (boolean). True = fail fast with rollback, False = continue and collect errors. Default: true

Input Schema (JSON Schema)

{ "properties": { "operations": { "description": "Array of operations to execute in sequence (array of objects, required). Each: {name: string, tool: string, arguments: object}", "items": { "properties": { "arguments": { "description": "Arguments for the tool", "type": "object" }, "name": { "description": "Operation name for reference", "type": "string" }, "tool": { "description": "GitLab tool name to execute", "type": "string" } }, "required": [ "name", "tool", "arguments" ], "type": "object" }, "type": "array" }, "project_id": { "description": "Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided", "type": "string" }, "stop_on_error": { "default": true, "description": "Stop batch execution on first error (boolean). True = fail fast with rollback, False = continue and collect errors. Default: true", "type": "boolean" } }, "required": [ "operations" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vijay-Duke/mcp-gitlab'

If you have feedback or need assistance with the MCP directory API, please join our Discord server