Skip to content

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

fix(tools): simplify mcp client debug log

Steven Enamakelf28e9650e70e
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index ea84c0843f..fb9a4eb505 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -878,12 +878,9 @@ pub fn all_tools_with_runtime(
None => Arc::new(base),
}
};
- let (servers, configured) = (
- mcp_registry.list().len(),
- root_config.mcp_client.servers.len(),
- );
log::debug!(
- "[tools::ops][mcp_client] static registry servers={servers} configured={configured}"
+ "[tools::ops][mcp_client] static servers={}",
+ mcp_registry.list().len()
);
if !mcp_registry.is_empty() {
tools.push(Box::new(McpListServersTool::new(Arc::clone(&mcp_registry))));