Skip to content

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

feat(embed): add tool_search to named belts when MCP servers are declared

Steven Enamakeld95808021695
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lock
index 54dd59fdc3..fe4801546e 100644
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@ -7583,6 +7583,8 @@ dependencies = [
name = "tinymcp"
version = "0.3.4"
dependencies = [
+ "anyhow",
+ "async-trait",
"base64 0.23.1",
"dirs 7.0.0",
"futures-util",
@@ -7594,6 +7596,7 @@ dependencies = [
"sha2 0.11.0",
"thiserror 2.0.20",
"tinymcp-bus",
+ "tinytools 0.4.1",
"tokio",
"tracing",
"uuid",
diff --git a/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs b/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
index 3be29c8936..a45bee8ec1 100644
--- a/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
+++ b/crates/openhuman-core/src/agent/session_host/prelude_integrations.rs
@@ -334,7 +334,7 @@ impl OpenHumanTurnPrelude {
}
/// Live connected integrations, falling back to the last cached snapshot
-/// (even past its TTL) when the backend is unreachable. `None` only when
+/// when the backend is unreachable. `None` only when
/// there is neither a live answer nor any snapshot to fall back to.
async fn load_connected_integrations(
config: &crate::config::Config,
diff --git a/crates/openhuman-core/src/agent/session_host/recorded_tools.rs b/crates/openhuman-core/src/agent/session_host/recorded_tools.rs
index 82d65f3d0d..c23aee4106 100644
--- a/crates/openhuman-core/src/agent/session_host/recorded_tools.rs
+++ b/crates/openhuman-core/src/agent/session_host/recorded_tools.rs
@@ -4,11 +4,15 @@
//! sent with and hands them back on resume (`SessionStateView::recorded_tools`).
//! A new process, though, rebuilds its live tool surface from state that may
//! not be there yet: Composio actions are synthesised from the connected
-//! integrations list, which comes from a 60 s process cache that is empty
+//! integrations list, which comes from an in-process cache that is empty
//! after a restart and may be unreachable. Without a fallback, a resumed
//! thread whose prompt says "search for the Gmail action" loses every
//! integration action — and with it the `tool_search` bridge — for the turn.
//!
+//! MCP tools do not need this: they are rebuilt every turn from tinymcp's
+//! persistent tool cache, which survives a restart (see
+//! `mcp::registry::action_tool`).
+//!
//! This module turns the recorded Composio action declarations back into
//! executable deferred tools, so the tool list a thread was sent never
//! shrinks just because a cache went cold. The live surface stays
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
index 686cea8952..bb9d7d4701 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
@@ -175,7 +175,7 @@ fn connected_mcp_actions_enter_search_and_leave_on_disconnect() {
}],
}];
- let action = searchable_name("server-1", "forecast");
+ let action = searchable_name("example/weather", "forecast");
prelude.refresh_delegation_tool_surface();
assert!(prelude.synthesized_tool_names_for_test().contains(&action));
{
diff --git a/crates/openhuman-core/src/config/mod.rs b/crates/openhuman-core/src/config/mod.rs
index b2f767fd7e..3a25aa56f9 100644
--- a/crates/openhuman-core/src/config/mod.rs
+++ b/crates/openhuman-core/src/config/mod.rs
@@ -50,23 +50,22 @@ pub use schema::{
IMessageConfig, IntegrationToggle, IntegrationsConfig, LarkConfig, LearningConfig,
LegacySearchInputs, LinqConfig, LlmBackend, LocalAiConfig, MatrixConfig, McpAuthConfig,
McpClientConfig, McpClientIdentityConfig, McpServerConfig, McpToolExposure, MemoryConfig,
- MemoryTreeConfig,
- ModelRouteConfig, MultimodalConfig, MultimodalFileConfig, ObservabilityConfig,
- OrchestratorModelConfig, PrivacyConfig, PrivacyMode, ProxyConfig, ProxyScope, ReflectionSource,
- ReliabilityConfig, ResourceLimitsConfig, RuntimeConfig, RuntimePoolConfig,
- RuntimePoolLangConfig, SandboxBackend, SandboxConfig, SchedulerConfig, SchedulerGateConfig,
- SchedulerGateMode, SearchConfig, SearchEngineCredentials, SearchPresentation,
- SearchProviderSettings, SearchRoute, SearxngConfig, SecretsConfig, SecurityConfig, ShellConfig,
- SlackConfig, StorageConfig, StorageProviderConfig, StorageProviderSection, StreamMode,
- SttEngine, TeamModelConfig, TelegramConfig, TokenjuiceConfig, UpdateConfig,
- UpdateRestartStrategy, VoiceActivationMode, VoiceServerConfig, WebSearchConfig, WebhookConfig,
- YuanbaoConfig, DEFAULT_CLOUD_LLM_MODEL, DEFAULT_MEMORY_SYNC_INTERVAL_SECS, DEFAULT_MODEL,
- LEGACY_TIER_MODELS, MANAGED_MULTIMODAL_MODELS, MANAGED_SEARCH_PROVIDERS,
- MEMORY_SYNC_INTERVAL_PRESETS_SECS, MODEL_IMAGE_GENERATION_AGENT, MODEL_MANAGED_DEFAULT,
- MODEL_MEDIA_UNDERSTANDING, MODEL_VIDEO_GENERATION_AGENT, SEARCH_ENGINE_BRAVE,
- SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA, SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL,
- SEARCH_ENGINE_QUERIT, SEARCH_ENGINE_TAVILY, SEARCH_PROVIDERS, SEARCH_ROLES, SEARCH_ROLE_ANSWER,
- SEARCH_ROLE_CONTENTS, SEARCH_ROLE_SEARCH,
+ MemoryTreeConfig, ModelRouteConfig, MultimodalConfig, MultimodalFileConfig,
+ ObservabilityConfig, OrchestratorModelConfig, PrivacyConfig, PrivacyMode, ProxyConfig,
+ ProxyScope, ReflectionSource, ReliabilityConfig, ResourceLimitsConfig, RuntimeConfig,
+ RuntimePoolConfig, RuntimePoolLangConfig, SandboxBackend, SandboxConfig, SchedulerConfig,
+ SchedulerGateConfig, SchedulerGateMode, SearchConfig, SearchEngineCredentials,
+ SearchPresentation, SearchProviderSettings, SearchRoute, SearxngConfig, SecretsConfig,
+ SecurityConfig, ShellConfig, SlackConfig, StorageConfig, StorageProviderConfig,
+ StorageProviderSection, StreamMode, SttEngine, TeamModelConfig, TelegramConfig,
+ TokenjuiceConfig, UpdateConfig, UpdateRestartStrategy, VoiceActivationMode, VoiceServerConfig,
+ WebSearchConfig, WebhookConfig, YuanbaoConfig, DEFAULT_CLOUD_LLM_MODEL,
+ DEFAULT_MEMORY_SYNC_INTERVAL_SECS, DEFAULT_MODEL, LEGACY_TIER_MODELS,
+ MANAGED_MULTIMODAL_MODELS, MANAGED_SEARCH_PROVIDERS, MEMORY_SYNC_INTERVAL_PRESETS_SECS,
+ MODEL_IMAGE_GENERATION_AGENT, MODEL_MANAGED_DEFAULT, MODEL_MEDIA_UNDERSTANDING,
+ MODEL_VIDEO_GENERATION_AGENT, SEARCH_ENGINE_BRAVE, SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA,
+ SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL, SEARCH_ENGINE_QUERIT, SEARCH_ENGINE_TAVILY,
+ SEARCH_PROVIDERS, SEARCH_ROLES, SEARCH_ROLE_ANSWER, SEARCH_ROLE_CONTENTS, SEARCH_ROLE_SEARCH,
};
// Kept as a separate re-export (issue #4117) so the large alphabetized group
// above stays byte-identical and rustfmt-stable.
diff --git a/crates/openhuman-core/src/config/schema/mod.rs b/crates/openhuman-core/src/config/schema/mod.rs
index f1d323a20b..e013083080 100644
--- a/crates/openhuman-core/src/config/schema/mod.rs
+++ b/crates/openhuman-core/src/config/schema/mod.rs
@@ -123,13 +123,12 @@ pub use tools::{
BrowserComputerUseConfig, BrowserConfig, ComposioConfig, CurlConfig, GitbooksConfig,
HttpHeader, HttpRequestConfig, IntegrationToggle, IntegrationsConfig, LegacySearchInputs,
McpAuthConfig, McpClientConfig, McpClientIdentityConfig, McpServerConfig, McpToolExposure,
- MultimodalConfig,
- MultimodalFileConfig, SearchConfig, SearchEngineCredentials, SearchPresentation,
- SearchProviderSettings, SearchRoute, SearxngConfig, SecretsConfig, SeltzConfig,
- WebSearchConfig, COMPOSIO_MODE_BACKEND, COMPOSIO_MODE_DIRECT, MANAGED_SEARCH_PROVIDERS,
- SEARCH_ENGINE_BRAVE, SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA, SEARCH_ENGINE_MANAGED,
- SEARCH_ENGINE_PARALLEL, SEARCH_ENGINE_QUERIT, SEARCH_ENGINE_TAVILY, SEARCH_PROVIDERS,
- SEARCH_ROLES, SEARCH_ROLE_ANSWER, SEARCH_ROLE_CONTENTS, SEARCH_ROLE_SEARCH,
+ MultimodalConfig, MultimodalFileConfig, SearchConfig, SearchEngineCredentials,
+ SearchPresentation, SearchProviderSettings, SearchRoute, SearxngConfig, SecretsConfig,
+ SeltzConfig, WebSearchConfig, COMPOSIO_MODE_BACKEND, COMPOSIO_MODE_DIRECT,
+ MANAGED_SEARCH_PROVIDERS, SEARCH_ENGINE_BRAVE, SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA,
+ SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL, SEARCH_ENGINE_QUERIT, SEARCH_ENGINE_TAVILY,
+ SEARCH_PROVIDERS, SEARCH_ROLES, SEARCH_ROLE_ANSWER, SEARCH_ROLE_CONTENTS, SEARCH_ROLE_SEARCH,
};
pub use update::{UpdateConfig, UpdateRestartStrategy};
pub use web_chat_config::WebChatConfig;
diff --git a/crates/openhuman-core/src/mcp/host_tests.rs b/crates/openhuman-core/src/mcp/host_tests.rs
index 75680331fb..86eb9839aa 100644
--- a/crates/openhuman-core/src/mcp/host_tests.rs
+++ b/crates/openhuman-core/src/mcp/host_tests.rs
@@ -31,6 +31,8 @@ fn populated_server() -> HostServer {
disallowed_tools: vec!["debug".into()],
timeout_secs: 9,
auth: McpAuthConfig::BearerToken { token: "t".into() },
+ expose: Default::default(),
+ direct_tools: Vec::new(),
}
}
diff --git a/crates/openhuman-core/src/mcp/registry/action_tool.rs b/crates/openhuman-core/src/mcp/registry/action_tool.rs
index 6a51adbe63..f85b7ec100 100644
--- a/crates/openhuman-core/src/mcp/registry/action_tool.rs
+++ b/crates/openhuman-core/src/mcp/registry/action_tool.rs
@@ -130,7 +130,11 @@ impl McpToolInvoker for InstalledServerInvoker {
.ok_or_else(not_connected)?;
let safe = super::tools_safe_for_agent(server_id, live);
if !safe.iter().any(|candidate| candidate.name == tool) {
- tracing::debug!(server_id, tool, "[mcp] tool is no longer offered by the live server");
+ tracing::debug!(
+ server_id,
+ tool,
+ "[mcp] tool is no longer offered by the live server"
+ );
return Err(tinymcp::Error::ToolNotAllowed {
server: server_id.to_string(),
tool: tool.to_string(),
diff --git a/crates/openhuman-core/src/mcp/registry/action_tool_tests.rs b/crates/openhuman-core/src/mcp/registry/action_tool_tests.rs
index 7ca5926ec1..175b284135 100644
--- a/crates/openhuman-core/src/mcp/registry/action_tool_tests.rs
+++ b/crates/openhuman-core/src/mcp/registry/action_tool_tests.rs
@@ -49,7 +49,10 @@ fn tools_are_named_mcp_server_tool() {
fn equal_tool_names_on_two_servers_stay_distinct() {
let tools = deferred_connected_tools(
Arc::new(Config::default()),
- &[server("server-1", "forecast"), server("server-2", "forecast")],
+ &[
+ server("server-1", "forecast"),
+ server("server-2", "forecast"),
+ ],
);
assert_eq!(tools.len(), 2);
assert_ne!(tools[0].name(), tools[1].name());
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_auth_channels_team.rs b/crates/openhuman-core/src/platform/about_app/catalog_auth_channels_team.rs
index c6bb5aa665..f98b64ebe7 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_auth_channels_team.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_auth_channels_team.rs
@@ -232,6 +232,20 @@ Capability {
destinations: &["Configured MCP endpoint(s)"],
}),
},
+Capability {
+ id: "channels.mcp_server_tools",
+ name: "Call MCP Server Tools by Name",
+ domain: "channels",
+ category: CapabilityCategory::Channels,
+ description: "Every tool on a connected or configured MCP server is its own agent tool, named `mcp_<server>_<tool>`. Tools are found through tool search by default, or sent every turn for a server set to `expose = \"direct\"`. Each server's tool list is cached locally, so its tools are offered right after a restart, before the server reconnects.",
+ how_to: "Connect an MCP server, then ask the agent for something it can do. Set `expose` or `direct_tools` on a configured server to keep its tools in view.",
+ status: CapabilityStatus::Beta,
+ privacy: Some(CapabilityPrivacy {
+ leaves_device: true,
+ data_kind: PrivacyDataKind::Derived,
+ destinations: &["Configured MCP endpoint(s)"],
+ }),
+ },
Capability {
id: "channels.mcp_connection_alerts",
name: "MCP Connection Health Alerts",
diff --git a/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs b/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs
index 33253ca138..4cbd1398f4 100644
--- a/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs
@@ -42,7 +42,10 @@ pub fn configured_server_tools(
let host = match crate::mcp::host::for_config(config) {
Ok(host) => host,
Err(error) => {
- tracing::debug!(?error, "[mcp_client] no host for workspace; no server tools");
+ tracing::debug!(
+ ?error,
+ "[mcp_client] no host for workspace; no server tools"
+ );
return Vec::new();
}
};
diff --git a/crates/openhuman-core/src/tools/impl/network/mcp_server_tools_tests.rs b/crates/openhuman-core/src/tools/impl/network/mcp_server_tools_tests.rs
index ebe2b36cfa..d6db6c8036 100644
--- a/crates/openhuman-core/src/tools/impl/network/mcp_server_tools_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mcp_server_tools_tests.rs
@@ -46,7 +46,11 @@ async fn server() -> wiremock::MockServer {
server
}
-fn config(workspace: &std::path::Path, endpoint: &str, customize: impl FnOnce(&mut McpServerConfig)) -> Config {
+fn config(
+ workspace: &std::path::Path,
+ endpoint: &str,
+ customize: impl FnOnce(&mut McpServerConfig),
+) -> Config {
let mut config = Config {
workspace_dir: workspace.join("workspace"),
action_dir: workspace.join("workspace"),
@@ -126,7 +130,9 @@ async fn expose_direct_and_direct_tools_are_honoured() {
});
let registry = warmed(&config_direct).await;
let tools = configured_server_tools(&config_direct, &registry, &security(), &HashSet::new());
- assert!(tools.iter().all(|tool| tool.exposure() == ToolExposure::Direct));
+ assert!(tools
+ .iter()
+ .all(|tool| tool.exposure() == ToolExposure::Direct));
let config_pinned = config(dir.path(), &endpoint, |server| {
server.direct_tools = vec!["readGoals".into()];
diff --git a/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs b/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs
index c692a89db6..3e2b558674 100644
--- a/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs
@@ -24,6 +24,7 @@ fn registry_with(endpoint: &str, auth: crate::config::McpAuthConfig) -> Arc<McpS
disallowed_tools: Vec::new(),
timeout_secs: 30,
auth,
+ ..Default::default()
});
// Through the host conversion, so the test builds the registry the
// same way the application does.
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 99ec79c61e..81980f4c2a 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -823,7 +823,7 @@ pub fn all_tools_with_runtime(
crate::tools::implementations::network::configured_server_tools(
root_config,
&mcp_registry,
- &security,
+ security,
&reserved,
),
);
diff --git a/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs b/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs
index a0add0984c..9376f13805 100644
--- a/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests_default_registry_tests.rs
@@ -483,16 +483,13 @@ fn all_tools_registers_generic_mcp_bridge_tools_when_servers_exist() {
cfg.mcp_client.servers.push(crate::config::McpServerConfig {
name: "docs".into(),
endpoint: "https://example.com/mcp".into(),
- command: String::new(),
- args: Vec::new(),
- env: std::collections::HashMap::new(),
- cwd: None,
description: Some("Example docs MCP".into()),
enabled: true,
allowed_tools: Vec::new(),
disallowed_tools: Vec::new(),
timeout_secs: 30,
auth: crate::config::McpAuthConfig::None,
+ ..Default::default()
});
let tools = integration_tools_for_config(&tmp, &cfg);
@@ -520,16 +517,13 @@ fn all_tools_omits_mcp_tools_when_gate_off() {
cfg.mcp_client.servers.push(crate::config::McpServerConfig {
name: "docs".into(),
endpoint: "https://example.com/mcp".into(),
- command: String::new(),
- args: Vec::new(),
- env: std::collections::HashMap::new(),
- cwd: None,
description: Some("Example docs MCP".into()),
enabled: true,
allowed_tools: Vec::new(),
disallowed_tools: Vec::new(),
timeout_secs: 30,
auth: crate::config::McpAuthConfig::None,
+ ..Default::default()
});
let names = tool_names(&integration_tools_for_config(&tmp, &cfg));
diff --git a/crates/openhuman-embed/src/agent/build.rs b/crates/openhuman-embed/src/agent/build.rs
index 1d57aa8868..91bdab19d4 100644
--- a/crates/openhuman-embed/src/agent/build.rs
+++ b/crates/openhuman-embed/src/agent/build.rs
@@ -108,7 +108,16 @@ pub(crate) fn instantiate(runtime: &Runtime, spec: AgentSpec) -> Result<AgentInn
}
// ── definition ───────────────────────────────────────────────────────
- let definition = parts.definition.into_core(&id)?;
+ #[cfg_attr(not(feature = "mcp"), allow(unused_mut))]
+ let mut definition = parts.definition.into_core(&id)?;
+ // Every declared server's tools are registered as their own
+ // `mcp_<server>_<tool>`, deferred by default. A wildcard belt reaches them
+ // through `tool_search` already; a named belt reaches deferred tools only
+ // when it lists `tool_search`, so declaring a server implies it.
+ #[cfg(feature = "mcp")]
+ if !parts.mcp_servers.is_empty() {
+ opt_named_belt_into_discovery(&mut definition.tools);
+ }
// ── narrowing ────────────────────────────────────────────────────────
let domains = match parts.domains {
@@ -158,6 +167,22 @@ pub(crate) fn instantiate(runtime: &Runtime, spec: AgentSpec) -> Result<AgentInn
})
}
+/// Adds `tool_search` to a named belt that lacks it. A wildcard belt already
+/// has discovery.
+#[cfg(feature = "mcp")]
+fn opt_named_belt_into_discovery(
+ scope: &mut openhuman_core::agent::harness::definition::ToolScope,
+) {
+ use openhuman_core::agent::harness::definition::ToolScope;
+ const TOOL_SEARCH: &str = "tool_search";
+ if let ToolScope::Named(names) = scope {
+ if !names.iter().any(|name| name == TOOL_SEARCH) {
+ names.push(TOOL_SEARCH.to_string());
+ log::debug!("[embed][agent] declared MCP servers opt the named belt into tool_search");
+ }
+ }
+}
+
fn validate_agent_id(id: &str) -> Result<(), String> {
let bytes = id.as_bytes();
if bytes.is_empty() || bytes.len() > 64 {
@@ -230,3 +255,7 @@ fn map_harness_err(err: crate::HarnessError) -> AgentError {
crate::HarnessError::AlreadyRunning => AgentError::Invalid(err.to_string()),
}
}
+
+#[cfg(test)]
+#[path = "build_tests.rs"]
+mod tests;
diff --git a/crates/openhuman-embed/src/agent/build_tests.rs b/crates/openhuman-embed/src/agent/build_tests.rs
new file mode 100644
index 0000000000..af41498775
--- /dev/null
+++ b/crates/openhuman-embed/src/agent/build_tests.rs
@@ -0,0 +1,25 @@
+use super::*;
+
+#[cfg(feature = "mcp")]
+#[test]
+fn declaring_mcp_servers_opts_a_named_belt_into_tool_search() {
+ use openhuman_core::agent::harness::definition::ToolScope;
+
+ let mut named = ToolScope::Named(vec!["read_file".into()]);
+ opt_named_belt_into_discovery(&mut named);
+ opt_named_belt_into_discovery(&mut named);
+ assert!(matches!(
+ named,
+ ToolScope::Named(ref names) if names == &["read_file".to_string(), "tool_search".to_string()]
+ ));
+
+ let mut wildcard = ToolScope::Wildcard;
+ opt_named_belt_into_discovery(&mut wildcard);
+ assert!(matches!(wildcard, ToolScope::Wildcard));
+}
+
+#[test]
+fn agent_ids_must_be_plain_names() {
+ assert!(validate_agent_id("ok-agent_1").is_ok());
+ assert!(validate_agent_id("../escape").is_err());
+}
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 6e5669340f..e018b6da21 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -4041,8 +4041,10 @@ async fn orchestrator_calls_a_connected_mcp_tool_directly_inner() {
);
reset_script(Vec::new());
let stack = boot_stack().await;
- let server_id = declare_and_connect_registry_echo_server(&stack.rpc_base, 940).await;
- let action = openhuman_core::mcp::registry::action_tool::searchable_name(&server_id, "echo");
+ // Connecting also writes the tool cache the orchestrator's surface reads.
+ declare_and_connect_registry_echo_server(&stack.rpc_base, 940).await;
+ let action =
+ openhuman_core::mcp::registry::action_tool::searchable_name(REGISTRY_MCP_SERVER, "echo");
reset_script(vec![
tool_call_completion(
diff --git a/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rs b/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rs
index 1be6637f2c..2e4ca71f28 100644
--- a/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rs
@@ -587,6 +587,7 @@ fn round16_all_tools_registry_branches_and_browser_allowlist() {
disallowed_tools: Vec::new(),
timeout_secs: 10,
auth: McpAuthConfig::None,
+ ..Default::default()
});
let tools = all_tools(