List servers

List servers: REST lists your servers, or one project's with project_reference; GraphQL and MCP list the servers of one project. Requires project.read.

Arguments

  • project_referencestring

    Project ID or slug

  • cursorstring

    Opaque cursor pointing at the next page. Omit it to read the first page.

  • limitinteger · min 1 · max 100 · default 20

    Items per page

  • sort_bystring · default created_at

    Sort field. Defaults to "created_at". The "name" field sorts by hostname. One of name, status, created_at.

  • sort_orderstring · default desc

    Sort order. Defaults to "desc". One of asc, desc.

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_servers",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000000\",\"short_id\":\"string\",\"user_id\":\"00000000-0000-0000-0000-000000000000\",\"environment_ids\":[\"00000000-0000-0000-0000-000000000000\"],\"hostname\":\"string\",\"status\":\"pending\",\"created_at\":\"string\",\"updated_at\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"      }    ],    "structuredContent": {      "data": [        {          "id": "00000000-0000-0000-0000-000000000000",          "short_id": "string",          "user_id": "00000000-0000-0000-0000-000000000000",          "environment_ids": [            "00000000-0000-0000-0000-000000000000"          ],          "hostname": "string",          "status": "pending",          "created_at": "string",          "updated_at": "string"        }      ],      "page_info": {        "self": "string",        "first": null,        "next": "string",        "prev": "string"      }    }  }}

The tool ran; its output is result.structuredContent.