Skip to content

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

docs(architecture): add frontend and mcp-registry architecture docs

Steven Enamakel441c2b8d68c4
diff --git a/gitbooks/developing/architecture/frontend.md b/gitbooks/developing/architecture/frontend.md
index 99ecc4dc62..d634e1d464 100644
--- a/gitbooks/developing/architecture/frontend.md
+++ b/gitbooks/developing/architecture/frontend.md
@@ -289,10 +289,10 @@ Errors are classified into a stable `CoreRpcError.kind` (`auth_expired`, `transp
### Best Practices
-1. **Use singletons**: never create multiple service instances.
-2. **Keep Tauri IPC and RPC calls in services**: do not scatter `invoke()` or raw fetches through components.
-3. **Clean up on unmount**: disconnect in `useEffect` cleanup.
-4. **Handle errors via `CoreRpcError.kind`**: retry only transient failures.
+1. Use singletons. Never create multiple service instances.
+2. Keep Tauri IPC and RPC calls in services. Do not scatter `invoke()` or raw fetches through components.
+3. Clean up on unmount by disconnecting in the `useEffect` cleanup.
+4. Handle errors through `CoreRpcError.kind` and retry only transient failures.
---
diff --git a/gitbooks/developing/architecture/mcp-registry.md b/gitbooks/developing/architecture/mcp-registry.md
index b64d972de7..872181a640 100644
--- a/gitbooks/developing/architecture/mcp-registry.md
+++ b/gitbooks/developing/architecture/mcp-registry.md
@@ -98,7 +98,7 @@ pub use types::{ConnStatus, InstalledServer, McpTool};
## Called by
- Core startup, via `mcp::host::init` and the reconnect-supervisor loop.
-- Frontend Connections UI: the **MCP Servers** page (`McpServersTab`) is three tabs over the `openhuman.mcp_clients_*` RPC namespace — **Servers** (rows, status, the credential form: connect/disconnect, `update_env`, sign-in), **mcp.json** (`config_get` / `config_set`, the only way a server is added or removed) 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 through `mcp_agent` (`use_mcp_server`); they do not install them.
+- Frontend Connections UI: the **MCP Servers** page (`McpServersTab`) is three tabs over the `openhuman.mcp_clients_*` RPC namespace: **Servers** (rows, status, the credential form: connect/disconnect, `update_env`, sign-in), **mcp.json** (`config_get` / `config_set`, the only way a server is added or removed) 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 through `mcp_agent` (`use_mcp_server`); they do not install them.
## Tests