Skip to main content
Glama

EcoGO Flights

by alisajil

Ecogo MCP サーバーの実装

公式 MCP SDK を使用して TypeScript ベースの MCP サーバーを作成しました。3 つのツールを実装しました: 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", argument: { "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": ["name", "email", "phone", "DOB", "passport", "address", "payment"] } } }

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

インド航空の航空券予約MCP

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    MCP Server for Netbird
    Last updated -
    28
    Go
    Apache 2.0
  • -
    security
    -
    license
    -
    quality
    This MCP server allows an AI assistants to search for flight information online using Google Flights. It can find flights for specific dates or search through a range of dates to find all options or just the cheapest ones available.
    Last updated -
    Python
    MIT License

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alisajil/ecogotravel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server