STRATEGY: copy-paste-ready suite-side snippets for the mcpserver link
release gate / check (push) Failing after 6m45s
release gate / check (push) Failing after 6m45s
Also records the product framing: the MCP attach is how the core's already-configured AI (Superpanel -> Hermes) reaches Superbrain data with zero per-app LLM config - apps expose tools, the house agent owns the LLM. Superbrain's own AI features (automations/assistant) keep resolving BYO first, then the plan-gated AI_* server env key.
This commit is contained in:
@@ -284,18 +284,39 @@ real API-key mechanism — is resolved. Superbrain now has:
|
|||||||
so the gateway must talk to the app container directly — no traefik
|
so the gateway must talk to the app container directly — no traefik
|
||||||
hairpin needed since the app speaks plain HTTP internally).
|
hairpin needed since the app speaks plain HTTP internally).
|
||||||
|
|
||||||
Suite-side work items to finish the link (NOT in this repo):
|
Suite-side work items to finish the link (NOT in this repo), copy-paste ready:
|
||||||
|
|
||||||
- `/federated/lib/mcpserver.sh`: add `superbrain` to `MCPSERVER_APPS` and
|
- `/federated/lib/mcpserver.sh` — extend the app list and the env-var map
|
||||||
`mcpserver_app_env_var() { superbrain) echo "SUPERBRAIN_API_URL" ;; }` —
|
(both load-bearing for restart/uninstall bookkeeping):
|
||||||
the restart/uninstall machinery keys off both.
|
|
||||||
- mcpserver image repo: add the `apps_registry.py` entry
|
```bash
|
||||||
(`"superbrain": {"required_env": "SUPERBRAIN_API_URL",
|
MCPSERVER_APPS="listmonk nextcloud espocrm baserow bookstack n8n immich gitea plane erpnext kimai matomo wordpress vaultwarden superbrain"
|
||||||
"command": "superbrain-mcp", "args": []}`) and install the package into
|
# in mcpserver_app_env_var():
|
||||||
the image (pipx like the other Python servers; publish `superbrain-mcp`
|
superbrain) echo "SUPERBRAIN_API_URL" ;;
|
||||||
to PyPI or vendor it from the repo's `mcp/` directory).
|
```
|
||||||
- Then on a core: `/federated/bin/installapp-mcpserver superbrain` links it
|
|
||||||
and `mcphub`/Hermes pick the tools up like every other app.
|
- mcpserver image repo — `/app/apps_registry.py` (shared by entrypoint.py and
|
||||||
|
hub_entrypoint.py) plus installing the package into the image (pipx like
|
||||||
|
the other Python servers; publish `superbrain-mcp` to PyPI or vendor it
|
||||||
|
from this repo's `mcp/`):
|
||||||
|
|
||||||
|
```python
|
||||||
|
"superbrain": {
|
||||||
|
"required_env": "SUPERBRAIN_API_URL",
|
||||||
|
"command": "superbrain-mcp",
|
||||||
|
"args": [],
|
||||||
|
},
|
||||||
|
```
|
||||||
|
|
||||||
|
- Then on a core: `/federated/bin/installapp mcpserver` (if the gateway is
|
||||||
|
not installed yet — the container stays down until the first app links)
|
||||||
|
and `/federated/bin/installapp-mcpserver superbrain`; `mcphub`/Hermes pick
|
||||||
|
the tools up like every other app. Product framing: this is how the
|
||||||
|
core's already-configured AI (Superpanel → Hermes) reaches Superbrain
|
||||||
|
data with zero per-app LLM config — apps expose tools, the house agent
|
||||||
|
owns the LLM. It does NOT enable Superbrain's own AI features
|
||||||
|
(automations/assistant); those still resolve per-user BYO first, then the
|
||||||
|
plan-gated `AI_*` server env key.
|
||||||
|
|
||||||
### Not applicable
|
### Not applicable
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user