Flight Ticket MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Server host address | 127.0.0.1 |
| MCP_PATH | No | HTTP path | /mcp |
| MCP_PORT | No | Server port | 8000 |
| LOG_LEVEL | No | Log level | INFO |
| MCP_DEBUG | No | Debug mode | false |
| LOG_MAX_SIZE | No | Maximum log file size in MB | 10 |
| MCP_SSE_PATH | No | SSE path | /sse |
| LOG_FILE_PATH | No | Log file path | logs/flight_server.log |
| MCP_TRANSPORT | No | Transmission protocol type | sse |
| LOG_BACKUP_COUNT | No | Number of log backups | 5 |
| FASTMCP_LOG_LEVEL | No | FastMCP log level | INFO |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchFlightRoutesC | 航班路线查询 - 根据出发地、目的地和出发日期查询可用航班信息 |
| getCurrentDateA | 获取当前日期 - 返回格式为 yyyy-MM-dd 的当前日期字符串 |
| getTransferFlightsByThreePlaceA | 航班中转路线查询 - 根据出发地、中转地、目的地、最小转机时间、最大转机时间查询中转航班信息,最小转机时间默认为2小时,最大转机时间默认为5小时 |
| getWeatherByLocationC | 天气信息查询 - 根据经纬度查询天气信息,使用Open-Meteo API。如果不提供日期,默认查询今天和明天的天气数据 |
| getWeatherByCityB | 城市天气查询 - 根据城市名查询天气信息。支持武汉、北京、上海等主要城市。如果不提供日期,默认查询今天和明天的天气数据 |
| getFlightInfoB | 航班信息查询 - 根据航班号查询详细的航班信息,包括航班状态、座位配置、价格、天气等 |
| getFlightStatusA | 航班实时状态查询 - 使用OpenSky Network查询航班实时位置和状态。flight_number为航班呼号(如CCA1234),date参数无效(仅支持实时数据) |
| getAirportFlightsC | 机场周边航班查询 - 查询指定机场周边30公里范围内的所有航班。支持主要机场代码如PEK、PVG、CAN等 |
| getFlightsInAreaC | 区域航班查询 - 查询指定地理区域内的所有航班。参数为边界框坐标(最小纬度,最大纬度,最小经度,最大经度) |
| trackMultipleFlightsC | 批量航班跟踪 - 同时查询多个航班的实时状态。flight_numbers为航班呼号列表,如['CCA1234','CSN5678'] |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Most tools have distinct purposes, such as getFlightInfo for detailed flight data and getFlightStatus for real-time tracking. However, getAirportFlights and getFlightsInArea could be confused as both query flights in a geographic area, though one uses airport codes and the other uses bounding boxes. The weather tools (getWeatherByCity and getWeatherByLocation) also overlap but are differentiated by input type.
Tool names generally follow a consistent verb_noun pattern with 'get' or 'search' prefixes, such as getFlightInfo and searchFlightRoutes. Minor deviations include trackMultipleFlights using 'track' instead of 'get', and getTransferFlightsByThreePlace having a verbose name that breaks the pattern slightly, but overall the naming is readable and predictable.
With 10 tools, the count is well-scoped for a flight ticket server, covering core operations like flight queries, status tracking, weather checks, and route searches. Each tool serves a specific function without redundancy, making the set manageable and appropriate for the domain.
The tool surface covers essential flight-related operations, including search, status, weather, and transfers, with no major gaps for typical agent workflows. Minor gaps might include booking or payment tools, but these are outside the scope of query-focused operations, and agents can work around this with the provided tools for information retrieval.