List branches

List the branches of a project, including its root branch. Requires project.read.

Arguments

  • limitinteger · min 1 · max 100

    Page size 1–100. Omit limit and cursor for the complete collection; cursor alone defaults to 20.

  • cursorstring · min length 1 · max length 4096

    Opaque continuation bound to collection, project, branch, principal, filters and page size.

  • searchstring

    Case-insensitive partial branch-name match.

  • statusstring · default all

    Branch status filter; defaults to all. One of active, merged, closed, all.

  • project_referencestring

    Project ID or slug

Responses

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_branches",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"branches\":[{\"id\":\"string\",\"name\":\"string\",\"project_id\":\"string\",\"base_branch_id\":\"string\",\"created_at\":\"string\",\"created_by\":\"string\",\"merged_at\":\"string\",\"merged_by\":\"string\",\"version\":0,\"status\":\"active\",\"description\":\"string\",\"auto_delete_on_merge\":false}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"      }    ],    "structuredContent": {      "branches": [        {          "id": "string",          "name": "string",          "project_id": "string",          "base_branch_id": "string",          "created_at": "string",          "created_by": "string",          "merged_at": "string",          "merged_by": "string",          "version": 0,          "status": "active",          "description": "string",          "auto_delete_on_merge": false        }      ],      "page_info": {        "self": "string",        "first": null,        "next": "string",        "prev": "string"      }    }  }}

The tool ran; its output is result.structuredContent.