NuVista Haven MCP Server
AI front desk for NuVista Haven vacation rentals: live availability, rates, booking links.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http nuvista-haven-mcp-server 'https://nuvista-haven-mcp.onrender.com/mcp'
{
"mcpServers": {
"nuvista-haven-mcp-server": {
"type": "http",
"url": "https://nuvista-haven-mcp.onrender.com/mcp"
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
NuVista Haven MCP server ("AI front desk")
Model Context Protocol server that lets AI assistants answer, from live data:
- what NuVista Haven properties exist →
search_properties - what's free on given dates →
check_availability(Hospitable calendars) - what's the price →
get_quote(nightly rates × nights + cleaning fee) - where to book direct →
get_booking_link(nuvistahaven.com)
Security model
- Read-only by construction.
hospitable_client.pyexposes exactly one HTTP verb (GET) against an allow-list of read paths (/user,/properties,/reservations). There are no POST/PUT/PATCH/DELETE methods anywhere — even though the token may carry write scopes, this code cannot mutate anything in Hospitable. - Token handling. The Hospitable Personal Access Token is read ONLY
from the
HOSPITABLE_API_TOKENenvironment variable. It is never hardcoded, never logged, never written to disk.
Setup
cd ~/workspace/nuvista-mcp
python3 -m venv venv
./venv/bin/pip install -r requirements.txt
Run
# local testing (stdio)
HOSPITABLE_API_TOKEN=<token> ./venv/bin/python server.py
# public hosting (Streamable HTTP)
HOSPITABLE_API_TOKEN=<token> ./venv/bin/python server.py --http --port 8000
Tests (mocked, no token needed)
./venv/bin/python test_server.py
One-time: map Hospitable property IDs
properties.py holds the 12 canonical properties with best-effort
Hospitable name guesses (7 strong, 5 guesses — see guess_confidence).
With a live token, run the matcher and confirm each mapping by hand,
then fill in hospitable_id per property:
HOSPITABLE_API_TOKEN=<token> ./venv/bin/python - <<'EOF'
import sys; sys.path.insert(0, '.')
from hospitable_client import HospitableClient
from logic import build_id_mapping
import json
print(json.dumps(build_id_mapping(HospitableClient()), indent=2))
EOF
Entries with "needs_human_confirm": true must be verified before use —
check_availability/get_quote refuse to run for unmapped properties.
Known API gaps / assumptions (verify against live API)
- Calendar query params:
get_calendarsendsstart_date/end_date(the Hospitable convention used by/reservations). If the endpoint ignores them, availability windows may be wrong — verify on first live run. - Cleaning fee: not part of the calendar day object.
get_quoteprobes the property record for common fee shapes; if absent, the total is explicitly markedtotal_is_partial_estimate: true— never silently zero. - Booking-link date params: date pre-fill via query string on
nuvistahaven.com is unverified, so
get_booking_linkreturns the plain property URL (no fabricated params). - Reservations cross-check:
list_reservationsis implemented but the calendar is the source of truth; reservations are not currently consulted.
Files
server.py— FastMCP server, 4 tools, stdio + Streamable HTTPlogic.py— tool logic (testable without MCP)hospitable_client.py— GET-only Hospitable Public API v2 clientproperties.py— canonical 12-property registry + Hospitable mappingtest_server.py— mock-based tests
Questions fréquentes
Qu'est-ce que NuVista Haven MCP Server ?
AI front desk for NuVista Haven vacation rentals: live availability, rates, booking links.
Comment installer NuVista Haven MCP Server ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http nuvista-haven-mcp-server 'https://nuvista-haven-mcp.onrender.com/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour NuVista Haven MCP Server ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
NuVista Haven MCP Server est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient NuVista Haven MCP Server ?
Il est publié par Cswarey16. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.