Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(mcp): remove duplicate setup schema routing

Steven Enamakel6faa07963f54
diff --git a/crates/openhuman-core/src/mcp/registry/schemas/registry.rs b/crates/openhuman-core/src/mcp/registry/schemas/registry.rs
index 3f55c045ed..c62eedfdd4 100644
--- a/crates/openhuman-core/src/mcp/registry/schemas/registry.rs
+++ b/crates/openhuman-core/src/mcp/registry/schemas/registry.rs
@@ -588,15 +588,6 @@ pub fn schemas(function: &str) -> ControllerSchema {
],
},
- // Handled by setup_schemas() — surface a clearer error rather than
- // falling through to the generic unknown sink.
- "setup_search"
- | "setup_get"
- | "setup_request_secret"
- | "setup_submit_secret"
- | "setup_test_connection"
- | "setup_install_and_connect" => setup_schemas(function.trim_start_matches("setup_")),
-
_other => ControllerSchema {
namespace: "mcp_clients",
function: "unknown",