(mut self, bus: Arc<Bus>)
| 160 | } |
| 161 | |
| 162 | pub fn with_bus(mut self, bus: Arc<Bus>) -> Self { |
| 163 | self.bus = Some(bus); |
| 164 | self |
| 165 | } |
| 166 | |
| 167 | /// Attach an OAuth manager for token-based auth on HTTP/SSE transports. |
| 168 | pub async fn set_oauth_manager(&self, manager: Arc<McpOAuthManager>) { |