tour-compare-mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +34 -0
  2. package/index.cjs +21606 -0
  3. package/package.json +24 -0
package/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # tour-compare-mcp
2
+
3
+ [tour-compare](https://developers.openai.com/codex/plugins) Codex 플러그인의 MCP 서버. 마이리얼트립 투어·액티비티 데이터를 조회하는 결정적 도구 3개를 stdio MCP로 제공한다.
4
+
5
+ | 도구 | 설명 |
6
+ |---|---|
7
+ | `search_products` | 목적지·유형으로 판매자별 후보 상품 검색 (반환 `listPrice`는 노출가) |
8
+ | `get_product_detail` | 포함/불포함·코스·취소규정·최소인원 등 상세 (원문 보존) |
9
+ | `get_quote` | 특정 날짜의 옵션별 실시간 원단가 + 가격 축 정의 |
10
+
11
+ 설계 원칙 "가격은 시스템이, 해석은 LLM이"에 따라 **서버는 원자료만 반환**하고 총액 계산·해석은 하지 않는다.
12
+
13
+ ## 사용
14
+
15
+ Codex 플러그인 `tour-compare`가 자동으로 실행한다. 플러그인의 `.mcp.json`:
16
+
17
+ ```json
18
+ { "mcpServers": { "tour-quote": { "command": "npx", "args": ["-y", "tour-compare-mcp@latest"] } } }
19
+ ```
20
+
21
+ 직접 실행(디버그용):
22
+
23
+ ```bash
24
+ npx -y tour-compare-mcp@latest # stdio JSON-RPC (MCP) 대기
25
+ ```
26
+
27
+ ## 요구사항
28
+
29
+ - Node.js >= 16 (전역 `fetch`가 없으면 내장 `https`로 폴백 — 구버전 호환)
30
+ - 런타임 의존성 없음 (단일 파일 번들)
31
+
32
+ ## 주의
33
+
34
+ 마이리얼트립 내부 JSON API를 조회한다. 가격은 **쿠폰·프로모션 적용 전** 값일 수 있다. 대량 호출은 대상 사이트 약관·차단 정책을 확인하고 예의 있게 사용할 것.