Handle spaces in extension names also (#5770)

This commit is contained in:
Zane
2025-11-17 11:10:47 -08:00
committed by GitHub
parent a9a326ad68
commit 63e9a37b13
+1 -1
View File
@@ -17,7 +17,7 @@ pub async fn run_mcp_server(name: &str) -> Result<()> {
tracing::info!("Starting MCP server");
match name.to_lowercase().as_str() {
match name.to_lowercase().replace(' ', "").as_str() {
"autovisualiser" => serve_and_wait(AutoVisualiserRouter::new()).await,
"computercontroller" => serve_and_wait(ComputerControllerServer::new()).await,
"developer" => serve_and_wait(DeveloperServer::new()).await,