# ci_variable — gitlab

> 15 acciones
> Esta página en markdown. Índice: https://mcp.jmrp.io/llms.txt

Canonical: https://mcp.jmrp.io/es/servers/gitlab/actions/ci_variable/
Language: es
Alternate: https://mcp.jmrp.io/servers/gitlab/actions/ci_variable/index.md
Updated: 2026-09-22T21:41:36+02:00
License: https://mcp.jmrp.io/es/license/

Contado con un token Free contra gitlab.com, que es el único host con el que habla este endpoint: para usarlo contra una instancia self-managed, levanta tú el servidor — su documentación lo cubre. El catálogo depende del token que pregunta, así que el recuento se mueve con su tier y con sus permisos: los tiers superiores exponen más acciones, y los dominios de administración solo aparecen a tokens autorizados a usarlos. Por eso las cifras difieren en otros sitios: el proyecto upstream cataloga 1.006 acciones en 162 dominios, y 851 en la superficie Free/CE, mientras que este despliegue publica 765 porque es solo-OAuth y actúa con tu token, así que los dominios de administración que una cuenta sin admin no puede llamar no aparecen nunca. Las tres describen el mismo catálogo, contado desde tres sitios distintos.

## Acciones

### `ci_variable.create` — CI Variable Create

Create a CI/CD variable in a project with type, environment scope, and protected/masked/raw/masked_and_hidden flags. Returns: the created variable's key, value (redacted when masked or hidden), type, flags, environment scope, and description. See also: ci_variable.list, ci_variable.get, ci_variable.update.

**Parámetros obligatorios:** `key (string)`, `project_id (string|integer)`, `value (string)`

### `ci_variable.delete` — CI Variable Delete

_destructiva_

Delete a CI/CD variable by key, selecting an environment-scoped instance via the filter. Returns: a success confirmation message. See also: ci_variable.list, ci_variable.get.

**Parámetros obligatorios:** `key (string)`, `project_id (string|integer)`

### `ci_variable.get` — CI Variable Get

_solo lectura_

Get a single CI/CD variable by key, optionally selecting an environment-scoped instance via the filter. Returns: the variable's key, value (redacted when masked or hidden), type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.list, ci_variable.update, ci_variable.delete.

**Parámetros obligatorios:** `key (string)`, `project_id (string|integer)`

### `ci_variable.group_create` — Group Variable Create

Create a CI/CD variable in a group with type, environment scope, and protected/masked/raw/masked_and_hidden flags. Returns: the created variable's key, value, type, flags, environment scope, and description. See also: ci_variable.group_list, ci_variable.group_get, ci_variable.group_update.

**Parámetros obligatorios:** `group_id (string|integer)`, `key (string)`

### `ci_variable.group_delete` — Group Variable Delete

_destructiva_

Delete a group CI/CD variable by key, selecting an environment-scoped instance via the filter. Returns: a success confirmation message. See also: ci_variable.group_list, ci_variable.group_get.

**Parámetros obligatorios:** `group_id (string|integer)`, `key (string)`

### `ci_variable.group_get` — Group Variable Get

_solo lectura_

Get a single group CI/CD variable by key, optionally selecting an environment-scoped instance via the filter. Returns: the variable's key, value, type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.group_list, ci_variable.group_update, ci_variable.group_delete.

**Parámetros obligatorios:** `group_id (string|integer)`, `key (string)`

### `ci_variable.group_list` — Group Variable List

_solo lectura_

List a group's CI/CD variables with order_by, sort, and offset or keyset pagination. Returns: each variable's key, value, type, protected/masked/hidden/raw flags, environment scope, description, and pagination metadata. See also: ci_variable.group_get, ci_variable.group_create, ci_variable.group_update.

**Parámetros obligatorios:** `group_id (string|integer)`

### `ci_variable.group_update` — Group Variable Update

Update a group CI/CD variable, selecting an environment-scoped instance via the filter. Returns: the updated variable's key, value, type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.group_get, ci_variable.group_list, ci_variable.group_delete.

**Parámetros obligatorios:** `group_id (string|integer)`, `key (string)`

### `ci_variable.instance_create` — Instance Variable Create

Create an instance-level CI/CD variable with type and protected/masked/raw flags (admin-only). Returns: the created variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, flags, and description. See also: ci_variable.instance_list, ci_variable.instance_get, ci_variable.instance_update.

**Parámetros obligatorios:** `key (string)`

### `ci_variable.instance_delete` — Instance Variable Delete

_destructiva_

Delete an instance-level CI/CD variable by key (admin-only). Returns: a success confirmation message. See also: ci_variable.instance_list, ci_variable.instance_get.

**Parámetros obligatorios:** `key (string)`

### `ci_variable.instance_get` — Instance Variable Get

_solo lectura_

Get a single instance-level CI/CD variable by key (admin-only). Returns: the variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, and description. See also: ci_variable.instance_list, ci_variable.instance_update, ci_variable.instance_delete.

**Parámetros obligatorios:** `key (string)`

### `ci_variable.instance_list` — Instance Variable List

_solo lectura_

List instance-level CI/CD variables with order_by, sort, and offset or keyset pagination (admin-only). Returns: each variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, description, and pagination metadata. See also: ci_variable.instance_get, ci_variable.instance_create, ci_variable.instance_update, ci_variable.instance_delete.

### `ci_variable.instance_update` — Instance Variable Update

Update an instance-level CI/CD variable by key, with type and protected/masked/raw flags (admin-only). Returns: the updated variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, and description. See also: ci_variable.instance_get, ci_variable.instance_list, ci_variable.instance_delete.

**Parámetros obligatorios:** `key (string)`

### `ci_variable.list` — CI Variable List

_solo lectura_

List a project's CI/CD variables with order_by, sort, and offset or keyset pagination. Returns: each variable's key, type, protected/masked/hidden/raw flags, environment scope, description, and pagination metadata. See also: ci_variable.get, ci_variable.create, ci_variable.update.

**Parámetros obligatorios:** `project_id (string|integer)`

### `ci_variable.update` — CI Variable Update

Update a CI/CD variable, selecting an environment-scoped instance via the filter. Returns: the updated variable's key, value (redacted when masked or hidden), type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.get, ci_variable.list, ci_variable.delete.

**Parámetros obligatorios:** `key (string)`, `project_id (string|integer)`
