Overview
The caller is the passenger's own AI assistant. Booking on behalf of others is not supported yet.
Endpoints
| Name | URL |
|---|---|
| MCP (Streamable HTTP) | https://api.don.taxi/mcp |
| Protected resource metadata (RFC 9728) | https://api.don.taxi/.well-known/oauth-protected-resource/mcp |
| Authorization server metadata (RFC 8414) | https://api.don.taxi/.well-known/oauth-authorization-server |
Staging endpoints are not published.
Authentication
Follows the MCP authorization spec (OAuth 2.1). Sign-in is the user's phone number and an SMS code.
- Call
POST /mcpwithout a token →401+WWW-Authenticate: Bearer resource_metadata=… - Fetch the protected resource metadata, then the authorization server metadata
- Client registration: CIMD preferred, DCR allowed — supported clients only
- authorize (PKCE S256,
resource) → DON Taxi sign-in: phone number → SMS code → consent (client name and redirect host shown, consent to provide personal information to a third party and to transfer it abroad) - code +
iss(RFC 9207) → token. Access and refresh lifetimes: Planned · TBD - Disconnect: when the user asks, call the
disconnecttool. All connections of this AI company end and tokens issued before get 401. To use it again, the user signs in and consents anew
scopes ride:request request a ride ride:read read ride status ride:cancel cancel a ride
Tools
| Tool | Input | What it does |
|---|---|---|
request_ride | pickup (required, up to 200 characters), destination (optional, up to 200 characters) | Requests a ride; if one is active, returns it instead |
get_ride_status | rideId (defaults to the active ride) | Status, driver, plate, ETA, tracking link |
cancel_ride | rideId (defaults to the active ride) | Cancels; not possible after pickup |
list_my_rides | limit (1-30, default 10), cursor (to continue) | Past rides (completed, cancelled, failed) of the last 12 months, newest first, SMS rides included. Driver name and plate only for completed rides, for 3 days after the ride ends |
disconnect | No input | Ends every connection of the calling AI company (ChatGPT and Codex count as one company) and records the consent withdrawal. Tokens issued before get 401 afterwards. A ride in progress continues |
McpRideStatus { rideId, status, message, driver, etaMinutes, trackUrl }
status: confirming → dispatching → accepted → arrived → onboard → completed
terminal: completed · cancelled · failed
McpRideList { message, rides[], nextCursor }
rides[]: { requestedAt, requestedAtLocal, status, statusText, pickup, destination, driver }
McpDisconnectResult { disconnected, connectionsEnded, message }message is a one-line Korean sentence to relay as is. Do not promise arrival times; use etaMinutes.
With list_my_rides, pass nextCursor back as cursor to read on. It returns no rideId and no driver contact.
Call disconnect only when the user asked to disconnect. With nothing to end, disconnected is false and message says why.
request_ride sends a real taxi. Confirm the pickup with the user first and do not retry it automatically.
Tool schemas (JSON): Planned · TBD
Examples
- Happy path: request → assigned → arrived
- A ride is already active
- Ambiguous pickup (one confirmation)
- Cancel
[Not final] Filled with real responses after the server is built.
Limits and errors
| Case | Response |
|---|---|
| One active ride per phone (SMS and MCP) | request_ride returns the active ride |
| Missing, expired or wrong-audience token | 401 |
| Insufficient scope | 403 insufficient_scope |
| No driver found | status = failed |
| SMS code rate limit | Planned · TBD |
Supported clients
| Client | How to connect | Checked | Status |
|---|---|---|---|
| Claude | Settings → Connectors → add URL | — | Testing |
| ChatGPT | Add the URL in developer mode | — | Testing |
| Claude Code | claude mcp add --transport http don https://api.don.taxi/mcp | — | Testing |
Clients not on this list cannot connect. We add clients after updating the privacy policy with 7 days' notice. Only clients we have tested are marked supported.
Data and privacy
- We receive: phone number, pickup and destination text
- Sent to the agent platform: tool responses (status, driver name, plate, ETA, tracking link; for past rides, request time, pickup and destination)
- Stored in Korea (AWS Seoul)
- Map results kept as long as the ride records
- Disconnecting withdraws consent
Directory listings
Not listed yet.
Changelog · Contact
Changelog: none yet (before first release).
Contact: support@don.taxi · llms.txt