01 / DECIDE
架構決策
適合加入 live external tool/context,不必把每個 integration hard-code 進 agent。
記錄 server identity、transport、authentication、tool namespace、enabled tool、approval 與 diagnostic behavior。 先把 input、output、state、tool 與 side effect 畫成一條可觀察路徑,再決定 用窄 trust contract 連接 MCP server 的 owner。
02 / OPERATE
三步野戰程序
- 01
鎖定合約
寫下 caller、資料分類、成功條件、timeout、取消與 ownership。適合加入 live external tool/context,不必把每個 integration hard-code 進 agent。
- 02
執行有界路徑
只建立一條 end-to-end path,保留 correlation、typed state 與 reversible failure。記錄 server identity、transport、authentication、tool namespace、enabled tool、approval 與 diagnostic behavior。
- 03
驗證訊號
把驗收變成可重跑的 fixture、contract test 或 browser test。Doctor/negative test 驗證 identity、expired auth、schema drift、unreachable transport 與 injected content。
03 / BOUND
Operation 邊界
只連接 trusted server、credential 不進 committed config,並縮小 exposed tool set。
04 / PROVE
驗收證據
Doctor/negative test 驗證 identity、expired auth、schema drift、unreachable transport 與 injected content。
SOURCE / HTTP
可重現來源探針
curl -fsSI 'https://docs.x.ai/build/features/mcp-servers' | sed -n '1,5p'