duffel-mcp-server
Verified Safeby CaullenOmdahl
Overview
Enables LLMs to search for flights, analyze offers, and create bookings through the Duffel API with intelligent optimization strategies.
Installation
docker run -p 8080:8080 -e DUFFEL_API_KEY_LIVE="your_api_key_here" -e CHECKOUT_BASE_URL="http://localhost:8080" duffel-mcpEnvironment 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
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
mcp-servers
An MCP server for managing files in Google Cloud Storage, supporting CRUD operations (save, get, search, delete) and exposing files as resources.
django-rest-framework-mcp
Enables developers to quickly build Model Context Protocol (MCP) servers for existing Django REST Framework APIs, allowing AI agents and LLM clients to leverage these endpoints as tools.
cross-llm-mcp
Provides unified access to multiple Large Language Model APIs (ChatGPT, Claude, DeepSeek, Gemini, Grok, Kimi, Perplexity, Mistral) for AI coding environments, enabling intelligent model selection, preferences, and prompt logging.