You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autonomous decisions:
- Added InstalledServerRepository to MetaToolContext so mcpmux_list_servers
can resolve cloned_from without a core type change (field already on InstalledServer)
- Omitted cloned_from from non-clone rows rather than emitting null
- Skipped jsg-tech-check migration doc (out of repo per orchestrator)
- Updated planning doc status/checkboxes to match Phases 1–3 completion
Signed-off-by: crimsonsunset <jsangio1@gmail.com>
Copy file name to clipboardExpand all lines: docs/guide/servers.mdx
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,33 @@ Disabling a server immediately disconnects it and removes its tools from connect
100
100
101
101

102
102
103
+
## Multiple Accounts
104
+
105
+
Some MCP servers only support one account per process. Others accept a per-call account parameter, or you may simply want work and personal credentials in separate contexts. Use this decision tree:
106
+
107
+
```text
108
+
Need more than one account for the same MCP?
109
+
├─ The MCP accepts a per-call account parameter (e.g. Google Workspace `user_google_email`)
110
+
│ └─ Install once — pass the account on each tool call. No clone needed.
111
+
├─ Accounts map to different repo or project context (work vs personal vs client)
112
+
│ └─ Use [Spaces](/docs/spaces/) — one install per Space with separate credentials.
113
+
└─ Two or more accounts in the SAME Space for a single-account MCP
114
+
└─ Clone via **Add another account…** on the server card in My Servers.
115
+
```
116
+
117
+
### Cloning a server
118
+
119
+
When you need two PostHog workspaces, Firebase projects, or Gmail accounts in one Space:
120
+
121
+
1. Open **My Servers** and use the server menu → **Add another account…**
122
+
2. Choose a suffix (`work`, `personal`, `prod`, etc.) — the clone ID becomes `{server}-{suffix}` (e.g. `posthog-work`)
123
+
3. Configure credentials for the clone (secrets are never copied from the source)
124
+
4. Enable the clone — tools appear with the clone prefix (e.g. `posthog-work_capture`)
125
+
126
+
Clones are independent installs: separate credentials, OAuth sessions, and tool prefixes. The source server is unchanged. You cannot clone a clone (max depth 1).
127
+
128
+
When using [meta tools](/docs/feature-sets/) (`mcpmux_list_servers`), clone rows include an optional `cloned_from` field with the source server ID so an LLM can see lineage.
129
+
103
130
## Connection Status
104
131
105
132
The **My Servers** page shows real-time connection status for each server:
**Outcome:**`clone_server` from Tauri creates a disabled `posthog-work` install with copied definition, empty creds, and `cloned_from = "posthog"`. Verifiable via `list_installed_servers` and SQLite inspection. No UI yet.
178
178
179
179
### Phase 2 — Clone wizard UI
180
180
181
181
**Effort:**~1 day
182
182
183
-
-[]`CloneAccountModal` — suffix field with suggestions (`work`, `personal`, `prod`, `staging`), live alias preview, inline collision error
184
-
-[]`ServerActionMenu` → "Add another account…" on registry and manual installs (not on clones)
185
-
-[] Post-clone flow: open existing `ConfigEditorModal` for credential entry before enable
186
-
-[]`SourceBadge` shows clone lineage
183
+
-[x]`CloneAccountModal` — suffix field with suggestions (`work`, `personal`, `prod`, `staging`), live alias preview, inline collision error
184
+
-[x]`ServerActionMenu` → "Add another account…" on registry and manual installs (not on clones)
185
+
-[x] Post-clone flow: open existing `ConfigEditorModal` for credential entry before enable
186
+
-[x]`SourceBadge` shows clone lineage
187
187
-[ ] Optional: collapsed "Accounts" group on `ServersPage` when `cloned_from` matches same base (visual only, no schema)
188
188
189
189
**Outcome:** User clicks "Add another account" on PostHog, enters suffix `work`, gets `posthog-work` card in My Servers, configures API key, enables — tools appear as `posthog-work_*` in gateway. No JSON editing.
@@ -192,9 +192,9 @@ Multi-account need?
192
192
193
193
**Effort:**~0.5 day
194
194
195
-
-[]`mcpmux_list_servers` returns optional `cloned_from` for clone rows
0 commit comments