(Path(name): Path<String>)
| 2634 | } |
| 2635 | |
| 2636 | async fn remove_mcp_auth(Path(name): Path<String>) -> Result<Json<serde_json::Value>> { |
| 2637 | let manager = get_mcp_oauth_manager(); |
| 2638 | ensure_mcp_server_registered(manager, &name).await?; |
| 2639 | manager.remove_oauth(&name).await; |
| 2640 | Ok(Json(serde_json::json!({ "success": true }))) |
| 2641 | } |
| 2642 | |
| 2643 | async fn connect_mcp( |
| 2644 | State(_state): State<Arc<ServerState>>, |
nothing calls this directly
no test coverage detected