Agentic Travel Recommendations Service
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agentic Travel Recommendations Servicerecommend trips for member-1001 from premium-bank to Portland"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agentic Travel Recommendations Service
A working proof-of-concept for an agent-discoverable travel recommendations API.
What is included
FastAPI backend
Mock member profile and partner-configuration services
Partner-specific recommendation caps
Partner-specific category exclusions
MCP-compatible JSON-RPC endpoint
MCP tool discovery via
tools/listMCP tool invocation via
tools/callREST API
Minimal browser UI
Automated tests
Related MCP server: Agentic Travel Recommendations API
Run locally
python -m venv .venv
# macOS/Linux
source .venv/bin/activate
# Windows PowerShell
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
uvicorn app.main:app --reloadOpen:
Swagger: http://127.0.0.1:8000/docs
Health: http://127.0.0.1:8000/health
REST example
curl -X POST http://127.0.0.1:8000/api/recommendations \
-H "Content-Type: application/json" \
-d '{
"member_id": "member-1001",
"partner_id": "premium-bank",
"destination": "Portland",
"limit": 10
}'MCP discovery example
curl -X POST http://127.0.0.1:8000/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}'MCP invocation example
curl -X POST http://127.0.0.1:8000/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "get_recommendations",
"arguments": {
"member_id": "member-1001",
"partner_id": "premium-bank",
"destination": "Portland",
"limit": 10
}
}
}'Sample IDs
Members:
member-1001member-1002member-1003
Partners:
premium-bankfamily-clubbusiness-card
Partner-rule examples
premium-bank: maximum 5 results; excludeshostelfamily-club: maximum 4 results; excludesnightlifeandcasinobusiness-card: maximum 3 results; excludeshostel,nightlife, andcasino
Test
pytestDesign notes
The recommendation engine first scores candidates against a mocked member profile, then applies the partner policy before returning results. Policy enforcement is performed server-side, so a client or agent cannot bypass recommendation caps or excluded categories.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI marketplace — flights, tours, activities, transport & more via MCP. No auth required.
Discover, inspect, quote, and call external tools through one hosted MCP endpoint, with usage tracking and final credit settlement.
Remote MCP for Living Stack offer discovery and buyer-authorized checkout preparation.
Agent-native travel platform: read-only flight, hotel, and brand tools over MCP. OAuth sign-in.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceProvides AI-driven, partner-aware travel recommendations with auditability, integrating member context and read-only partner policy rules.-
- FlicenseAqualityCmaintenanceMCP server that provides AI agents with personalized travel recommendations for members, enforcing partner-specific rules such as category exclusions, loyalty tier eligibility, and recommendation caps.3-
- FlicenseNot gradedqualityCmaintenanceMCP server for agentic travel recommendations, exposing tools to retrieve member profiles and personalized travel recommendations with partner-specific rules and policies.-
- AlicenseAqualityAmaintenanceEnables MCP clients to search one-way, round-trip, and multi-city itineraries and retrieve fares, flight legs, carbon emissions and price history as structured JSON.214876MIT