Link environment to server

Link a server environment. Requires project.runtime.manage.

Arguments

  • server_idstring · uuidrequired

    ID of a server you own. Linking and unlinking require project.runtime.manage on every project currently linked to the server. If none are linked, no project capability is required. Linking also requires project.runtime.manage on the environment’s project. Unlinking also requires API-key delete scope.

  • environment_idstring · uuidrequired

    Provide the environment id.

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__create_server_environment_link",    "arguments": {      "server_id": "00000000-0000-0000-0000-000000000000",      "environment_id": "00000000-0000-0000-0000-000000000000"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"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\"}"      }    ],    "structuredContent": {      "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"    }  }}

The tool ran; its output is result.structuredContent.