概述 · Overview
使用者是乘客本人的AI助理。目前還不支援替他人叫車。
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
遵循MCP授權規範(OAuth 2.1)。登入方式是使用者的手機號碼和簡訊驗證碼。
Follows the MCP authorization spec (OAuth 2.1). Sign-in is the user's phone number and an SMS code.
- 不帶權杖
POST /mcp→401+WWW-Authenticate: Bearer resource_metadata=…Call without a token → 401 pointing to resource metadata - 受保護資源中繼資料 → 授權伺服器中繼資料Fetch protected resource metadata, then authorization server metadata
- 客戶端註冊:優先CIMD,允許DCR — 僅限支援的客戶端清單Client registration: CIMD preferred, DCR allowed — supported clients only
- authorize(PKCE S256,
resource)→ DON Taxi登入:手機號碼 → 簡訊驗證碼 → 同意(顯示客戶端名稱和redirect主機,並同意向第三方提供及境外移轉個人資料)Sign in with phone number and SMS code, then consent (client name and redirect host shown, plus consent to provide data to the AI company abroad) - code +
iss(RFC 9207)→ token。access・refresh有效期:規劃中 · TBDExchange the code (check iss) for tokens. Access and refresh lifetimes: TBD - 中斷連線:使用者要求時呼叫
disconnect工具。該AI公司的所有連線都會結束,之前發放的權杖回傳401。如需再次使用,需重新登入並同意Disconnect: when the user asks, call the disconnect tool. 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(必填,200字以內),destination(選填,200字以內)pickup required, destination optional, up to 200 characters each | 叫車。如有進行中的叫車,不會新建,而是回傳其狀態Requests a ride; if one is active, returns it instead |
get_ride_status | rideId(省略時為進行中的叫車)rideId, defaults to the active ride | 狀態・司機・車牌號碼・預計抵達・位置連結Status, driver, plate, ETA, tracking link |
cancel_ride | rideId(省略時為進行中的叫車)rideId, defaults to the active ride | 取消。上車後不可取消Cancels; not possible after pickup |
list_my_rides | limit(1~30,預設10),cursor(繼續讀取時)limit 1-30 (default 10); cursor continues from the previous nextCursor | 最近12個月內的過去行程(完成・取消・失敗),依請求時間由新到舊。包括用簡訊叫的行程。司機姓名・車牌號碼僅限已完成的行程,行程結束後3天內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 | 中斷該AI公司與DON Taxi的所有連線,並記錄為撤回同意。之前發放的權杖此後回傳401。進行中的叫車照常繼續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 是要原樣轉告乘客的一句韓文。不要承諾抵達時間,請使用 etaMinutes。
message is a one-line Korean sentence to relay as is. Do not promise arrival times; use etaMinutes.
list_my_rides 如果有 nextCursor,把它放進 cursor 繼續讀取。不回傳行程編號(rideId)和司機聯絡方式。
With list_my_rides, pass nextCursor back as cursor to read on. It returns no rideId and no driver contact.
只有使用者要求中斷連線時才呼叫 disconnect。沒有可中斷的連線時,disconnected 為 false,原因在 message 中。
Call disconnect only when the user asked to disconnect. With nothing to end, disconnected is false and message says why.
request_ride 會派出真實的計程車。叫車前請先向使用者確認出發地,不要自動重試。
request_ride sends a real taxi. Confirm the pickup with the user first and do not retry it automatically.
工具JSON結構描述檔 · Tool schemas (JSON): 規劃中 · TBD
對話範例 · Examples
- 正常:叫車 → 派車 → 抵達Happy path: request → assigned → arrived
- 已有進行中的叫車時A ride is already active
- 出發地不明確時(確認1次)Ambiguous pickup (one confirmation)
- 取消Cancel
[待確定] 伺服器實作後以真實回應補充。 / Filled with real responses after the server is built.
限制與錯誤 · Limits and errors
| 情況 · Case | 回應 · Response |
|---|---|
| 進行中的叫車1筆(簡訊・MCP共用)One active ride per phone (SMS and MCP) | request_ride回傳現有叫車的狀態request_ride returns the active ride |
| 無權杖・已過期・audience不同Missing, expired or wrong-audience token | 401 |
| 權限不足Insufficient scope | 403 insufficient_scope |
| 派車失敗No driver found | status = failed |
| 驗證碼發送限制SMS code rate limit | 規劃中 · TBD |
支援的客戶端 · Supported clients
| 客戶端 · Client | 連接方法 · How to connect | 確認日期 · Checked | 狀態 · Status |
|---|---|---|---|
| Claude | 設定 → 連接器 → 新增URLSettings → Connectors → add URL | — | 確認中Testing |
| ChatGPT | 在開發者模式中新增URLAdd the URL in developer mode | — | 確認中Testing |
| Claude Code | claude mcp add --transport http don https://api.don.taxi/mcp | — | 確認中Testing |
不在此清單中的客戶端無法連接。接收資料的公司必須先寫入隱私權政策,所以增加時會修改隱私權政策並提前7天通知。只有實際連接測試過的才會改為「支援」。
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