# List releases

Tool: `veryfront__list_releases`

List releases. Requires project.releases.read.

## Arguments

| Name                | Type                                  | Required | Description                                                                                                                  |
| ------------------- | ------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | string                                |          | Project ID or slug                                                                                                           |
| `cursor`            | string                                |          | Cursor for pagination (release ID).                                                                                          |
| `limit`             | number · min 1 · max 100 · default 20 |          | Maximum number of releases to return. Defaults to 20 and is capped at 100.                                                   |
| `sort_by`           | string · default created\_at          |          | Sort field. Defaults to "created\_at". The "status" field sorts by deploy\_status. One of `created_at`, `version`, `status`. |
| `sort_order`        | string · default desc                 |          | Sort order. Defaults to "desc". One of `asc`, `desc`.                                                                        |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_releases",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\",\"version\":\"string\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"user_id\":\"00000000-0000-0000-0000-000000000000\",\"export_status\":\"in_progress\",\"build_status\":\"in_progress\",\"deploy_status\":\"in_progress\",\"created_at\":\"string\",\"updated_at\":\"string\",\"asset_manifest\":{\"state\":\"queued\",\"manifest_version\":0}}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "string",
          "version": "string",
          "project_id": "00000000-0000-0000-0000-000000000000",
          "user_id": "00000000-0000-0000-0000-000000000000",
          "export_status": "in_progress",
          "build_status": "in_progress",
          "deploy_status": "in_progress",
          "created_at": "string",
          "updated_at": "string",
          "asset_manifest": {
            "state": "queued",
            "manifest_version": 0
          }
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      }
    }
  }
}
```
