The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(host): handle missing MCP server gracefully on shutdown\n\nWhen the MCP host shuts down, it now checks whether the server instance exists before attempting to stop it, preventing a panic on uninitialized or already cleaned-up servers.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel4c625ff4e525
diff --git a/src/openhuman/mcp/host.rs b/src/openhuman/mcp/host.rsindex f88cb7d728..5f17a36825 100644--- a/src/openhuman/mcp/host.rs+++ b/src/openhuman/mcp/host.rs@@ -97,10 +97,11 @@ pub struct McpHost {impl McpHost {/// Builds a host from `config`, without installing it as the process one.///- /// [`init`] uses this and then installs the result. It is public so a test- /// can drive a host over its own workspace: the process-wide one is a- /// `OnceLock`, and a suite that needs a fresh store per case cannot share- /// it.+ /// Public so a test can drive a host over its own workspace: the+ /// process-wide one is a `OnceLock`, and a suite that needs a fresh store+ /// per case cannot share it. The startup path and [`for_config`] build+ /// through [`from_client_config`] instead, so a host and the entry stored+ /// beside it share one conversion.////// # Errors///