MCP catalog: core-hub suggestion from MCP_HUB_URL (deployment data)
When the deployment sets MCP_HUB_URL (the Core installer now writes https://mcphub.$DOMAIN, the NEXTCLOUD_URL pattern), the MCP list appends a core-hub suggestion: the federated tool hub over SSE with the user's own mhub_ bearer token (DESIGN_MCP_HUB_AUTH.md step 3). Unset/invalid -> no suggestion; never a TIER fork. The UI renders it generically (Use prefills URL/transport/auth + token hint). Go test covers the env gate; regression fixture carries the entry.
This commit is contained in:
@@ -244,6 +244,12 @@ NETGUARD_TRUSTED_HOSTS=mail.$DOMAIN
|
||||
# connection still needs the person's own username and app password; see the
|
||||
# three DAV sections in API.md).
|
||||
NEXTCLOUD_URL=https://nextcloud.$DOMAIN
|
||||
|
||||
# --- MCP hub (Settings → MCP) ----------------------------------------------
|
||||
# The core's federated tool hub (mcpserver-hub) as a one-connection MCP
|
||||
# suggestion; each person connects with their OWN mhub_ bearer token
|
||||
# (mcphub-token CLI; DESIGN_MCP_HUB_AUTH.md). Purely a hint, like NEXTCLOUD_URL.
|
||||
MCP_HUB_URL=https://mcphub.$DOMAIN
|
||||
EOF
|
||||
chmod 600 /federated/apps/superbrain/.env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user