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
docs(matrix): cover MCP server tools and the persistent tool cache
Steven Enamakel10794ab1c6b7
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.mdindex 0c4c62d550..39417e2488 100644--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@ -518,6 +518,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an| 11.1.10 | MCP declare (mcp.json)→connect→tool_call | RI | `tests/json_rpc_e2e.rs` (`mcp_clients_declare_connect_tool_call_happy_path`, `mcp_clients_config_round_trip_merges_credentials_and_removes_absent_servers`), `tests/mcp_registry_e2e.rs`, `tests/agent_harness_e2e.rs` (`agent_calls_a_tool_on_an_mcp_server_installed_from_the_registry`), `tests/skills_mcp_registry_live.rs` (manual, `#[ignore]`), `crates/openhuman-core/src/mcp/registry/config_doc_tests.rs` | ✅ | HTTP-RPC happy path `config_set`→connect→tool_call→update_env against `test-mcp-stub`; the mcp.json round trip (write-only credentials merged on re-save, a read carries names only, an entry dropped from the document is uninstalled, a refusal names the entry and field); registry search→declare→connect over RPC, then a scripted agent turn calls the server's tool and its answer reaches the model; live official-registry smoke (manual) || 11.1.11 | MCP env reconfigure + registry creds | RI/VU | `tests/json_rpc_e2e.rs` (`mcp_clients_registry_settings_roundtrip`), `crates/openhuman-core/src/mcp/registry/ops.rs` (`mcp_clients_registry_settings_get`), `vendor/tinymcp/crates/tinymcp/src/registry/sources/official/` (vendored `tinymcp`), `app/src/components/channels/mcp/InstalledServerDetail.test.tsx` (#3039) | ✅ | `update_env` persist+reconnect; `registry_settings` get/set with secrets write-only (config-first, env-fallback); reconfigure form validation || 11.1.12 | MCP UI surface (Servers / mcp.json / Registry tabs) | VU/RU | `app/src/components/channels/mcp/McpServersPage.test.tsx`, `app/src/components/channels/mcp/McpJsonEditor.test.tsx`, `app/src/components/channels/mcp/mcpJson.test.ts`, `app/src/components/channels/mcp/McpRegistryBrowser.test.tsx`, `app/src/services/api/mcpClientsApi.test.ts`, `crates/openhuman-core/src/mcp/registry/schemas_tests.rs`, `vendor/tinymcp/crates/tinymcp/src/registry/{curation,sources}/` (vendored `tinymcp`) | ✅ | Connections → MCP Servers owns its page header with three tabs in it, after the OpenCompany MCP page: the server rows (icon, name → detail, transport and status, the command or endpoint, icon controls for connect/disconnect, enable/disable, remove), the `mcp.json` editor (local shape check, core refusal shown verbatim, Save/Revert, re-reads the rows after a save) and the browse-only Registry (a row opens the server's own page; no install control); curated catalog with official-vendor badge + official-first order; namespace-stripped relevance search + server-side Stdio/Hosted transport filter |+| 11.1.17 | MCP server tools as `mcp_<server>_<tool>` agent tools + persistent tool cache | RU/RI | `vendor/tinymcp/crates/tinymcp/src/tools/` (vendored `tinymcp`, `tools` feature), `crates/openhuman-core/src/mcp/registry/action_tool_tests.rs`, `crates/openhuman-core/src/tools/impl/network/mcp_server_tools_tests.rs`, `crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs::connected_mcp_actions_enter_search_and_leave_on_disconnect`, `crates/openhuman-embed/src/agent/build_tests.rs`, `tests/agent_harness_e2e.rs` (`orchestrator_calls_a_connected_mcp_tool_directly`) | ✅ | Each remote tool is its own agent tool, deferred behind `tool_search` by default or direct via `expose`/`direct_tools`; installed and configured servers' tool lists persist in tinymcp's `mcp_tool_cache` (fingerprinted by definition, dropped on disable/uninstall/credential change) so tools are offered before reconnect while calls still require a live connection; recorded pre-readable hashed names are restored as aliases on resume; configured-server output is scrubbed of credentials || 11.1.13 | MCP HTTP-remote auth (token / Bearer / OAuth) + redirect resolution | RU/VU | `vendor/tinymcp/crates/tinymcp/src/registry/connections/` (`build_http_auth*`, `resolve_final_url`), `vendor/tinymcp/crates/tinymcp/src/registry/oauth/` (PKCE/token/bundle/callback port) (vendored `tinymcp`), `app/src/components/channels/mcp/ConnectAuthModal.test.tsx` (#3495) | ✅ | Bearer/raw scheme + custom headers; redirect-final-URL resolved before auth; OAuth dynamic client registration + PKCE + refresh; tokens MERGED into stored env; credentials stored encrypted locally, never sent to backend || 11.1.15 | Agent uses connected MCP servers in chat | RU | `crates/openhuman-core/src/agent/registry/agents/loader.rs` (`orchestrator_does_not_delegate_mcp_calls`, `orchestrator_reaches_mcp_directly_and_skills_through_hand_offs`, `planner_has_readonly_mcp_discovery_not_execute`), `crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.rs` (`connected_mcp_block_*`), `crates/openhuman-core/src/agent/session_host/turn_tests.rs` (`mcp_announcement_fires_once_for_new_server`), `tests/agent_harness_e2e.rs` (`orchestrator_calls_a_connected_mcp_tool_directly`: `tool_search` → deferred MCP action via `tool_call`), `crates/openhuman-core/src/mcp/registry/action_tool_tests.rs`, `crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs` (`connected_mcp_actions_enter_search_and_leave_on_disconnect`), `crates/openhuman-core/src/mcp/registry/tools_tests.rs`, `vendor/tinymcp/crates/tinymcp/src/registry/connections/` (vendored `tinymcp`) (#3495) | ✅ | connected MCP actions enter the JEV-backed `tool_search` catalogue as deferred tools and call directly; generic `mcp_registry_list_tools` / `mcp_registry_tool_call` remain a fallback; orchestrator `## Connected MCP Servers` prompt block + mid-session connect announcement on the user turn; planner read-only MCP discovery (no `tool_call`) || 11.1.16 | MCP supervisor observability (Event Log + notifications) | RU | `crates/openhuman-core/src/mcp/registry/supervisor_events_tests.rs`, `crates/openhuman-core/src/core/events_tests.rs` (`mcp_supervisor_events_*`, `mcp_lifecycle_events_*`), `crates/openhuman-core/src/desktop/notifications/bus_tests_2_tests.rs` (`mcp_*`, `*_workspace*`, `an_outage_is_filed_under_its_own_workspace_not_the_bridge_s`, `*_announced`), `app/src/components/settings/panels/__tests__/EventLogPanel.test.tsx` (detail line + filter), `vendor/tinymcp/crates/tinymcp/src/registry/supervisor/test.rs` ("The report" section) (#5931) | ✅ | `tinymcp::Supervisor::tick` returns a `TickReport`; the host maps it to `McpServer{ProbeTimedOut,TransportDropped,Reconnected,ReconnectFailed,Parked}` domain events (Event Log, `mcp_client` domain, server name in the agent column, failure reason via `DomainEvent::log_detail`) and the notification bridge notifies only on the first failed reconnect of an episode, on recovery after failures, and on a parked server — filing each under the workspace the event names and announcing it only when that workspace is live, since one process supervises every workspace it has opened and the bridge's own binding may be the stale half after a switch |