Skip to main content
Glama
Flight Ticket MCP Server

Flight Ticket MCP Server

by Goveiiiii

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNo服务器主机地址。127.0.0.1
MCP_PATHNoHTTP路径。/mcp
MCP_PORTNo服务器端口。8000
LOG_LEVELNo日志级别。INFO
MCP_DEBUGNo调试模式。false
LOG_MAX_SIZENo日志文件最大大小(MB)。10
MCP_SSE_PATHNoSSE路径。/sse
LOG_FILE_PATHNo日志文件路径。logs/flight_server.log
MCP_TRANSPORTNo传输协议类型。sse
LOG_BACKUP_COUNTNo日志备份数量。5
FASTMCP_LOG_LEVELNoFastMCP日志级别。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

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 10 tools

Disambiguation3/5

Most tools are distinct, but two pairs overlap significantly: getFlightInfo vs getFlightStatus both take a flight number (one static detail, one live position), and getAirportFlights vs getFlightsInArea both return live flights by geographic area. Descriptions help separate them but an agent could easily misselect among these live-flight queries.

Naming Consistency4/5

Strong camelCase verb-first convention dominates (getWeatherByCity, getFlightInfo, getAirportFlights, searchFlightRoutes). Minor deviations like trackMultipleFlights and the awkward getTransferFlightsByThreePlace slightly break the pattern but remain readable.

Tool Count5/5

Ten tools is well within the ideal 3-15 range and each covers a recognizable function. The count feels purposeful for a flight-information domain.

Completeness3/5

Core lookup capabilities (route search, flight info/status, transfer routing, weather) are present, but a server named 'Flight Ticket' lacks any booking, ticketing, or passenger operations, and there is no airport/city lookup tool. These gaps limit real end-to-end workflows.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues