Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
FLIGHTS_HTTP_PATH | No | URI path for the endpoint (only used when FLIGHTS_TRANSPORT is streamable_http or sse) | /mcp |
FLIGHTS_HTTP_PORT | No | Port for HTTP/SSE transport (only used when FLIGHTS_TRANSPORT is streamable_http or sse) | 4200 |
FLIGHTS_TRANSPORT | No | Transport protocol to use (stdio, streamable_http, sse) | stdio |
FLIGHTS_AVIASALES_MARKER | Yes | Your Aviasales marker ID | |
FLIGHTS_AVIASALES_API_TOKEN | Yes | Your Aviasales API token |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
search_flights | Search for flights using the Aviasales Flight Search API. This tool performs search based on the provided flight segments, number of passengers, trip class, currency, and locale. It provides search_id and description of search results and saves found options internally.After receiving the result client can use |
get_flight_options | Get flight options from the previously performed search. This tool allows you to filter the found flight options by price, departure and arrival times, and airlines. It returns a paginated list of flight options that match the specified filters and sorting option.IMPORTANT: This is very cheap operation, so you can call it as many times as needed to find the best flight options. |
get_flight_option_details | Retrieve detailed information about a specific flight option from the search results. This tool provides detailed information about a flight option, including its segments, price, baggage info. It is useful for getting more granular information about a specific flight option. |
request_booking_link | Request link for booking a flight option. This tool generates a booking link for a specific flight option.This tool is recommended to be used after the user expressed intention to book the flight option. |