feat: support client_id for multi-connection
This commit is contained in:
@@ -42,8 +42,10 @@ knowledge_ocean/
|
||||
|
||||
## MCP 端点
|
||||
|
||||
- **SSE**:`/mcp/sse?token=...`
|
||||
- **消息**:`/mcp/message?token=...`
|
||||
- **SSE**:`/mcp/sse?token=...&client=...`
|
||||
- **消息**:`/mcp/message?token=...&client=...`
|
||||
|
||||
> `client` 用于区分多端连接,避免同一 token 抢占 SSE 通道。
|
||||
|
||||
**特性:**
|
||||
- `POST /mcp/message` 只返回 `202 Accepted`
|
||||
|
||||
Reference in New Issue
Block a user