FlightTicketMCP
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 for streamable-http transport | /mcp |
| MCP_PORT | No | Server port | 8000 |
| LOG_LEVEL | No | Logging level | INFO |
| MCP_DEBUG | No | Enable debug mode | false |
| LOG_MAX_SIZE | No | Maximum log file size in MB | 10 |
| MCP_SSE_PATH | No | SSE path for SSE transport | /sse |
| LOG_FILE_PATH | No | Path to log file | logs/flight_server.log |
| MCP_TRANSPORT | No | Transmission protocol (stdio, sse, streamable-http) | sse |
| LOG_BACKUP_COUNT | No | Number of log backups to keep | 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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchFlightRoutesC | 來回航班查詢 - 根據出發地、目的地、出發日期和回程日期查詢來回機票資訊 |
| getCurrentDateA | 获取当前日期 - 返回格式为 yyyy-MM-dd 的当前日期字符串 |
| getTransferFlightsByThreePlaceA | 航班中转路线查询 - 根据出发地、中转地、目的地、最小转机时间、最大转机时间查询中转航班信息,最小转机时间默认为2小时,最大转机时间默认为5小时 |
| getWeatherByLocationB | 天气信息查询 - 根据经纬度查询天气信息,使用Open-Meteo API。如果不提供日期,默认查询今天和明天的天气数据 |
| getWeatherByCityB | 城市天气查询 - 根据城市名查询天气信息。支持武汉、北京、上海等主要城市。如果不提供日期,默认查询今天和明天的天气数据 |
| getFlightInfoB | 航班信息查询 - 根据航班号查询详细的航班信息,包括航班状态、座位配置、价格、天气等 |
| getFlightStatusA | 航班实时状态查询 - 使用OpenSky Network查询航班实时位置和状态。flight_number为航班呼号(如CCA1234),date参数无效(仅支持实时数据) |
| getAirportFlightsC | 机场周边航班查询 - 查询指定机场周边30公里范围内的所有航班。支持主要机场代码如PEK、PVG、CAN等 |
| getFlightsInAreaC | 区域航班查询 - 查询指定地理区域内的所有航班。参数为边界框坐标(最小纬度,最大纬度,最小经度,最大经度) |
| trackMultipleFlightsB | 批量航班跟踪 - 同时查询多个航班的实时状态。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
getFlightInfo and getFlightStatus both take a flight number and return status-related information, creating real ambiguity about which to use. The spatial queries getAirportFlights and getFlightsInArea also overlap conceptually, though their input types differ and descriptions partially clarify the distinction.
All tool names are camelCase and verb-first (get/track/search), giving a mostly predictable pattern. Minor deviations like the awkwardly long getTransferFlightsByThreePlace and the generic getCurrentDate keep it from being perfect.
10 tools is within the ideal 3-15 range and suits a flight query server well. A couple of tools (getFlightInfo/getFlightStatus) could be consolidated, so it falls just short of ideal scoping.
The set covers round-trip search, transfer search, status tracking, flight details, weather, and current date. However, as a 'ticket' server it lacks booking/purchase, one-way direct flight search, and order management, which are notable gaps for the implied domain.