Skip to main content
Glama
alisajil

EcoGO Flights

by alisajil

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", 参数: { "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", 参数: { "bookingId": [来自预订响应的预订 ID]" } )

克劳德配置

"EcoGo-AI": { "command": "node", "args": [ "/dist/mcp.js" ], "env": { "TRIPJACK_API_KEY": "联系sales@ecogo.co.in获取 API 密钥" }, "disabled": false, "autoApprove": [], "timeout": 300, "settings": { "preventMockData": true, "requireExplicitUserData": true, "mockDataBlacklist": ["name", "email", "phone", "DOB", "passport", "address", "payment"] } } }

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Flight Intelligence MCP — search, cheapest dates, multi-city, airline compare via Google Flights

  • Aggregated travel MCP — flights, tours, activities, price checks, visas, and more.

  • Geo-based flight search MCP server. Find more flights between any two places on earth

View all MCP Connectors

Latest Blog Posts

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