Skip to content

Commit eb724a1

Browse files
committed
feat: revert back to using the default server
1 parent 1fe9d4a commit eb724a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async fn start_sse_server(shutdown_token: CancellationToken) -> Result<()> {
114114
let sse_server = SseServer::serve_with_config(config).await?;
115115
info!("SSE Server listening on {}", sse_server.config.bind);
116116

117-
let service_shutdown_token = sse_server.with_service_directly(SubgraphServer::new);
117+
let service_shutdown_token = sse_server.with_service(SubgraphServer::new);
118118
info!("Subgraph MCP Service attached to SSE server");
119119

120120
shutdown_token.cancelled().await;

0 commit comments

Comments
 (0)