docs: document /mcp unified endpoint

This commit is contained in:
OpenClaw Agent
2026-03-15 05:01:07 +08:00
parent 5740604aaf
commit c20b33adb0

View File

@@ -44,6 +44,9 @@ knowledge_ocean/
- **SSE**`/mcp/sse?token=...&client=...` - **SSE**`/mcp/sse?token=...&client=...`
- **消息**`/mcp/message?token=...&client=...` - **消息**`/mcp/message?token=...&client=...`
- **统一入口**`/mcp``/mcp/`
- `GET /mcp` → SSE
- `POST /mcp` → 自动判定 SSE 或 JSONRPC
> `client` 用于区分多端连接,避免同一 token 抢占 SSE 通道。 > `client` 用于区分多端连接,避免同一 token 抢占 SSE 通道。