MCP Server
MCP Server (FastMCP)¶
This project exposes flight search tools via a FastMCP server. You can run it over STDIO (default) or the streamable HTTP transport.
Run over STDIO¶
Use the existing console script:
Run over HTTP (streamable)¶
Use the new HTTP entrypoint. By default it binds to 127.0.0.1:8000
.
You can override host/port by calling the function directly in Python:
Once running, the MCP endpoint is served at /mcp/
, for example: http://127.0.0.1:8000/mcp/
.