# template — gitlab

> 12 actions
> This page as plain markdown. Index: https://mcp.jmrp.io/llms.txt

Canonical: https://mcp.jmrp.io/servers/gitlab/actions/template/
Language: en
Alternate: https://mcp.jmrp.io/es/servers/gitlab/actions/template/index.md
Updated: 2026-09-11T09:56:41+02:00
License: https://mcp.jmrp.io/license/

Counted with a Free-tier token against gitlab.com, which is the only host this endpoint talks to: to use it against a self-managed instance, run the server yourself — its documentation covers that. The catalog is scoped to the token that asks, so the count moves with both its tier and its permissions: higher tiers expose more actions, and administration domains only appear to tokens allowed to use them. That is why the figures differ elsewhere: the upstream project catalogues 1,006 actions across 162 domains, and 851 on the Free/CE surface, while this deployment publishes 747 because it is OAuth-only and acts with your token, so the administration domains a non-admin account cannot call never appear. All three describe the same catalog, counted from three vantage points.

## Actions

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

_read-only_

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.

**Required parameters:** `key (string)`

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

_read-only_

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

_read-only_

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.

**Required parameters:** `key (string)`

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

_read-only_

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

_read-only_

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.

**Required parameters:** `key (string)`

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

_read-only_

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

_read-only_

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.

**Required parameters:** `key (string)`

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

_read-only_

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

_read-only_

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.

**Required parameters:** `content (string)`, `project_id (string)`

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

_read-only_

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.

**Required parameters:** `project_id (string)`

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

_read-only_

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

**Required parameters:** `key (string)`, `project_id (string)`, `template_type (string)`

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

_read-only_

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.

**Required parameters:** `project_id (string)`, `template_type (string)`
