Repo-managed MCPHub control plane: workflow groups, bearer endpoints, optional compression, ChatGPT tunnel policy. Smart Routing stays off in tracked config.
NOT for: editing the agent-stack sync script, live skills-sync apply installs, or PostgreSQL/pgvector smart-routing setup (use maintainer OpenSpec + explicit user request).
Dispatch
$ARGUMENTS |
Action |
|---|---|
| (empty) | Show group picker summary, preflight command, and reference index |
preflight / doctor |
Run bash scripts/preflight.sh from skill dir; stop on fail |
groups / picker |
Load references/group-picker.md |
compression |
Load references/compression-opt-in.md |
tunnel |
Explain ChatGPT tunnel group-only policy + .env.mcphub tunnel vars |
cli |
Load references/cli-cheatsheet.md |
Operator Contract
preflight
- From repo root (or pass
--cwdto bundled doctor), run:
bash skills/mcphub-operator/scripts/preflight.sh
- Stop when JSON
okis false or any check withstatus: failtouches settings parity, smart routing, or client profiles. - Treat
warnas advisory (hub not running, bearer unset locally).
groups
- Default local harnesses attach
harnessonly, with per-server endpoints available but disabled by default. - Treat
harnessas the smallest high-signal set for context-bloat control: Brave Search, DuckDuckGo Search, DDGS (metasearch/news), Context7, DeepWiki, llms.txt catalog (llms-txt-explorerlist_websitesonly), Fetch, and package metadata. Usecheck_websiteonly via opt-in workflow groups. Prefer DDGS snippets; avoidfetch_full_contentunless the user needs full pages. - Use
dailyfor routine opt-in expansion; usecoding,research,review, orreleasefor scoped agentic dev flows. - Escalate to capability groups (
web-search,web-read,docs,repo,browser,media,notebooks,data,design,productivity,accounts,references) when the task needs that surface. - Use
reasoningonly for hard problems; keepreasoning-labexperimental. - Attach account-backed, live-browser (Chrome DevTools and Scrapling headless scrape sessions), heavy, or experimental groups only with explicit user intent.
- Never attach
tunnelto local harness configs unless testing the remote consumer shape.
compression
- Tracked
mcp_settings.jsonkeepstoolResultCompression.enabled: false. - Opt-in locally via
.env.mcphubonly after user approves; see compression reference. - Disable compression when debugging structured tool JSON or investigating truncation.
tunnel
- ChatGPT remote MCP uses
tunnelgroup only (https://mcp.w4w.dev/mcp/tunnelwhen tunnel enabled). - Do not widen ChatGPT to the global
/mcproute or per-server endpoints without explicit user request. - Tunnel credentials stay in
.env.mcphub/~/.cloudflared/— never commit.
cli
- Prefer repo recipes:
just mcphub-generate,just mcphub-generate-check,just mcphub-validate,just mcphub-doctor,just mcphub-smoke. - Use upstream MCPHub CLI for live hub inspection when the process is running; see CLI reference.
Maintainer Loop
just mcphub-generate
just mcphub-generate-check
just mcphub-validate
uv run python skills/mcphub-operator/scripts/check.py
Regenerate settings after editing config/mcp-registry.json groups or servers.
References
- Group picker
- CLI cheat sheet
- Compression opt-in
- Public maintainer doc:
docs/ai-tools/mcphub.md