Onward Flights

Search real flights and buy an onward ticket (proof of onward travel), paid in USDC over MPP

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
93%
Vollständigkeit des Schemas
100%
Qualität der Benennung
93%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~536Tokens (Tool-Definitionen)
~1.2 KBTypische Antwortgröße
Minimale Auswirkung auf die Aufmerksamkeit (0.42% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "onward-flights": {
      "url": "https://onward.flights/mcp"
    }
  }
}

Remote-Endpunkte

https://onward.flights/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (3)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢find_airports(query)

Look up 3 letter IATA airport codes by city, airport or country name.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "City, airport, country or code, e.g. \"Bangkok\""
    }
  },
  "required": [
    "query"
  ]
}
🟢search_flights(origin, destination, date)

Find one-way flights to use as an onward ticket. Returns up to 10 flights, each with an id to buy and its price in USD.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "description": "IATA code of the airport leaving the country the traveller is entering, e.g. \"BKK\""
    },
    "destination": {
      "type": "string",
      "description": "IATA code of where the onward flight goes, e.g. \"SIN\""
    },
    "date": {
      "type": "string",
      "description": "Departure date, YYYY-MM-DD, within 9 months. Defaults to 14 days from now."
    }
  },
  "required": [
    "origin",
    "destination"
  ]
}
🟢buy_ticket(ticket_id, first_name, last_name, email, tx_hash, ...)

Buy the ticket for a flight from search_flights, paid in USDC. Call it first without payment to get the price, wallet address and MPP challenges. After sending the USDC, call it again with tx_hash and chain (or an MPP credential in _meta "org.paymentauth/credential"). x402 clients can instead sign one of the offers in error.data.x402 and retry with the PaymentPayload in _meta "x402/payment", with no gas needed. Returns the ticket link and PDF.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "ticket_id": {
      "type": "string",
      "description": "The flight id from search_flights"
    },
    "first_name": {
      "type": "string",
      "description": "Passenger's first name, as on their passport"
    },
    "last_name": {
      "type": "string",
      "description": "Passenger's last name, as on their passport"
    },
    "email": {
      "type": "string",
      "description": "Optional, also emails the ticket here"
    },
    "tx_hash": {
      "type": "string",
      "description": "Hash of the USDC transfer that paid for it"
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "optimism",
        "polygon"
      ],
      "description": "Chain the USDC was sent on, defaults to base"
    }
  },
  "required": [
    "ticket_id",
    "first_name",
    "last_name"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet3 Tools