Agentic Travel Recommendations Service
БесплатноНе проверенEnables agents to discover and invoke travel recommendations with partner-specific caps and exclusions via MCP JSON-RPC.
Описание
Enables agents to discover and invoke travel recommendations with partner-specific caps and exclusions via MCP JSON-RPC.
README
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/list - MCP tool invocation via
tools/call - REST API
- Minimal browser UI
- Automated tests
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 --reload
Open:
- UI: http://127.0.0.1:8000
- 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
pytest
Design 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.
from github.com/zarrinmonirzadeh/agentic-travel-recommendations-service
Установка Agentic Travel Recommendations Service
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/zarrinmonirzadeh/agentic-travel-recommendations-serviceFAQ
Agentic Travel Recommendations Service MCP бесплатный?
Да, Agentic Travel Recommendations Service MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Agentic Travel Recommendations Service?
Нет, Agentic Travel Recommendations Service работает без API-ключей и переменных окружения.
Agentic Travel Recommendations Service — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Agentic Travel Recommendations Service в Claude Desktop, Claude Code или Cursor?
Открой Agentic Travel Recommendations Service на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Agentic Travel Recommendations Service with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
