Skip to content

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

chore(mcp): remove debug eprintln from identifier normalization

Steven Enamakel707bf85a6ba0
diff --git a/crates/openhuman-core/src/tools/impl/network/mcp.rs b/crates/openhuman-core/src/tools/impl/network/mcp.rs
index 43752e2cd6..4c14d0357a 100644
--- a/crates/openhuman-core/src/tools/impl/network/mcp.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mcp.rs
@@ -179,10 +179,7 @@ impl Tool for McpListToolsTool {
let server = client
.normalize_identifier(&server)
.await
- .map_err(|error| {
- eprintln!("debug MCP normalize server failed: {error:?}");
- anyhow::anyhow!(input_module_error_message(error))
- })?;
+ .map_err(|error| anyhow::anyhow!(input_module_error_message(error)))?;
let client_config = host::client_config(&self.config);
let remote: Vec<tinymcp_bus::McpRemoteTool> = match client
.call(
@@ -341,10 +338,7 @@ impl Tool for McpCallTool {
let tool = client
.normalize_identifier(&tool)
.await
- .map_err(|error| {
- eprintln!("debug MCP normalize tool failed: {error:?}");
- anyhow::anyhow!(input_module_error_message(error))
- })?;
+ .map_err(|error| anyhow::anyhow!(input_module_error_message(error)))?;
let prepared = client
.prepare_agent_tools(tinymcp_bus::PrepareAgentToolsRequest {
sources: vec![tinymcp_bus::McpToolSourceSpec {
@@ -412,7 +406,6 @@ impl Tool for McpCallTool {
let server = match client.normalize_identifier(&server).await {
Ok(server) => server,
Err(error) => {
- eprintln!("debug MCP normalize server failed: {error:?}");
let outcome = tinymcp_bus::McpCallOutcome::failed(
&server,
&tool,
@@ -427,7 +420,6 @@ impl Tool for McpCallTool {
let tool = match client.normalize_identifier(&tool).await {
Ok(tool) => tool,
Err(error) => {
- eprintln!("debug MCP normalize tool failed: {error:?}");
let outcome = tinymcp_bus::McpCallOutcome::failed(
&server,
&tool,