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(mcp): document the Registry one-click hosted add (#7194)
oxoxDev50a51b88f73d
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.mdindex 50a2a35ef2..25c0d6fa6c 100644--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@ -513,7 +513,7 @@ The thread JSONL store moved to `tinyagents_session::threads` (`vendor/tinyagent| 11.1.8 | Resource templates list | RU | `crates/openhuman-core/src/mcp/server/resources.rs`, `crates/openhuman-core/src/mcp/server/protocol.rs` | ✅ | `resources/templates/list` returns `{resourceTemplates: []}` (static catalog), tolerates unknown/cursor params || 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.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/components/channels/mcp/registryAdd.test.ts`, `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 Registry (one-click add for hosted servers that need no setup, declared into mcp.json then connected or signed in; any other row opens the server's own page); 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`) |diff --git a/docs/gitbooks/en/developing/architecture/mcp-registry.md b/docs/gitbooks/en/developing/architecture/mcp-registry.mdindex b6b233d54c..5a36f40137 100644--- a/docs/gitbooks/en/developing/architecture/mcp-registry.md+++ b/docs/gitbooks/en/developing/architecture/mcp-registry.md@@ -9,7 +9,7 @@ icon: plug`crates/openhuman-core/src/mcp/registry/` is the host half of OpenHuman's Model Context Protocol (MCP) client support. It browses the supported upstream registries (Smithery and the official modelcontextprotocol registry) and reconciles the install store against your `mcp.json` document. For servers launched as local subprocesses or HTTP-remote endpoints, it also supervises the connection. The tools of installed servers reach agents through the unified tool registry (`crate::tools::registry`).-The registries are browse-only. There is no install-from-catalog path and no setup agent. If you find a server in the Registry tab, you open its own page, read the install instructions there, and declare the server in the mcp.json tab: `{ "mcpServers": { name: { command, args, env } | { url, headers } } }`. The document's contract and its reconciliation live in `tinymcp::registry::config_doc`. `config_ops.rs` here is the RPC envelope over them (`mcp_clients_config_get` and `mcp_clients_config_set`).+There is no install-from-catalog RPC and no setup agent. In the Registry tab, a hosted server that needs no setup (one http(s) endpoint, no required or secret inputs) is added in one click: the app declares it in mcp.json through `config_get` / `config_set`, then connects it or opens the sign-in dialog. For any other server you open its own page, read the install instructions there, and declare the server in the mcp.json tab: `{ "mcpServers": { name: { command, args, env } | { url, headers } } }`. The document's contract and its reconciliation live in `tinymcp::registry::config_doc`. `config_ops.rs` here is the RPC envelope over them (`mcp_clients_config_get` and `mcp_clients_config_set`).The client half lives in the vendored `tinymcp` crate (`vendor/tinymcp`): both transports, the Smithery and official catalogs, the SQLite store, the live connection map, the subprocess supervisor, browser sign-in and the write-audit log. This directory holds only what belongs to the application:@@ -95,7 +95,7 @@ pub use types::{ConnStatus, InstalledServer, McpTool};## Called by- Core startup, via `mcp::host::init` and the reconnect-supervisor loop.-- The frontend Connections UI. The MCP Servers page (`McpServersTab`) has three tabs over the `openhuman.mcp_clients_*` RPC namespace: Servers (rows, status and the credential form: connect, disconnect, `update_env`, sign-in), mcp.json (`config_get` and `config_set`, the only way to add or remove a server) and Registry (`registry_search`, browse-only; a row opens the server's own page in the browser). `registry_settings_get` / `registry_settings_set` hold the Smithery / official-registry credentials (secret values are write-only). Agents use connected servers directly. The orchestrator finds a connected server's tool through `tool_search`, or loads the `mcp` skill (`use_skill`, guide in `crates/openhuman-core/src/tools/toolpacks/guides/mcp.md`) for the `mcp_registry_*` status, list-tools and tool-call fallback. Agents do not install servers.+- The frontend Connections UI. The MCP Servers page (`McpServersTab`) has three tabs over the `openhuman.mcp_clients_*` RPC namespace: Servers (rows, status and the credential form: connect, disconnect, `update_env`, sign-in), mcp.json (`config_get` and `config_set`, the only way to add or remove a server) and Registry (`registry_search` and `registry_get`; a hosted server that needs no setup is declared into mcp.json in one click, any other row opens the server's own page in the browser). `registry_settings_get` / `registry_settings_set` hold the Smithery / official-registry credentials (secret values are write-only). Agents use connected servers directly. The orchestrator finds a connected server's tool through `tool_search`, or loads the `mcp` skill (`use_skill`, guide in `crates/openhuman-core/src/tools/toolpacks/guides/mcp.md`) for the `mcp_registry_*` status, list-tools and tool-call fallback. Agents do not install servers.## Testsdiff --git a/gitbooks/developing/architecture/mcp-registry.md b/gitbooks/developing/architecture/mcp-registry.mdindex b6b233d54c..5a36f40137 100644--- a/gitbooks/developing/architecture/mcp-registry.md+++ b/gitbooks/developing/architecture/mcp-registry.md@@ -9,7 +9,7 @@ icon: plug`crates/openhuman-core/src/mcp/registry/` is the host half of OpenHuman's Model Context Protocol (MCP) client support. It browses the supported upstream registries (Smithery and the official modelcontextprotocol registry) and reconciles the install store against your `mcp.json` document. For servers launched as local subprocesses or HTTP-remote endpoints, it also supervises the connection. The tools of installed servers reach agents through the unified tool registry (`crate::tools::registry`).-The registries are browse-only. There is no install-from-catalog path and no setup agent. If you find a server in the Registry tab, you open its own page, read the install instructions there, and declare the server in the mcp.json tab: `{ "mcpServers": { name: { command, args, env } | { url, headers } } }`. The document's contract and its reconciliation live in `tinymcp::registry::config_doc`. `config_ops.rs` here is the RPC envelope over them (`mcp_clients_config_get` and `mcp_clients_config_set`).+There is no install-from-catalog RPC and no setup agent. In the Registry tab, a hosted server that needs no setup (one http(s) endpoint, no required or secret inputs) is added in one click: the app declares it in mcp.json through `config_get` / `config_set`, then connects it or opens the sign-in dialog. For any other server you open its own page, read the install instructions there, and declare the server in the mcp.json tab: `{ "mcpServers": { name: { command, args, env } | { url, headers } } }`. The document's contract and its reconciliation live in `tinymcp::registry::config_doc`. `config_ops.rs` here is the RPC envelope over them (`mcp_clients_config_get` and `mcp_clients_config_set`).The client half lives in the vendored `tinymcp` crate (`vendor/tinymcp`): both transports, the Smithery and official catalogs, the SQLite store, the live connection map, the subprocess supervisor, browser sign-in and the write-audit log. This directory holds only what belongs to the application:@@ -95,7 +95,7 @@ pub use types::{ConnStatus, InstalledServer, McpTool};## Called by- Core startup, via `mcp::host::init` and the reconnect-supervisor loop.-- The frontend Connections UI. The MCP Servers page (`McpServersTab`) has three tabs over the `openhuman.mcp_clients_*` RPC namespace: Servers (rows, status and the credential form: connect, disconnect, `update_env`, sign-in), mcp.json (`config_get` and `config_set`, the only way to add or remove a server) and Registry (`registry_search`, browse-only; a row opens the server's own page in the browser). `registry_settings_get` / `registry_settings_set` hold the Smithery / official-registry credentials (secret values are write-only). Agents use connected servers directly. The orchestrator finds a connected server's tool through `tool_search`, or loads the `mcp` skill (`use_skill`, guide in `crates/openhuman-core/src/tools/toolpacks/guides/mcp.md`) for the `mcp_registry_*` status, list-tools and tool-call fallback. Agents do not install servers.+- The frontend Connections UI. The MCP Servers page (`McpServersTab`) has three tabs over the `openhuman.mcp_clients_*` RPC namespace: Servers (rows, status and the credential form: connect, disconnect, `update_env`, sign-in), mcp.json (`config_get` and `config_set`, the only way to add or remove a server) and Registry (`registry_search` and `registry_get`; a hosted server that needs no setup is declared into mcp.json in one click, any other row opens the server's own page in the browser). `registry_settings_get` / `registry_settings_set` hold the Smithery / official-registry credentials (secret values are write-only). Agents use connected servers directly. The orchestrator finds a connected server's tool through `tool_search`, or loads the `mcp` skill (`use_skill`, guide in `crates/openhuman-core/src/tools/toolpacks/guides/mcp.md`) for the `mcp_registry_*` status, list-tools and tool-call fallback. Agents do not install servers.## Tests