# template — gitlab

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

Canonical: https://mcp.jmrp.io/es/servers/gitlab/actions/template/
Language: es
Alternate: https://mcp.jmrp.io/servers/gitlab/actions/template/index.md
Updated: 2026-09-11T09:56:41+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 747 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

### `template.ci_yml_get` — Get CI Yml Template

_solo lectura_

Get a single GitLab CI/CD pipeline YAML template by key. Returns: the template name and full YAML content to copy into a .gitlab-ci.yml file. See also: template.ci_yml_list, template.lint, repository.file_create.

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

### `template.ci_yml_list` — List CI Yml Templates

_solo lectura_

List the GitLab-provided CI/CD pipeline YAML templates. Returns: available templates with key and name, plus pagination metadata. See also: template.ci_yml_get, template.lint, repository.file_create.

### `template.dockerfile_get` — Get Dockerfile Template

_solo lectura_

Get a single Dockerfile template by key. Returns: the template name and full Dockerfile content ready to commit as a project's Dockerfile. See also: template.dockerfile_list, template.gitignore_get.

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

### `template.dockerfile_list` — List Dockerfile Templates

_solo lectura_

List available Dockerfile templates with pagination and sorting. Returns: matching templates with key and name plus pagination metadata. See also: template.dockerfile_get, template.gitignore_list.

### `template.gitignore_get` — Get Gitignore Template

_solo lectura_

Get one .gitignore template by key (e.g. Go, Python, Node). Returns: the template's name and full file content ready to copy into .gitignore. See also: template.gitignore_list, repository.file_create.

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

### `template.gitignore_list` — List Gitignore Templates

_solo lectura_

List available .gitignore templates with order_by, sort, and offset or keyset pagination. Returns: each template's key and name, plus pagination metadata. See also: template.gitignore_get, repository.file_create.

### `template.license_get` — Get License Template

_solo lectura_

Get a single license template by key, optionally substituting project and fullname placeholders. Returns: the license's key, name, nickname, featured flag, source/HTML URLs, description, conditions, permissions, limitations, and rendered content. See also: template.license_list, repository.file_create.

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

### `template.license_list` — List License Templates

_solo lectura_

List available license templates with an optional popular filter, order_by/sort, and offset or keyset pagination. Returns: each template's key, name, nickname, featured flag, source/HTML URLs, description, conditions, permissions, limitations, and content, with pagination metadata. See also: template.license_get, repository.file_create.

### `template.lint` — CI Lint

_solo lectura_

Validate inline .gitlab-ci.yml content within a project namespace. Returns: validity flag, errors, warnings, the merged YAML, and resolved includes. See also: template.lint_project, pipeline.create, ci_catalog.list.

**Parámetros obligatorios:** `content (string)`, `project_id (string)`

### `template.lint_project` — CI Lint Project

_solo lectura_

Validate a project's committed .gitlab-ci.yml at a branch or tag. Returns: validity flag, errors, warnings, the merged YAML, and resolved includes. See also: template.lint, pipeline.create, repository.file_get.

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

### `template.project_template_get` — Get Project Template

_solo lectura_

Returns: one project template's full content by template_type and key. See also: template.project_template_list, project.create.

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

### `template.project_template_list` — List Project Templates

_solo lectura_

List project templates of a given template_type with optional id/type filters, order_by/sort, and offset or keyset pagination. Returns: each template's key, name, nickname, popularity, and source/HTML URLs. See also: template.project_template_get, project.create.

**Parámetros obligatorios:** `project_id (string)`, `template_type (string)`
