# Ignav Flights — how to use (mcp.ai)

Connect your Ignav Flights account and use 5 tools for lifestyle and entertainment straight from your AI agent. Connect with your own API key. Search airports and flight fares, compare one-way, round-trip, and flexible itineraries, and retrieve airline or travel-agency booking links with Ignav.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_ignav_flights?ms=1787296020000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `ignav_flights_get_booking_links`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/ignav_flights`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/ignav_flights/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/ignav_flights/get/booking/links` — Get current direct airline or OTA booking links for a recent Ignav fare result or a manually specified one-way/round-trip flight. Prefer lookup mode 'ignav_id' with an ID from a recent fare search. Ea
  - body: { lookup: object }
- `POST https://api.mcp.ai/api/ignav_flights/search/airports` — Find supported airport-level IATA codes by code, airport name, city, country, or metro-style query. Use before fare search when an airport code is uncertain. Each successful call consumes one Ignav us
  - body: { limit?: integer, query: string }
- `POST https://api.mcp.ai/api/ignav_flights/search/flexible/fares` — Search one or two ordered flight legs for multi-city, open-jaw, or other flexible trips. Returns ranked complete journeys rather than every leg combination. Each successful call consumes one Ignav usa
  - body: { legs: object[], adults?: integer, market?: string, children?: integer, max_price?: integer, cabin_class?: string, infants_on_lap?: integer, infants_in_seat?: integer, airlines_exclude?: string[], airlines_include?: string[], min_checked_bags?: integer, min_carry_on_bags?: integer, allow_self_transfer?: boolean }
- `POST https://api.mcp.ai/api/ignav_flights/search/one/way/fares` — Search complete one-way flight itineraries between two airport-level IATA codes on a future date. Returns ranked fares and ignav_id values for booking-link lookup. Each successful call consumes one Ig
  - body: { adults?: integer, market?: string, origin: string, children?: integer, max_price?: integer, max_stops?: integer, cabin_class?: string, destination: string, departure_date: string, infants_on_lap?: integer, infants_in_seat?: integer, airlines_exclude?: string[], airlines_include?: string[], min_checked_bags?: integer, min_carry_on_bags?: integer, allow_self_transfer?: boolean, departure_time_range?: object }
- `POST https://api.mcp.ai/api/ignav_flights/search/round/trip/fares` — Search complete round-trip itineraries between two airport-level IATA codes with outbound and return dates. Returns ranked fares and ignav_id values for booking-link lookup. Each successful call consu
  - body: { adults?: integer, market?: string, origin: string, children?: integer, max_price?: integer, max_stops?: integer, cabin_class?: string, destination: string, return_date: string, departure_date: string, infants_on_lap?: integer, infants_in_seat?: integer, airlines_exclude?: string[], airlines_include?: string[], min_checked_bags?: integer, min_carry_on_bags?: integer, return_time_range?: object, allow_self_transfer?: boolean, departure_time_range?: object }

## Example prompts
- "What can I do in Ignav Flights?"
- "Show me a summary of my Ignav Flights account"

## More
- Page: https://mcp.ai/ignav_flights
- Agent spec (llms.txt): https://mcp.ai/ignav_flights/llms.txt
- Postman collection: https://mcp.ai/ignav_flights/postman.json
