# Duffel Flights MCP for AI Agents AI Agent Connect

> Duffel Flights lets you search, book, and manage airline travel directly through your AI agent. It connects to the Duffel infrastructure to pull real-time flight offers, handle instant or held bookings, and process payments. You can also pull data on airlines, airports, and aircraft models to build itineraries or research travel paths without leaving your chat interface.

## Overview
- **Category:** ecommerce
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_rQ6QMLb0VeIHennvtnRvGw9F1oCl73hnsWuup1ra/ai-agent-connect
- **Tags:** flight-booking, airline-api, travel-management, order-fulfillment, real-time-search, itinerary-management

## Description

Duffel Flights lets you handle the entire flight booking lifecycle through a chat interface. Instead of jumping between different airline websites and manually tracking prices, you can just tell your agent to find a flight from London to New York on a specific date. It pulls real-time offers, lets you hold a seat while you confirm details, and even processes the payment once you're ready. You can also use it to pull data on global airports, IATA codes, and aircraft models, making it a powerful tool for research or building complex itineraries. It’s a great example of how the Vinkius catalog can turn a standard AI client into a functional travel desk. You get to stop copy-pasting flight numbers and start managing travel history and orders in one place.

## Tools

### list_aircraft
Get a list of aircraft models currently used by different airlines. This is useful for specialized travel research.

### list_airlines
Retrieve a comprehensive list of airlines available through the Duffel network. Use this to verify carrier options.

### list_flight_orders
View a history of all flight bookings and orders tied to your account. This keeps your travel history organized in one place.

### create_flight_offer_request
Search for real-time flight offers by providing origin, destination, and passenger counts. This helps you see all available options at once.

### create_flight_order
Book a specific flight by selecting an offer and providing passenger details. Use this to create an instant booking or a hold.

### pay_for_flight_order
Complete the payment for a flight order that was previously put on hold. This keeps the booking process moving smoothly.

### list_airports
Pull a directory of airports along with their respective IATA codes. It helps you find the right hub for any destination.

### list_flight_offers
See all available flight options for a specific offer request you've already made. This gives you a clear view of choices.

## Prompt Examples

**Prompt:** 
```
Find me a flight from Paris to Tokyo for 2 people leaving on March 10th.
```

**Response:** 
```
Searching for flights... I found 3 options:

| Airline | Departure | Arrival | Price |
| :--- | :--- | :--- | :--- |
| Air France | 10:00 AM | 6:00 PM | $1,200 |
| Japan Airlines | 2:30 PM | 9:00 PM | $1,450 |
| ANA | 11:15 AM | 7:45 PM | $1,380 |

Would you like to hold one of these seats while you confirm your details?
```

**Prompt:** 
```
What are the main airports in Spain?
```

**Response:** 
```
Retrieving airport data... Here are the major hubs in Spain:

* **Madrid-Barajas (MAD)**
* **Barcelona-El Prat (BCN)**
* **Malaga (AGP)**
* **Valencia (VLC)**

Let me know if you need the specific IATA codes or more details on any of these.
```

**Prompt:** 
```
Show me all my current flight bookings.
```

**Response:** 
```
Accessing your flight history... You have 2 active bookings:

1. **JFK to LAX**
   * Date: Oct 12
   * Status: Held

2. **LHR to CDG**
   * Date: Nov 5
   * Status: Confirmed

Would you like the full details for either of these?
```

## Capabilities

### Search real-time flight offers
Find available flights based on your specific origin, destination, dates, and passenger count.

### Hold or book flight orders
Create instant bookings or put a flight on hold while you finalize travel details.

### Process flight payments
Complete the payment for a flight order that was previously put on hold.

### Access global airport data
Retrieve a directory of airports including their specific IATA codes.

### List airline fleets
Get a list of aircraft models used by different airlines across the globe.

### Track booking history
View a complete list of all flight bookings associated with your account.

## Use Cases

### The Last Minute Booking
A travel agent needs to find a flight for a client in 5 minutes. They ask the agent to search for a flight from JFK to LHR on Friday, and the agent pulls the best offers instantly using create_flight_offer_request.

### The Corporate Trip
A manager needs to know which airports in Brazil have the best connections. They ask the agent to list all airports in Brazil to see the IATA codes using list_airports.

### The Held Reservation
A customer wants to book a flight but needs to confirm the final headcount. The agent uses create_flight_order to hold the seat, and then pay_for_flight_order once the customer is ready.

### The Travel Researcher
Someone wants to know what planes a specific airline uses. They ask the agent to list aircraft for that airline to see the fleet variety using list_aircraft.

## Benefits

- Stop jumping between airline sites by using create_flight_offer_request to see all options in one view.
- Lock in prices instantly or hold them for later using create_flight_order to give your clients more time.
- Simplify the checkout process by using pay_for_flight_order to handle payments directly through your agent.
- Access a massive global travel database with list_airports and list_airlines to verify location details quickly.
- Keep your travel history organized by using list_flight_orders to see every booking in a single list.
- Get technical aircraft data with list_aircraft to help with specialized travel research or logistics.

## How It Works

The bottom line is you get a functional flight booking desk inside your chat window.

1. Subscribe to the Duffel Flights MCP and get your Access Token from the Duffel Dashboard.
2. Plug your token into your preferred AI client configuration.
3. Ask your agent to search for, hold, or book flights using natural language.

## Frequently Asked Questions

**Can the Duffel Flights MCP book actual tickets?**
Yes, it can create flight orders for instant booking or hold them for later, then process the payment through your agent.

**Does it work for multiple passengers?**
Yes, you can provide a list of passengers when requesting an offer or creating an order.

**Can I use it to find airport codes?**
Absolutely. You can ask the agent to list airports in a specific region or country to get the IATA codes.

**Is it good for travel agencies?**
It's built for it. It handles the search-to-payment flow that agencies need to provide fast quotes to clients.

**How do I pay for a flight?**
You first create a flight order to hold the seat, and then you can tell the agent to pay for that specific order.

**Can I see my past travel history?**
Yes, you can ask the agent to list all the flight bookings associated with your account.

**How do I get a Duffel Access Token?**
Sign up for a developer account at the [**Duffel Dashboard**](https://app.duffel.com/). You can generate both 'test' tokens for development and 'live' tokens for real bookings.

**Can I make real bookings with this agent?**
Yes, if you provide a 'live' access token, the agent can perform real flight bookings. We recommend using a 'test' token first to understand the search and booking flow.