Ir al contenido

Releases

Una release envuelve un tag con sus notas, hitos y recursos descargables. Estas acciones listan releases, leen una o la última, crean una (para un tag existente o uno nuevo a partir de una referencia), actualizan y borran una, y gestionan los enlaces de recursos de una release, uno a uno o en lote tras una compilación. Borrar una release conserva su tag.

  • “Lista las releases del proyecto 42”
  • “Crea la release v2.0.0 con el changelog como notas”
  • “Adjunta los artefactos de la compilación a la release v2.0.0”
  • Dinámica, la superficie predeterminada: llama a gitlab_execute_action con action igual al ID de la acción, como release.create, y sus parámetros en params. gitlab_find_action encuentra un ID a partir de una descripción de la tarea.
  • Meta (GITLAB_MCP_TOOL_SURFACE=meta): llama a gitlab_release con action igual al nombre de la acción, como create, y sus parámetros en params.
  • Individual (GITLAB_MCP_TOOL_SURFACE=individual): llama a la herramienta propia de la acción, como gitlab_release_create, pasándole directamente sus parámetros.

Todos los niveles sirven el grupo completo, tanto en instancias autogestionadas como en GitLab.com.

Acciones de solo lectura: 5 de 12, las que conserva un despliegue en modo de solo lectura.

La descripción de cada acción, y la de cada uno de sus parámetros, es el texto que sirve el servidor para ella en la superficie predeterminada, citado tal cual; por eso está en inglés. Una acción destructiva solo se ejecuta una vez confirmada, salvo que GITLAB_MCP_YOLO_MODE (o AUTOPILOT) se salte ese paso: la superficie dinámica necesita confirm: true en gitlab_execute_action, y las otras dos aceptan un parámetro confirm o la pregunta del cliente (Acciones destructivas).

AcciónIndividual
release.creategitlab_release_create
release.deletegitlab_release_delete
release.getgitlab_release_get
release.get_latestgitlab_release_latest
release.link_creategitlab_release_link_create
release.link_create_batchgitlab_release_link_create_batch
release.link_deletegitlab_release_link_delete
release.link_getgitlab_release_link_get
release.link_listgitlab_release_link_list
release.link_updategitlab_release_link_update
release.listgitlab_release_list
release.updategitlab_release_update

Create a release for a tag, optionally creating the tag from a ref and attaching asset links. Returns: the created release with author, commit, assets, milestones, and _links. See also: release.update, release.link_create, tag.create.

  • Meta-herramienta: gitlab_release, acción create
  • Herramienta individual: gitlab_release_create
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name associated with the release
assetsobjectnoAsset links to attach to the release at creation time
descriptionstringnoRelease notes (Markdown supported)
milestonesstring[]noMilestone titles to associate with the release
namestringnoRelease title
refstringnoBranch or commit SHA to create tag from when tag_name does not exist. Include this when the prompt says ref/from ref
released_atstringnoDate of the release in ISO 8601 format
tag_messagestringnoMessage to use for the annotated tag (creates annotated tag instead of lightweight)

Delete a release by tag_name (the Git tag itself is preserved). Returns: the deleted release details. See also: release.get, release.list, tag.delete.

  • Meta-herramienta: gitlab_release, acción delete
  • Herramienta individual: gitlab_release_delete
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release to delete

Get a single release by project_id and tag_name. Returns: release notes, author, commit, assets, milestones, evidences, and _links. See also: release.list, release.update, release.delete, release.link_list.

  • Meta-herramienta: gitlab_release, acción get
  • Herramienta individual: gitlab_release_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release

Get the most recent release for a project. Returns: release notes, author, commit, assets, milestones, evidences, and _links. See also: release.list, release.get, release.create.

  • Meta-herramienta: gitlab_release, acción get_latest
  • Herramienta individual: gitlab_release_latest
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path

Create a single release asset link. Returns: the created link with id, name, url, direct_asset_url, and link_type. See also: release.link_create_batch, release.link_list, release.link_update.

  • Meta-herramienta: gitlab_release, acción link_create
  • Herramienta individual: gitlab_release_link_create
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
namestringsíName of the link
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release
urlstringsíAbsolute http, https, or ftp URL of the link target. Do not use local file paths or relative paths.
direct_asset_pathstringnoOptional path for a direct asset link relative to the release: redirects to url. Use instead of the deprecated filepath.
filepathstringnoDeprecated alias of direct_asset_path. Prefer direct_asset_path.
link_typestring (other, runbook, image, package)noType of the release link: other, runbook, image, or package.

Create multiple release asset links in one call. Returns: the created links (id, name, url, direct_asset_url, link_type) and any failed entries. See also: release.link_create, release.link_list, package.publish.

  • Meta-herramienta: gitlab_release, acción link_create_batch
  • Herramienta individual: gitlab_release_link_create_batch
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
linksobject[]síArray of release asset links. Each item supports name, url, link_type, direct_asset_path, and the deprecated filepath.
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release

Delete a release asset link by link_id. Returns: the deleted link with id, name, url, direct_asset_url, and link_type. See also: release.link_get, release.link_list.

  • Meta-herramienta: gitlab_release, acción link_delete
  • Herramienta individual: gitlab_release_link_delete
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
link_idintegersíID of the release link to delete
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release

Get one release asset link by link_id. Returns: the link with id, name, url, direct_asset_url, and link_type. See also: release.link_list, release.link_update, release.link_delete.

  • Meta-herramienta: gitlab_release, acción link_get
  • Herramienta individual: gitlab_release_link_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
link_idintegersíID of the release link
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release

List asset links for a release with offset or keyset pagination. Returns: matching links (id, name, url, direct_asset_url, link_type) and pagination metadata. See also: release.link_get, release.link_create, release.link_create_batch.

  • Meta-herramienta: gitlab_release, acción link_list
  • Herramienta individual: gitlab_release_link_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release
order_bystringnoColumn to order keyset-paginated results by (e.g. created_at, updated_at)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort direction (asc or desc)

Update an existing release asset link by link_id. Returns: the updated link with id, name, url, direct_asset_url, and link_type. See also: release.link_get, release.link_list, release.link_delete.

  • Meta-herramienta: gitlab_release, acción link_update
  • Herramienta individual: gitlab_release_link_update
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
link_idintegersíID of the release link to update
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release
direct_asset_pathstringnoNew direct asset path for the link
filepathstringnoNew filepath for a direct asset link
link_typestring (other, runbook, image, package)noType of the release link: other, runbook, image, or package.
namestringnoNew name of the link
urlstringnoAbsolute http, https, or ftp URL of the link target. Do not use local file paths or relative paths.

List releases in a project with pagination. Returns: tag names, release names, release dates, and summary metadata. See also: release.get, tag.list, release.link_list.

  • Meta-herramienta: gitlab_release, acción list
  • Herramienta individual: gitlab_release_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
include_html_descriptionbooleannoInclude the description_html field rendered from the Markdown description
order_bystring (released_at, created_at)noOrder by field: released_at (default) or created_at
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort direction (asc, desc)

Update an existing release’s title, notes, release date, or milestones. Returns: the updated release with author, commit, assets, milestones, and _links. See also: release.get, release.create, release.delete.

  • Meta-herramienta: gitlab_release, acción update
  • Herramienta individual: gitlab_release_update
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
tag_namestringsíTag name of the release
descriptionstringnoUpdated release notes
milestonesstring[]noMilestone titles to associate with the release
namestringnoNew release title
released_atstringnoNew release date in ISO 8601 format