updateStaySupplierConnection
Connect a Stay to the partner's own MCP server, change the connection, or disconnect it (empty mcpServerUrl). The server must implement get_allocation, check_availability, create_booking and cancel_booking (Nomad Stays connected supplier spec) and be public https. Set each room's mcpRoomId with updateStayRoom. Only fields supplied are changed. Requires an MCP agent token scoped to the owning account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stayId": "<stayId>"
},
"name": "updateStaySupplierConnection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stayId | Yes | The Stay's EntryID | |
| mcpApiKey | No | Bearer token Nomad Stays sends to the partner's MCP server; empty string clears it. Never returned | |
| pricesByDay | No | True if the partner prices by the day: its 1-month package price is for 31 nights, and a month booking is charged that price ÷ 31 for each actual night | |
| mcpServerUrl | No | https URL of the partner's MCP server; empty string disconnects |