We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arjunprabhulal/mcp-flight-search'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
"""
Pydantic schemas for flight information.
"""
from pydantic import BaseModel
from typing import Optional
class FlightInfo(BaseModel):
"""Flight information model."""
airline: str
price: str
duration: str
stops: str
departure: str
arrival: str
travel_class: str
airline_logo: Optional[str] = None