mirror of
https://github.com/longbridge/developers.git
synced 2026-09-19 03:34:09 +08:00
2dd452943a
## Summary - Promote MCP from a Docs sub-page to a top-level nav entry (URL stays `/docs/mcp`) - Add **Available tools** section: 100+ tools live-fetched at build time from `openapi.longbridge.com/mcp/tools.json`, with search + single-expand accordion + snapshot fallback - Rewrite **Available capabilities** to 6 rows (realtime / fundamentals / derivatives / account / trading / automation) - Bump CLI command count `65+` -> `120+` All changes synced across `en` / `zh-CN` / `zh-HK`. ## Test plan - [ ] Top nav shows MCP between CLI and API Reference; `/docs/mcp` has no left sidebar - [ ] Section order: Available capabilities -> Available tools -> Prerequisites -> Client setup - [ ] Search + expand works; only one tool expanded at a time; out-of-view auto-scrolls inside the panel only - [ ] `bun run build:canary` passes; snapshot fallback triggers on URL sabotage --------- Co-authored-by: 袁章洪 <zhanghong.yuan@longbridge-inc.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>