Skip to content

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

chore(tools): add debug logging for MCP client registry state

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