Skip to content

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

docs(mcp): clarify host adapter role and tinymcp references

Steven Enamakelf79daec2682c
diff --git a/crates/openhuman-core/src/mcp/mod.rs b/crates/openhuman-core/src/mcp/mod.rs
index 72e2736f3e..b2ffae52d6 100644
--- a/crates/openhuman-core/src/mcp/mod.rs
+++ b/crates/openhuman-core/src/mcp/mod.rs
@@ -1,15 +1,15 @@
//! MCP family — the host half of Model Context Protocol support.
//!
-//! The client moved out to `tinymcp`: both transports, the static
-//! config-declared server set, the dynamic registry with its store, supervisor
-//! and browser sign-in, and the write-audit log all live there now.
+//! MCP protocol and client behavior run in the TinyMCP module. This family is
+//! the OpenHuman host adapter for configuration, product policy, lifecycle,
+//! events, audit RPCs, and the local MCP server entry points.
//!
//! What is here is what belongs to this application.
//!
//! # Members
//!
-//! - [`host`] — the one `tinymcp` service this process holds, and the
-//! conversion from this application's configuration into what it takes.
+//! - [`host`] — conversion from this application's configuration into the
+//! TinyMCP bus contract and host-owned proxy policy.
//! - [`registry`] — the `mcp_clients` RPC surface, the
//! agent-facing tools, and the prompt-injection scan over remote tool
//! definitions.
diff --git a/crates/openhuman-core/src/mcp/server/tools/mod.rs b/crates/openhuman-core/src/mcp/server/tools/mod.rs
index 685ff1684e..c8489c47f7 100644
--- a/crates/openhuman-core/src/mcp/server/tools/mod.rs
+++ b/crates/openhuman-core/src/mcp/server/tools/mod.rs
@@ -5,10 +5,11 @@
//! - `specs` — tool spec builders, schema helpers, and the conversion to
//! `tinymcp_bus::ServerToolSpec`
//! - `params` — OpenHuman's per-tool argument policy and RPC param
-//! construction, over `tinymcp::server::args`' generic validators
+//! construction, with generic MCP argument validation delegated to the
+//! configured TinyMCP module
//! - `dispatch` — `call_tool`, `list_tool_specs`, agent/subagent handlers
//!
-//! `ToolCallError` is `tinymcp`'s, re-exported here for the sibling modules.
+//! `ToolCallError` is part of `tinymcp_bus` and shared with the module.
//! ## Compile-time gate (`mcp` feature)
//!
diff --git a/crates/openhuman-core/src/tools/impl/network/mod.rs b/crates/openhuman-core/src/tools/impl/network/mod.rs
index e6a5854d13..584cfe7e2c 100644
--- a/crates/openhuman-core/src/tools/impl/network/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mod.rs
@@ -12,9 +12,8 @@ mod gmail_unsubscribe;
mod host;
// Leaf-gated: the only consumers of these two are the `#[cfg(feature = "mcp")]`
// blocks in `tools/ops.rs`, so no stub is needed — nothing names them when the
-// feature is off. (`gitbooks` is deliberately NOT gated: it dials `McpHttpClient`
-// but is a docs tool, not MCP-subsystem code. See the `mcp` family's split
-// facade.)
+// feature is off. (`gitbooks` is deliberately NOT gated: it uses TinyMCP's
+// confidential one-shot module call but is a docs tool, not MCP-subsystem code.)
#[cfg(feature = "mcp")]
mod mcp;
#[cfg(feature = "mcp")]