Skip to content

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

fix(tools): remove stale mcp_setup references from comments

Steven Enamakel56fe7006cbfe
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 029d6980a0..e5d7787ec7 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -183,7 +183,7 @@ pub fn all_tools_with_runtime(
// (checkpoint → `AwaitingUser`, see `subagent_host`) and
// the orchestrator resumes them via `continue_subagent` (#4291).
// Several agent scopes (orchestrator, crypto, markets, scheduler,
- // mcp_setup, desktop control) name it, so it must exist in the base
+ // desktop control) name it, so it must exist in the base
// registry or none of them can actually ask the user anything.
Box::new(AskClarificationTool::new()),
// Read-only project overview (git status, recent commits, top-level
@@ -1204,7 +1204,7 @@ fn tool_group(name: &str) -> crate::core::all::DomainGroup {
"goals",
];
- // MCP: every MCP tool name is `mcp_` prefixed (mcp_registry_*, mcp_setup_*,
+ // MCP: every MCP tool name is `mcp_` prefixed (mcp_registry_*,
// mcp_call_tool, mcp_list_servers, mcp_list_tools).
if name.starts_with("mcp_") {
return DomainGroup::Mcp;
diff --git a/crates/openhuman-core/src/tools/toolpacks/ops.rs b/crates/openhuman-core/src/tools/toolpacks/ops.rs
index 2a071cfb60..ef7287bc5c 100644
--- a/crates/openhuman-core/src/tools/toolpacks/ops.rs
+++ b/crates/openhuman-core/src/tools/toolpacks/ops.rs
@@ -126,7 +126,7 @@ pub fn strip_packed_from_visible(visible: &mut HashSet<String>, agent_id: &str)
///
/// That distinction is load-bearing. Collapsing the archetype delegates without
/// it silently re-advertised seven routes the pack table deliberately withholds
-/// (`do_crypto`, `setup_mcp_server`, `use_mcp_server`, `setup_skills`,
+/// (`do_crypto`, `use_mcp_server`, `setup_skills`,
/// `run_skill`, `build_workflow`, `discover_workflows`): each one stopped being
/// a tool — so `strip_packed_from_visible` had nothing to remove — and became a
/// string inside another tool's schema instead. A collapse must never widen