Skip to content

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

test(mcp): log direct static list result in embed scenario

Steven Enamakel1f379c242d67
diff --git a/crates/openhuman-embed/tests/mcp_module.rs b/crates/openhuman-embed/tests/mcp_module.rs
index 28d8532c5c..f21d010496 100644
--- a/crates/openhuman-embed/tests/mcp_module.rs
+++ b/crates/openhuman-embed/tests/mcp_module.rs
@@ -118,6 +118,17 @@ fn scenario() {
agent.config().mcp_client.servers.len(),
agent.config().modules.overrides.iter().map(|item| item.id.as_str()).collect::<Vec<_>>()
);
+ let module_client = openhuman_core::modules::client(agent.config().clone());
+ eprintln!(
+ "MCP direct static list result: {:?}",
+ module_client
+ .call::<Vec<String>>(
+ "tinymcp",
+ tinymcp_bus::names::methods::STATIC_LIST,
+ (),
+ )
+ .await
+ );
let reply = agent.run("call forecast").await.unwrap_or_else(|error| {
eprintln!("TinyMCP embed turn failed: {error:#}");
panic!("turn failed")