A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with the Thaïs Hotel API for managing hotel and restaurant reservations through natural language conversations.
This MCP server acts as a bridge between Large Language Models (LLMs) and the Thaïs Hotel Management API, allowing AI assistants to:
- Check room availability with flexible date parsing (natural language support)
- List available room types and their details
- Create hotel e-reservations (pre-bookings)
- Cancel existing reservations
- Make restaurant bookings
- Availability Check: Query room availability for specific dates with support for natural language date inputs (e.g., "tomorrow", "début février", "in 5 days")
- Room Types: List all available room categories with capacity and details
- E-Reservations: Create pre-bookings that require hotel confirmation
- Cancellations: Delete existing e-reservations with reason tracking
- Table Reservations: Book restaurant tables with date, time, and party size
Supports multiple date formats:
- ISO format:
2026-02-06 - French format:
06/02/2026 - Natural language (French/English): "demain", "tomorrow", "début février", "in 5 days"
- Relative dates: "aujourd'hui", "après-demain"
- Period expressions: "début mars", "mi-janvier", "fin février"
- Automatic JWT token management with expiration handling
- Secure credential storage via environment variables
- TypeScript: Type-safe server implementation
- MCP SDK: Model Context Protocol for LLM integration
- Zod: Schema validation for tool parameters
- Stdio Transport: Communication with Claude via STDIN/STDOUT
- Claude sends a natural language request
- The MCP server exposes tools that Claude can invoke
- Tools make authenticated API calls to Thaïs Hotel API
- Responses are formatted into human-readable text
- Claude receives structured data to respond to the user
thais_check_availability- Check room availability for datesthais_list_room_types- Get all available room categoriesthais_create_e_reservation- Create a new hotel pre-bookingthais_delete_e_reservation- Cancel an existing reservationthais_make_restaurant_booking- Reserve a restaurant table
Requires environment variables:
THAIS_BASE_URL- API base URLTHAIS_USERNAME- Partner API usernameTHAIS_PASSWORD- Partner API password