How to Use the Duffel Flights MCP in Cursor
Build travel apps and book flights using real API data directly inside your Cursor editor.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Duffel Flights MCP to Cursor
Create your Vinkius account to connect Duffel Flights to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Query flight offers inside Cursor Agent
The `create_flight_offer_request` tool lets your editor fetch live flight inventory directly into your active workspace. Your agent uses this MCP tool alongside `list_flight_offers` to populate your code files or chat sidebar with actual flight prices instead of static mock data. This setup means you can test travel search UI components with live payloads. You get real-world JSON structures representing actual routes, pricing tiers, and cabin classes without switching to an external API client.
Book flights using this MCP Server
The `create_flight_order` tool registers passenger information and books seats directly from your development environment. It takes structured passenger data and sends it to the Duffel API to create a pending booking. By integrating this tool, your agent can test complex booking pipelines end-to-end. You can verify how your application handles seat reservation states before triggering the final payment step.
Process payments and fetch active order details
The `pay_for_flight_order` tool handles payment execution for any pending booking that is currently on hold. Your agent calls this tool to complete transactions, while `list_flight_orders` retrieves the updated booking details to confirm successful ticketing. This flow lets you debug payment confirmation webhooks and email notification triggers. You can inspect the exact API response payload returned after a successful transaction to ensure your database updates correctly.
Set up Duffel Flights MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the Duffel Flights MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent Duffel Flights transactions." If the MCP tools are loaded correctly, Cursor will call the Duffel Flights tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"duffel-flights-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Duffel. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Duffel Flights MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Duffel Flights MCP today
We host it, we monitor it, we maintain it. You just paste one token.