From 8d34634506e9466b156d538e58b21487a568d082 Mon Sep 17 00:00:00 2001 From: Riz Ashraf Date: Sat, 12 Sep 2026 20:14:41 +0100 Subject: [PATCH] docs: define dual websocket and sse transport support --- design.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/design.md b/design.md index 9299d55..7d1d43f 100644 --- a/design.md +++ b/design.md @@ -12,8 +12,9 @@ The `mcp-memory` system runs as a **single, continuously running background daem The daemon uses the `axum` and `rust-mcp-axum` crates, binding to `0.0.0.0:3000` to serve the network. ### Standard MCP Endpoints -* `GET /sse`: The Server-Sent Events (SSE) endpoint. Antigravity clients connect here to keep a one-way pipe open for receiving pushed responses and event notifications from the server. -* `POST /messages`: The JSON-RPC endpoint. Clients use this to send tool calls and resource reads up to the server. +* `GET /ws`: The WebSocket endpoint for efficient, low-latency, full-duplex JSON-RPC communication (preferred for proxies and the UI dashboard). +* `GET /sse`: The Server-Sent Events (SSE) endpoint. Antigravity clients connect here to keep a one-way pipe open for receiving pushed responses. +* `POST /messages`: The JSON-RPC endpoint. Clients use this to send tool calls and resource reads up to the server when connected via SSE. ### Custom Integration Endpoints * `GET /`: The Brain Monitor live HTML dashboard (returns real-time metrics UI).