Skip to main content

← Developer Docs

Agent Discovery

OnwardTicket.us publishes the full suite of agent-readiness signals. Every protocol below is served from a /.well-known/ endpoint so AI crawlers, MCP clients, and agent frameworks can discover capabilities without out-of-band configuration.

Discovery Signals

ProtocolDescriptionWell-known URLStatus
Web Bot AuthEd25519-signed request identification per RFC 9421. Publishes a public JWK so AI agents that crawl or call OnwardTicket can prove their identity to receiving servers. The keypair thumbprint is the signing key ID in the Signature-Input header./.well-known/http-message-signatures-directoryLive
x402Agent-native payment discovery (Coinbase x402). The document declares live_402_responses: false and points agents to our live fiat Stripe Hosted Checkout flow (cards, Apple Pay, Google Pay, and Revolut Pay where eligible) via place_order and Agentic Commerce discovery (/.well-known/acp.json)./.well-known/x402Live (stub)
ACP
Agent Capability Protocol
Service catalog and actions an agent can invoke. Declares the booking flow (flight-itinerary) and the actions quote, lookup_order, place_order. Points at the Streamable HTTP MCP endpoint (/api/mcp, with legacy SSE fallback at /api/mcp/sse) for structured tool access./.well-known/acp.jsonLive
UCP
User Control Protocol
User-consent and permissioned-action surface. Lists the service catalog, permitted agent capabilities (catalog, quote, track, place_order), and the canonical endpoints for each action. Public tools work anonymously; optional OAuth 2.0 client_credentials (/api/oauth/register, /api/oauth/token, /api/oauth/revoke) is available when AGENT_OAUTH_ENABLED=true./.well-known/ucpLive
MPP
Model Plugin Protocol
Plugin manifest for ChatGPT and compatible plugin hosts. /.well-known/ai-plugin.json is the ChatGPT plugin descriptor; /.well-known/mpp is the MPP stub. Both point at the OpenAPI spec and the MCP transport./.well-known/ai-plugin.json
/.well-known/mpp
Planned
MCP Server Card
SEP-2127
Machine-readable descriptor of the MCP server: transport URL, all six tool schemas, capabilities, and contact information. The MCP Tool Reference re-fetches this every 10 minutes so it stays in sync automatically./.well-known/mcp/server-card.jsonLive
API Catalog
RFC 9727
Linkset that anchors the REST API, MCP namespace, ACP surface, and UCP surface. The single entry point for crawlers that follow RFC 9727 discovery chains./.well-known/api-catalogLive

Connecting via MCP

The MCP server speaks Streamable HTTP at https://onwardticket.us/api/mcp (POST only — a GET against it returns HTTP 405 Method Not Allowed). This is the canonical transport modern clients (Claude Desktop, ChatGPT Custom Connectors, and Cursor) use first. A legacy session-affine SSE fallback remains at https://onwardticket.us/api/mcp/sse for SSE-only clients. Read-only tools are public with no auth; place_order runs in dual mode — public AI / ChatGPT users can create an unpaid pending order returning a Stripe checkoutUrl under guest limits, and partners can send X-API-Key or Authorization: Bearer (owk_...) for higher quota.

Claude Desktop (modern — Streamable HTTP)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "onwardticket": {
      "url": "https://onwardticket.us/api/mcp"
    }
  }
}

Claude Desktop (older — via mcp-remote proxy)

If your client cannot reach an HTTP MCP endpoint directly, use the mcp-remote proxy shim:

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

npx mcp-remote bridges stdio ↔ HTTP for clients that speak only stdio. Both configs give access to the same six tools.

Rate Limits

TierLimitApplies to
Default60 requests / minute / IPAll public endpoints — /api/services, /api/quote, /api/orders/lookup, MCP tools
Strict10 requests / minute / IPSensitive endpoints — login, forgot-password, password-reset

Limits are per-IP. Discovery endpoints (/.well-known/*) are exempt from throttling — AI crawlers may hammer them freely.

API Key Authentication (Production)

The developer-facing REST endpoints (GET /api/services, POST /api/quote, GET /api/orders/lookup) support optional API key gating. When the API_KEYS environment variable is unset on the API service, the guard is a no-op and all requests pass through (open mode, safe default for development).

In production, set API_KEYS to a comma-separated list of valid keys on the api service. Pass the key via theX-API-Key header:

curl -H "X-API-Key: your-key" https://onwardticket.us/api/services

Quotes and search stay public. MCP place_order runs in dual mode: public AI / ChatGPT users can create an unpaid pending order and receive a Stripe Checkout checkoutUrl under guest rate limits, while partners can pass a Partner API Key (X-API-Key or Authorization: Bearer) for higher quota. REST POST /api/v1/pay-links requires a Partner API Key (X-API-Key). Website checkout (POST /api/orders) is unchanged.

Other Discovery Links

Questions? Email contact@onwardticket.us with subject “agent integration”.