From 40ec356cc37dc05e7a5de7877cb49ea96648558a Mon Sep 17 00:00:00 2001 From: nym21 Date: Sun, 21 Dec 2025 23:28:03 +0100 Subject: [PATCH] server: fix README --- crates/brk_mcp/README.md | 2 +- crates/brk_server/README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/brk_mcp/README.md b/crates/brk_mcp/README.md index 5562ca043..64b35354f 100644 --- a/crates/brk_mcp/README.md +++ b/crates/brk_mcp/README.md @@ -37,7 +37,7 @@ let mcp = MCP::new(&async_query); ## Integration -The MCP server is integrated into `brk_server` and exposed at `/mcp/sse` endpoint for SSE-based MCP transport. +The MCP server is integrated into `brk_server` and exposed at `/mcp` endpoint for MCP transport. ## Built On diff --git a/crates/brk_server/README.md b/crates/brk_server/README.md index 7635e9b0e..be660d096 100644 --- a/crates/brk_server/README.md +++ b/crates/brk_server/README.md @@ -11,7 +11,6 @@ Serve BRK data via REST API with OpenAPI documentation, response caching, MCP en - **OpenAPI spec**: Auto-generated documentation at `/api/openapi.json` - **Response caching**: LRU cache with 5000 entries for repeated queries - **Compression**: Brotli, gzip, deflate, zstd support -- **MCP endpoint**: Server-Sent Events transport at `/mcp/sse` - **Static files**: Optional web interface hosting - **Request logging**: Colorized status/latency logging @@ -32,7 +31,7 @@ server.serve(true).await?; // true enables MCP endpoint | `/api/metrics` | Metric catalog and data queries | | `/api/mining/*` | Hashrate, difficulty, pools, epochs | | `/api/mempool/*` | Fee estimates, projected blocks | -| `/mcp/sse` | MCP Server-Sent Events endpoint | +| `/mcp` | MCP endpoint (if enabled) | ## Caching