Flywise MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Flywise MCP ServerFind equivalent flights for my JFK to LAX itinerary on May 10."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Flywise
Live website: https://wuisabel-gif.github.io/Flywise/
Flywise is a TypeScript MVP for disruption recovery. It ranks replacement flights by practical equivalence to a traveler's original ticket instead of treating the current public fare as the whole answer. Live flight inventory is searched through Duffel, with a server-side integration that keeps the Duffel access token out of the browser.
The repository includes:
A polished React/Vite passenger workspace.
A transparent scoring engine for schedule, exchange cost, cabin, baggage, routing, and rebooking likelihood.
Editable original-flight details, including route, date, airline, flight number, fare, baggage, and passengers.
A secure Duffel adapter for real-time offers from its airline network, including American Airlines and hundreds of other carriers.
Demo inventory that is clearly labeled and never substituted for another route after a live-search failure.
An MCP Apps server with data-first search tools and a separate render tool for ChatGPT.
Unit tests for ranking, flexibility filtering, and agent-request generation.
A local Codex plugin that bundles the Flywise MCP connection with a reusable flight-recovery skill.
Architecture
Flywise keeps flight-search and equivalence logic in one API and MCP service, then exposes it through multiple passenger and agent experiences:
Flywise API + MCP
│
┌───────────┬───────┼─────────┬───────────┐
▼ ▼ ▼ ▼ ▼
Website ChatGPT Codex Cursor Claude
passenger UI app UI plugin plugin MCPRelated MCP server: Find Flights MCP Server
Codex plugin
The repo-local plugin lives in plugins/flywise-flight-recovery. It teaches Codex how to collect an original itinerary, search equivalent replacements, distinguish public price from exchange cost, compare fare conditions, and draft a request for an airline agent.
Start the local MCP server before using the plugin:
npm run build
npm run dev:serverThe plugin connects to http://127.0.0.1:3000/mcp. Its marketplace catalog is stored in .agents/plugins/marketplace.json so the plugin can be installed and tested from this repository.
Local development
npm install
npm run devOpen http://127.0.0.1:5173.
Enable live airline search
Copy
.env.exampleto.envand add a Duffel test or live access token.Run the API with
npm run dev:server.Run the frontend with
VITE_FLYWISE_API_URL=http://127.0.0.1:3000 npm run dev.
The token is read only by the Express server and is never included in browser JavaScript. Flywise creates a Duffel offer request and normalizes the returned operating carrier, flights, routing, cabin, baggage, public price, and conditions before ranking the options.
Duffel integration
Flywise uses the Duffel Flights API as its first live inventory provider. The server sends the traveler's route, departure date, passenger count, cabin, and maximum connections to Duffel's Offer Requests API. Returned offers are converted into Flywise's normalized FlightOffer model before the equivalence engine ranks them.
Flywise website → Flywise Express API → Duffel → airline offers
↓
normalize and equivalence-rankRequired configuration:
Variable | Used by | Purpose |
| Express server | Authenticates private requests to Duffel. Never expose this through a |
| Browser build | Points the website to the deployed Flywise Express API. |
| Express server | Restricts which browser origins may call the API. |
Duffel results provide live public offers and prices. They do not by themselves confirm what an airline will charge to exchange an existing ticket. Flywise therefore labels the exchange cost as requiring airline confirmation while still comparing the offer's schedule, cabin, baggage, routing, and public price.
To build the widget and run the MCP server:
npm run build
npm run dev:serverThe health route is http://127.0.0.1:3000/health and the MCP endpoint is http://127.0.0.1:3000/mcp.
Connect in ChatGPT Developer Mode
Build and start the MCP server.
Expose port 3000 through an HTTPS tunnel, such as
ngrok http 3000.In ChatGPT, enable Developer Mode under Settings → Apps & Connectors → Advanced settings.
Create a new app and use the public tunnel URL ending in
/mcp.Refresh the app after changing tool descriptors, metadata, or the widget template.
MCP tools
search_equivalent_flights— data-only, ranked equivalent options.render_rebooking_results— renders the interactive Flywise widget after search.compare_fare_conditions— explains a selected offer's scoring and warnings.generate_airline_agent_request— produces a concise involuntary-reaccommodation request.
All tools are read-only and idempotent. Exchange costs are explicitly estimates until an airline confirms them.
Production boundary
GitHub Pages hosts only the frontend. Deploy render.yaml as a Render Blueprint (or deploy the same Node server elsewhere), set its DUFFEL_ACCESS_TOKEN, then add the backend URL as the GitHub repository variable FLYWISE_API_URL. The Pages workflow injects that URL at build time.
Duffel publicly lists American Airlines and 300+ other airlines. Delta does not appear in Duffel's current public airline directory; full Delta shopping requires a separate approved Delta/GDS partnership. The provider boundary in server/duffel.ts is intentionally isolated so another authorized provider can be added without changing the Flywise UI or scoring engine.
Flywise remains a decision assistant, not a universal ticket-exchange system. Search results are live public offers, but an existing ticket's exchange cost still depends on the issuing carrier, fare rules, waiver policy, booking-class inventory, interline agreements, and servicing authority. The UI therefore requires airline confirmation instead of presenting an unverified exchange price.
The visual specification is stored at design/flywise-concept.png.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/wuisabel-gif/Flywise'
If you have feedback or need assistance with the MCP directory API, please join our Discord server