Skip to content

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

refactor(mcp): source list-servers tool metadata from bridge spec

Steven Enamakel8c2026d5ed6c
diff --git a/crates/openhuman-core/src/tools/impl/network/mcp.rs b/crates/openhuman-core/src/tools/impl/network/mcp.rs
index 6a37150bc8..fa5ba14623 100644
--- a/crates/openhuman-core/src/tools/impl/network/mcp.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mcp.rs
@@ -19,32 +19,32 @@ use crate::{
/// Lists configured MCP servers through TinyMCP's safe summary operation.
pub struct McpListServersTool {
config: Arc<Config>,
+ spec: tinymcp_bus::agent_tools::AgentToolSpec,
}
impl McpListServersTool {
/// Builds the server-list tool for one configured workspace.
#[must_use]
pub fn new(config: Arc<Config>) -> Self {
- Self { config }
+ Self {
+ config,
+ spec: bridge_tool_spec("mcp_list_servers"),
+ }
}
}
#[async_trait]
impl Tool for McpListServersTool {
fn name(&self) -> &str {
- "mcp_list_servers"
+ &self.spec.name
}
fn description(&self) -> &str {
- "List named remote MCP servers registered in OpenHuman core. Use this before browsing tools on a specific MCP server."
+ &self.spec.description
}
fn parameters_schema(&self) -> Value {
- json!({
- "type": "object",
- "properties": {},
- "additionalProperties": false
- })
+ self.spec.parameters.clone()
}
fn permission_level(&self) -> PermissionLevel {
diff --git a/docs/module-boundary-inventory.md b/docs/module-boundary-inventory.md
index e6085b2773..3ac81e46ab 100644
--- a/docs/module-boundary-inventory.md
+++ b/docs/module-boundary-inventory.md
@@ -19,7 +19,7 @@ copying its implementation into a host, or accepting weaker isolation.
| tinychannels | tinychannels, tinychannels-runtime (remaining runtime callers) | tinychannels-bus | core channels, TinyHumans host, CLI REPL | Contract is pure; v0.1.18 supplies complete Discord response vocabulary provider connection preparation and health observations. Discord discovery/permission checks, credential tests and connection validation/defaults and `doctor channels` health checks use confidential module calls. Remaining runtime callers need bus cutover with inbound/status callbacks and shutdown draining |
| tinyhosts | none | tinyhosts-bus | core hosting tools | Released Execute/Providers contract consumed through the module; workspace authorization, credentials and approval policy remain in OpenHuman |
| tinywallet | tinywallet-crypto, tinywallet-web3, tinywallet-x402 through remaining host imports | tinywallet-bus | core wallet/web3/x402 | Contract is pure at v0.13.0; native transfer preparation/execution use confidential module calls with host custody, exact approval binding and explicit close. Initialization, remaining validation, Web3 quotes/swaps, x402 payments, budgets and ledger still need host cutover |
-| tinybox | tinybox-core, tinybox-jail, tinybox-docker | tinybox-bus | core sandbox and security, desktop gateways | Pre-core gateways use the released v0.1.18 bus client. Core sandbox execution and shell analysis still require cutover |
+| tinybox | none | tinybox-bus | core sandbox and security, desktop gateways | Complete: host PR #7469 uses released v0.1.21 for sandbox lifecycle, execution, transfer, forwarding and shell analysis; pre-core gateways share the loader. The host retains path validation, approvals and the security floor |
| tinycomputer | none | tinycomputer-bus | core voice, paste/focus and permission checks | Permission, focus, paste and Globe listener operations use the module; native thread and target rules remain covered |
| tinyvoice | None | tinyvoice-bus | core voice capture/hotkeys | Module-owned devices, recording and continuous capture, bounded audio reads/batches, explicit lease cleanup; computer module permission decisions |
| tinyruntime | tinyruntime-pyserver | tinyruntime-bus | core Python worker, optional TinyJuice ML | Excluded from this migration: TinyRuntime is being removed separately |