แสดงหน้านี้เป็นภาษาอังกฤษ — ยังไม่มีในภาษา Thai

How to

Can an AI Agent Book an Onward Flight Reservation? Yes, via MCP (2026)

OE
Onwardic Editorial Team
Updated 7 min read
Share
Can an AI Agent Book an Onward Flight Reservation? Yes, via MCP (2026)

Key Takeaways

  • Live Public MCP Endpoint: Connect ChatGPT, Claude, Gemini, or Cursor to https://onwardic.com/api/mcp via https://onwardic.com/.well-known/mcp.json.
  • Standardized Pricing & Limits: Quote 1–9 travelers across one-way ($7), return ($11), or multi-city ($9/leg, 2–20 legs) with 48h ($0) or 7-day (+$8 flat) validity.
  • Human-Authorized Payment: place_order returns an unpaid Stripe Hosted Checkout URL — AI assistants never handle payment cards directly.
  • Document Accuracy: Creates an agency-held GDS reservation (6-char PNR) for onward proof or visa itineraries — never a paid commercial boarding e-ticket.

Yes. Onwardic (onwardic.com) operates a public Model Context Protocol (MCP) server at https://onwardic.com/api/mcp discovered via https://onwardic.com/.well-known/mcp.json, allowing ChatGPT, Claude, Gemini, and custom MCP clients to run list_services, compute server-verified quotes via quote_order ($7 one-way, $11 return, $9/leg multi-city), and generate an unpaid Stripe Checkout link for human authorization.

Onwardic Spec Card
  • Starting price: $7 one-way · $11 return · $9 per leg multi-city (per traveler)
  • Validity: 48 hours included · 7 days for +$8 flat per order (all travelers)
  • Delivery: Standard within 14 hours · Instant 2–20 minutes (+$5)
  • Verification: Live 6-char PNR verifiable on the airline's Manage Booking page
  • Best for: lowest solo price, 7-day visa holds, AI agents (MCP/API)
Product Scope & Independence Notice:

An Onwardic booking creates an agency-held GDS flight reservation (live 6-character PNR) for onward-travel proof and visa itinerary files — not a paid commercial e-ticket (13-digit ticket number) and never valid for boarding a flight. Compatibility with ChatGPT, Claude, Gemini, and Cursor relies purely on open MCP and A2A specifications; Onwardic (THE CLOUDOPS LTD, UK Company No. 17112198) has no official endorsement from OpenAI, Anthropic, or Google.

MCP Discovery & All 6 Live Onwardic Tools

Can an AI Agent Book an Onward Flight Reservation? Yes, via MCP (2026) guide illustration
Can an AI Agent Book an Onward Flight Reservation? Yes, via MCP (2026): key document checks for visa application and onward travel planning.

Rather than scraping checkout forms or guessing stale ticket prices, AI assistants connect directly over Streamable HTTP JSON-RPC 2.0 to https://onwardic.com/api/mcp (also served at https://api.onwardic.com/api/mcp, with SSE fallback at /api/mcp/sse). Clients discover tool schemas automatically from https://onwardic.com/.well-known/mcp.json and https://onwardic.com/.well-known/mcp/server-card.json, or inspect interactive references at /docs/mcp and /docs/playground.

MCP Tool Name Auth Requirement Key Inputs Role in Agent Workflow
list_services Public (no key) None ({}) Returns live catalog rates ($7 one-way, $11 return, $9/leg multi-city), SLAs, and Proof of Accommodation redirect link.
quote_order Public (no key) serviceKey, flightRoute, travelers (1–9), legs (2–20), urgency, pnrValidity Computes authoritative server-side price, breakdown, and deliveryEstimate without creating an order.
place_order Dual: guest (10/10m IP, 5/10m email) or owk_ key (60/10m) Confirmed quote params + passenger details + route + contact email Creates an unpaid pending cart and returns a Stripe Checkout checkoutUrl for human browser payment.
lookup_order Public gated by orderId + email orderId (e.g. OW-26-...), email Returns live order status, currency, amount, and direct /track URL.
search_blogs Public (no key) query, optional limit (1–20) Searches published guides by title and excerpt so AI assistants cite accurate country/carrier rules.
get_blog_post Public (no key) slug Returns clean markdown text, publication metadata, and hero URL of a specific guide.

