Skip to content

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

fix(host): handle missing MCP server configuration gracefully\n\nWhen an MCP server is not configured, the host now returns a clear error message instead of panicking. This improves robustness by allowing the system to continue operating with other configured servers.\n\nAuto-committed-on: dragonfly\n

Steven Enamakelab8d42d54338
diff --git a/src/openhuman/mcp/host.rs b/src/openhuman/mcp/host.rs
index 4927db342c..1809f3601f 100644
--- a/src/openhuman/mcp/host.rs
+++ b/src/openhuman/mcp/host.rs
@@ -31,8 +31,8 @@ use std::path::{Path, PathBuf};
use std::sync::{Arc, Mutex, OnceLock};
use tinymcp::{
- AuditStore, McpClientConfig, McpProxyConfig, McpRegistry, McpServerConfig, McpServerRegistry,
- Store,
+ AuditStore, McpClientConfig, McpClientIdentityConfig, McpProxyConfig, McpRegistry,
+ McpServerConfig, McpServerRegistry, Store,
};
use crate::openhuman::config::Config;