Supports deployment as an AWS Lambda serverless function for remote access to the flight simulator MCP server
Includes Docker container support for deployment of the flight simulator MCP server
Uses .env files for configuration management of the flight simulator MCP server
Supports version control and repository cloning for installation of the flight simulator MCP server
Uses Pydantic for data models to structure airline booking information and flight data
Includes testing framework for running unit tests on the flight simulator MCP server
Built with Python for implementing the flight simulator MCP server functionality
Offers one-click deployment option to Railway for hosting the flight simulator MCP server
Supports one-click deployment to Render for hosting the flight simulator MCP server
Flight Simulator MCP Server
An enhanced Model Context Protocol (MCP) server for comprehensive airline booking operations, built with FastMCP 2.0 and Python.
Features
🛫 Core Booking Tools (17 total)
- Flight Search & Booking: Multi-criteria search, booking creation, modifications
- Check-in & Services: Online check-in, seat selection, baggage, meal preferences
- Real-time Operations: Flight tracking, price alerts, disruption handling
- Loyalty & Groups: Frequent flyer integration, group bookings, special assistance
📊 Information Resources (9 total)
- Airport information with timezones
- Real-time flight status
- Seat maps and availability
- Weather impact data
- Airline policies
- Gate information
- Upgrade availability
- Loyalty benefits
🤖 AI-Powered Prompts (6 total)
- Intelligent flight search assistance
- Complete booking workflow guidance
- Multi-city trip planning
- Disruption management
- Loyalty optimization
- Accessibility support
Installation
Prerequisites
- Python 3.10 or higher
- UV package manager (recommended) or pip
Setup
- Clone the repository:
- Install dependencies using UV (recommended):
Or using pip:
- Copy environment configuration:
- Configure your
.env
file with appropriate values.
Usage
Running the Server
Start the MCP server:
The server will start in stdio mode by default, suitable for integration with Claude Desktop or other MCP clients.
Integration with Claude Desktop
- Open your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the flight simulator server:
- Restart Claude Desktop
Example Interactions
Flight Search:
Group Booking:
Check-in:
Flight Tracking:
Loyalty Optimization:
Available Tools
Flight Search & Booking
search_flights
- Search with multiple criteriaget_flight_details
- Detailed flight informationcreate_booking
- Book flightsget_booking
- Retrieve booking detailscancel_booking
- Cancel with refund calculationmodify_booking
- Change flights or dates
Check-in & Services
check_in
- Online check-in with boarding passesselect_seats
- Choose specific seatsadd_baggage
- Add checked bagsadd_services
- Meals, WiFi, priority boardingtravel_insurance
- Trip protection optionsspecial_assistance
- Accessibility services
Real-time & Loyalty
track_flight
- Live flight statusprice_alert
- Monitor price changesloyalty_account
- Link frequent flyer accountsgroup_booking
- 5+ passenger bookingsupgrade_seat
- Request upgrades
Testing
Using MCP Inspector
- Install MCP Inspector:
- Run the inspector:
- Access the web UI at
http://localhost:5173
Running Unit Tests
Development
Project Structure
Adding New Tools
- Create a new file in
src/tools/
- Import the MCP instance:
from ..server import mcp
- Define tools using the
@mcp.tool()
decorator - Import the module in
server.py
Mock Data
The server uses a mock database that generates realistic flight data for demonstrations. In production, this would connect to real airline APIs.
Security Considerations
- API tokens should be stored in environment variables
- Payment tokens are mocked - implement real payment integration for production
- Personal data handling follows privacy best practices
- Rate limiting is recommended for production deployments
Deployment
Local Development
The default stdio transport is perfect for local development and testing with Claude Desktop.
Remote Deployment
For remote access, configure SSE transport:
Deploy options:
- Docker container (Dockerfile included)
- Railway/Render (one-click deploy)
- AWS Lambda (serverless)
- Any Python-capable hosting platform
Contributing
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Submit a pull request
License
MIT License - see LICENSE file for details
Support
For issues, questions, or contributions:
- Open an issue on GitHub
- Check existing documentation
- Review MCP protocol specs at modelcontextprotocol.io
This server cannot be installed
A comprehensive airline booking operations server that enables users to search flights, create bookings, check-in, select seats, track flights, and manage loyalty programs through natural language interactions.
Related MCP Servers
- -securityAlicense-qualityThis MCP server allows an AI assistants to search for flight information online using Google Flights. It can find flights for specific dates or search through a range of dates to find all options or just the cheapest ones available.Last updated -11PythonMIT License
- AsecurityAlicenseAqualityThe server provides a simple API interface that allows users to search for 12306 tickets.Last updated -41,148389JavaScriptMIT License
- AsecurityFlicenseAqualityIntegration platform for aviation data sources including weather, NOTAMs, airport information, and flight planning APIs, enabling comprehensive pre-flight preparation and in-flight decision support.Last updated -1121JavaScript
- -securityFlicense-qualityProvides tools to query flight and train information including flight searches, train tickets, weather forecasts, and transfer options between different transportation modes.Last updated -15