Skip to content

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

docs(mcp): describe the Registry one-click add in app doc comments (#7194)

oxoxDev936468697dc7
diff --git a/app/src/components/channels/mcp/McpJsonEditor.tsx b/app/src/components/channels/mcp/McpJsonEditor.tsx
index 43902475f7..a0fe4fea53 100644
--- a/app/src/components/channels/mcp/McpJsonEditor.tsx
+++ b/app/src/components/channels/mcp/McpJsonEditor.tsx
@@ -6,8 +6,8 @@
* that drifts from the real configuration: it is the configuration, in the
* spelling a user already knows from `claude_desktop_config.json`. Pasting a
* block of servers copied off a server's install page is one action here,
- * which is the whole reason a text surface earns its place — and the only way
- * a server is added, since the registry is browse-only.
+ * which is the whole reason a text surface earns its place. The registry's
+ * one-step add for hosted servers writes into this same document.
*
* Three things this deliberately does *not* do:
*
diff --git a/app/src/components/channels/mcp/McpServersPage.tsx b/app/src/components/channels/mcp/McpServersPage.tsx
index cebf8066f7..69efe07467 100644
--- a/app/src/components/channels/mcp/McpServersPage.tsx
+++ b/app/src/components/channels/mcp/McpServersPage.tsx
@@ -4,9 +4,9 @@
* The page owns its own header — title, description and the tab strip — the
* way the LLM page does, so the tabs sit in the header's chrome rather than in
* a card under it. **Servers** is the list, **mcp.json** the same configuration
- * as one document, **Registry** the browse-only directories. The first two are
- * tabs and not two pages because they are not two things: both go through the
- * same core RPCs into the same store.
+ * as one document, **Registry** the directories, where a hosted server can be
+ * added in one step. The first two are tabs and not two pages because they are
+ * not two things: both go through the same core RPCs into the same store.
*/
import { useState } from 'react';
diff --git a/app/src/services/api/mcpClientsApi.ts b/app/src/services/api/mcpClientsApi.ts
index 4360ec65a5..3f5184ab21 100644
--- a/app/src/services/api/mcpClientsApi.ts
+++ b/app/src/services/api/mcpClientsApi.ts
@@ -4,7 +4,8 @@
* `{ result: T }` envelope returned by the core RPC framework.
*
* There is no install call: a server is declared in the user's `mcp.json`
- * (`configGet` / `configSet`); the registry calls are browse-only.
+ * (`configGet` / `configSet`), including when the Registry tab adds a hosted
+ * server in one step; the registry calls only read the directories.
*
* Centralises method-name strings so components never spell them out directly.
*/