Skip to main content
Glama

Flights MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLIGHTS_HTTP_PATHNoURI path for the endpoint (only used when FLIGHTS_TRANSPORT is streamable_http or sse)/mcp
FLIGHTS_HTTP_PORTNoPort for HTTP/SSE transport (only used when FLIGHTS_TRANSPORT is streamable_http or sse)4200
FLIGHTS_TRANSPORTNoTransport protocol to use (stdio, streamable_http, sse)stdio
FLIGHTS_AVIASALES_MARKERYesYour Aviasales marker ID
FLIGHTS_AVIASALES_API_TOKENYesYour Aviasales API token

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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 tool to retrieve the found options with more granular filters.IMPORTANT: All times are local to departure/arrival locations and use HH 24-hour format.IMPORTANT: Call this tool as many times as needed to find the best flight options.

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.

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/maratsarbasov/flights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server