Skip to content

Commit 02107bb

Browse files
committed
Change http urls
1 parent adcf273 commit 02107bb

File tree

1 file changed

+3
-2
lines changed
  • crates/elastic-mcp/src/protocol

1 file changed

+3
-2
lines changed

crates/elastic-mcp/src/protocol/http.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ impl HttpProtocol {
108108

109109
// Put all things together
110110
let main_router = Router::new()
111-
.nest("/sse", sse_router)
112-
.nest("/stream", sh_router)
111+
.route("/ping", get(async || (StatusCode::OK, "Ready\n")))
112+
.nest("/mcp/sse", sse_router)
113+
.nest("/mcp", sh_router)
113114
.nest("/_health", health_router)
114115
.with_state(());
115116

0 commit comments

Comments
 (0)