Skip to main content
Glama
duffel_mcp.py792 B
#!/usr/bin/env python3 """ Duffel MCP Server A Model Context Protocol server for the Duffel API, enabling LLMs to search and book flights and accommodations, and manage travel bookings through a unified interface. This server integrates with Duffel's comprehensive travel API to provide: - Flight search and booking - Accommodation (stays) search and booking - Order management and modifications - Supporting resources (airports, airlines, accommodations, etc.) """ # Import the MCP server instance from duffel_mcp.server import mcp # Import tools to register them with the server # The import will cause the @mcp.tool decorators to register the tools from duffel_mcp.tools import flights, stays, airports # noqa: F401 if __name__ == "__main__": # Run the MCP server mcp.run()

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FortripEngineering/duffel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server