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
feat(tools): expose mcp list servers and list tools tools
Steven Enamakeld249e3d55161
diff --git a/crates/openhuman-core/src/tools/impl/network/mod.rs b/crates/openhuman-core/src/tools/impl/network/mod.rsindex 52e40cd28c..584cfe7e2c 100644--- a/crates/openhuman-core/src/tools/impl/network/mod.rs+++ b/crates/openhuman-core/src/tools/impl/network/mod.rs@@ -23,7 +23,7 @@ pub use gitbooks::{GitbooksGetPageTool, GitbooksSearchTool};pub use gmail_unsubscribe::GmailUnsubscribeTool;pub use host::{http_request_tool, web_fetch_tool};#[cfg(feature = "mcp")]-pub use mcp::mcp_call_tool;+pub use mcp::{mcp_call_tool, McpListServersTool, McpListToolsTool};#[cfg(feature = "mcp")]pub use mcp_server_tools::configured_server_tools_from_presentations;#[cfg(all(feature = "mcp", test))]diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rsindex 6782bf2575..4cd3b37d6b 100644--- a/crates/openhuman-core/src/tools/ops.rs+++ b/crates/openhuman-core/src/tools/ops.rs@@ -1,3 +1,5 @@+#[cfg(feature = "mcp")]+use super::r#impl::network::{McpListServersTool, McpListToolsTool};use super::*;use crate::agent::host_runtime::{NativeRuntime, RuntimeAdapter};use crate::agent::tools::DelegateTool;@@ -6,8 +8,6 @@ use crate::security::{AuditLogger, SecurityPolicy};use std::collections::HashMap;use std::sync::Arc;use tinyagents_harness::tools::{CurrentTimeTool, ResolveTimeTool};-#[cfg(feature = "mcp")]-use tinymcp::tools::{McpListServersTool, McpListToolsTool};use tinytools::Tool;use tinytools_std::detect_tools::DetectToolsTool;use tinytools_std::filesystem::{