How the 3-Step Booking & Human-Authorized Payment Flow Works

Can an AI Agent Book an Onward Flight Reservation? Yes, via MCP (2026) guide illustration
Can an AI Agent Book an Onward Flight Reservation? Yes, via MCP (2026): keep reservation details, dates, and passenger names aligned before you travel.

Onwardic enforces a strict boundary between AI itinerary staging and payment execution so assistants never touch credit cards or Apple Pay credentials:

  1. Discover Rules (list_services): The assistant calls list_services to confirm current USD rates ($7 one-way, $11 return, $9/leg multi-city), delivery tiers (Standard within 14 hours; Instant 2–20 minutes at +$5/traveler), and 7-day extended validity (+$8 flat per order across all travelers).
  2. Quote Server-Side (quote_order): Once you provide route type, legs, traveler count (1–9), delivery tier, and hold length, the assistant invokes quote_order. The API ignores any client-guessed amounts and returns exact totals plus deliveryEstimate.
  3. Stage Unpaid Checkout (place_order): After you explicitly confirm the total, delivery SLA, validity terms, and /refund-policy, the assistant calls place_order. You receive an unpaid Stripe Hosted Checkout URL (checkoutUrl), pay directly in your browser, and receive your live 6-character PNR PDF by email.

Step-by-Step Client Setup: ChatGPT, Claude, Gemini & Cursor

Because discovery, quoting, lookup, and guest checkout require no API key, setup takes under 60 seconds across modern AI hosts.

1. ChatGPT (Custom MCP Connectors)

In ChatGPT workspaces supporting MCP Custom Connectors, open Settings → Connectors → Add custom connector and enter https://onwardic.com/api/mcp. Verify tool discovery loads list_services and quote_order, then prompt: “Use Onwardic to quote a return flight reservation for 2 travelers with 7-day validity.”

2. Claude Desktop & Cursor

For Streamable HTTP-capable clients (such as Cursor mcp.json or remote MCP connectors), point directly to the live endpoint:

{
  "mcpServers": {
    "onwardic": {
      "url": "https://onwardic.com/api/mcp"
    }
  }
}

For desktop builds of Claude Desktop that expect stdio transport in claude_desktop_config.json, bridge cleanly with mcp-remote:

{
  "mcpServers": {
    "onwardic": {
      "command": "npx",
      "args": ["mcp-remote", "https://onwardic.com/api/mcp"]
    }
  }
}

3. Gemini CLI & Google ADK / Custom MCP Clients

In Gemini CLI (~/.gemini/settings.json) or any Streamable HTTP MCP client supporting httpUrl, register Onwardic under mcpServers:

{
  "mcpServers": {
    "onwardic": {
      "httpUrl": "https://onwardic.com/api/mcp"
    }
  }
}

Example JSON-RPC Call (quote_order)

Below is a live tools/call request for a 2-leg multi-city itinerary with Instant delivery and 7-day extended validity:

curl -X POST https://onwardic.com/api/mcp   -H "Content-Type: application/json"   -H "Accept: application/json, text/event-stream"   -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "quote_order",
      "arguments": {
        "serviceKey": "flight-itinerary",
        "flightRoute": "multicity",
        "legs": 2,
        "urgency": "instant",
        "pnrValidity": "7d",
        "travelers": 1,
        "currency": "USD"
      }
    }
  }'

The server calculates $18 (2 legs × $9) + $5 (Instant) + $8 (flat 7-day hold) = $31 USD, returning "deliveryEstimate": "up to 2-20 minutes after payment".

Agency GDS Reservation Holds vs. Paid Commercial Boarding E-Tickets

