GitLab MCP Server

by rifqi96
Verified

gitlab_create_cicd_variable

Use this tool to create a new CI/CD variable in GitLab projects. Specify project ID, key, value, and optional settings like masked or protected variables for pipeline configuration.

Instructions

Create a new CI/CD variable

Input Schema

NameRequiredDescriptionDefault
keyYesThe key of the variable
maskedNoWhether the variable is masked
project_idYesThe ID or URL-encoded path of the project
protectedNoWhether the variable is protected
valueYesThe value of the variable

Input Schema (JSON Schema)

{ "properties": { "key": { "description": "The key of the variable", "type": "string" }, "masked": { "description": "Whether the variable is masked", "type": "boolean" }, "project_id": { "description": "The ID or URL-encoded path of the project", "type": "string" }, "protected": { "description": "Whether the variable is protected", "type": "boolean" }, "value": { "description": "The value of the variable", "type": "string" } }, "required": [ "project_id", "key", "value" ], "type": "object" }
ID: 7phkmkcd67