Back to Home
CaullenOmdahl icon

duffel-mcp-server

Verified Safe

by CaullenOmdahl

Overview

Enables LLMs to search for flights, analyze offers, and create bookings through the Duffel API with intelligent optimization strategies.

Installation

Run Command
docker run -p 8080:8080 -e DUFFEL_API_KEY_LIVE="your_api_key_here" -e CHECKOUT_BASE_URL="http://localhost:8080" duffel-mcp

Environment Variables

  • DUFFEL_API_KEY_LIVE
  • CHECKOUT_BASE_URL
  • REDIS_URL
  • DUFFEL_LINKS_LOGO_URL
  • DUFFEL_LINKS_PRIMARY_COLOR
  • DUFFEL_LINKS_SUCCESS_URL
  • DUFFEL_LINKS_FAILURE_URL
  • DUFFEL_LINKS_ABANDONMENT_URL

Security Notes

The server uses Pydantic for robust input validation, `os.getenv` for API key management, and `httpx` for secure external API calls with error handling. Basic path traversal prevention is implemented for static file serving. It uses a trusted third-party payment component (Duffel Payments JS). No `eval` or obvious obfuscation detected. Session storage can fall back to in-memory if Redis is not configured, which might not be production-ready for session persistence.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-03

Tags

flight bookingtravelAPI integrationLLM tooloptimization