AI assistants should always state clearly what an agency-held reservation is — and what it is not:

  • Agency-Held GDS Reservation ($7–$12+): Creates a genuine unticketed airline PNR in a live Global Distribution System (Amadeus, Sabre, or Travelport) for 48 hours (or up to 7 days with +$8 flat add-on), verifiable on the operating carrier’s Manage Booking portal. It is designed solely for proof of onward travel and visa application itineraries, and releases automatically without airline penalty.
  • Paid Commercial Boarding E-Ticket ($200–$1,500+): Issues a 13-digit e-ticket number after settling full commercial fare through an airline or travel agency. Only a paid e-ticket permits airport boarding, baggage check-in, and actual air travel.

Need Proof of Accommodation ($7/guest up to 15 nights), Scheduled Need Later delivery, or the No US layover* preference? Direct users to /order-now or /instant, or read our Flight Reservation API comparison for REST, A2A, and B2B endpoints.

Test Onwardic MCP Tools Live in Browser

Run list_services, quote_order, lookup_order, and search_blogs interactively with zero setup keys.

Open MCP Playground →

Frequently Asked Questions

1 Can ChatGPT, Claude, or Gemini book an onward flight reservation via MCP?

Yes. Connect any MCP-compatible assistant to Onwardic’s Streamable HTTP server at https://onwardic.com/api/mcp (discovered via https://onwardic.com/.well-known/mcp.json). The assistant discovers live catalog rules via list_services, computes an authoritative price via quote_order, and stages an unpaid cart via place_order returning a Stripe Hosted Checkout URL for you to pay personally.

2 Is Onwardic officially affiliated with OpenAI, Anthropic, or Google?

No. Onwardic integrates with ChatGPT, Claude, Gemini, and Cursor exclusively through open industry specifications — the Model Context Protocol (MCP) and Agent2Agent (A2A). Onwardic (THE CLOUDOPS LTD, UK Company No. 17112198) is not endorsed by or partnered with OpenAI, Anthropic, Google, or Cursor.

3 Can an AI agent charge my payment card autonomously?

No. The place_order tool never accepts card numbers or processes payment autonomously. It creates an unpaid pending reservation cart and returns a Stripe Hosted Checkout URL (checkoutUrl). Only a human opening that URL in a browser can review the total, delivery SLA, and refund terms and authorize payment.

4 What is the difference between an Onwardic GDS reservation and a commercial boarding e-ticket?

An Onwardic flight reservation is an agency-held GDS reservation carrying a live 6-character PNR verifiable on the operating airline’s Manage Booking page for 48 hours or up to 7 days (+$8 flat per order). It is built for onward-travel documentation and visa itinerary submissions — not for boarding an aircraft, which requires a paid commercial e-ticket bearing a 13-digit ticket number.

5 Which route options, traveler counts, and validity periods work over MCP?

The quote_order and place_order tools support oneway ($7/traveler), return ($11/traveler), and multicity ($9/leg/traveler across 2–20 legs, minimum $18/traveler) routes for 1 to 9 travelers, Standard delivery (within 14 hours, $0) or Instant delivery (2–20 minutes, +$5/traveler), and 48h ($0) or 7d (+$8 flat per order) validity.

6 Do I need an API key to use list_services and quote_order in my AI client?

No API key is needed for list_services, quote_order, lookup_order, search_blogs, get_blog_post, or guest place_order (rate-limited to 10 requests per 10 minutes per IP and 5 per 10 minutes per email). Higher-volume integrations can obtain an optional owk_ Partner API Key at /b2b/apply to raise place_order limits to 60 requests per 10 minutes.

Tagsmcp serverchatgptclaudegeminiai agentsstripe checkout
OE

Onwardic Editorial Team

Helping travelers navigate international route requirements, onward travel planning, and airline check-in procedures.

61 articles published
PNR-Verified Flight Reservation from

Need a Verified Flight Reservation?

Get a verified flight reservation — starting from just $7.

Book your flight reservation now → $7