Integrations
Provides a TypeScript-based implementation for flight booking services, integrating with Tripjack's APIs to search for flights, book tickets, and retrieve booking information.
Ecogo MCP 서버 구현
공식 MCP SDK를 사용하여 TypeScript 기반 MCP 서버를 생성했습니다. 다음 세 가지 도구를 구현했습니다. get_flight_data: 이용 가능한 항공편 검색 book_best_flight: 검색 결과에 따라 항공편 예약 get_ticket_info: 예약 세부 정보 및 티켓 정보 검색 포괄적인 오류 처리 및 로깅 API 통합 추가:
Tripjack의 항공편 검색, 예약 및 티켓 정보 API와 통합 적절한 요청/응답 처리 구현 모든 API 요청에 대한 유효성 검사 추가 구성:
MCP 서버를 사용하여 항공편을 검색하는 방법:
use_mcp_tool( server_name: "ecogoai", tool_name: "get_flight_data", arguments: { "departureCity": "DEL", "arrivalCity": "BOM", "travelDate": "2025-04-01", "adults": 1 } ) 항공편 예약:
use_mcp_tool( server_name: "tripjack", tool_name: "book_best_flight", arguments: { "priceId": "[검색 결과의 priceId]", "passengers": { "adults": [ { "firstName": "John", "lastName": "Doe", "title": "Mr" } ] }, "contactInfo": { "email": " john.doe@example.com ", "phone": "9999999999" } } ) 티켓 정보 가져오기:
use_mcp_tool( server_name: "tripjack", tool_name: "get_ticket_info", arguments: { "bookingId": "[예약 응답의 예약 ID]" } )
클로드 구성
"EcoGo-AI": { "command": "node", "args": [ "/dist/mcp.js" ], "env": { "TRIPJACK_API_KEY": "API 키를 받으려면 sales@ecogo.co.in 으로 문의하세요" }, "disabled": false, "autoApprove": [], "timeout": 300, "settings": { "preventMockData": true, "requireExplicitUserData": true, "mockDataBlacklist": ["이름", "이메일", "전화번호", "생년월일", "여권", "주소", "결제"] } } }
This server cannot be installed
인도 항공편 예약 MCP