From c4d5a03da56975a454dde4760cd0215e316ad6e6 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 5 Jun 2026 09:44:50 +0800 Subject: [PATCH] docs: update MCP host to mcp.longbridge.com / mcp.longbridge.cn Replace https://openapi.longbridge.com/mcp with https://mcp.longbridge.com and https://openapi.longbridge.cn/mcp with https://mcp.longbridge.cn across docs (en/zh-CN/zh-HK), homepage components, README, and skill references. Also update the build-time MCP tools.json endpoint in config.mts. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 2 +- docs/.vitepress/config.mts | 2 +- .../theme/components/NewHomePage/ProductMCP.vue | 10 +++++----- docs/.vitepress/theme/components/NewHomePage/index.vue | 4 ++-- docs/en/docs/mcp.md | 10 +++++----- docs/en/skill/install/index.md | 6 +++--- docs/zh-CN/docs/mcp.md | 10 +++++----- docs/zh-CN/skill/install/index.md | 6 +++--- docs/zh-HK/docs/mcp.md | 10 +++++----- docs/zh-HK/skill/install/index.md | 6 +++--- skills/longbridge/references/mcp.md | 6 +++--- skills/longbridge/references/setup.md | 2 +- 12 files changed, 37 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 332f62ef..728ffb95 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ pip install longbridge { "mcpServers": { "longbridge": { - "url": "https://openapi.longbridge.com/mcp" + "url": "https://mcp.longbridge.com" } } } diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 693d36ca..0f52e23d 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -15,7 +15,7 @@ import yaml from 'js-yaml' const __dirname = dirname(fileURLToPath(import.meta.url)) const docsRoot = resolve(__dirname, '..') -const MCP_TOOLS_URL = 'https://openapi.longbridge.com/mcp/tools.json' +const MCP_TOOLS_URL = 'https://mcp.longbridge.com/mcp/tools.json' const MCP_TOOLS_DATA_PATH = resolve(__dirname, 'data/mcp-tools.json') const regionCfg = getRegionConfig() const regionSrcExclude = computeSrcExclude(docsRoot) diff --git a/docs/.vitepress/theme/components/NewHomePage/ProductMCP.vue b/docs/.vitepress/theme/components/NewHomePage/ProductMCP.vue index eba0f8e1..8f4e56fa 100644 --- a/docs/.vitepress/theme/components/NewHomePage/ProductMCP.vue +++ b/docs/.vitepress/theme/components/NewHomePage/ProductMCP.vue @@ -50,7 +50,7 @@ const clients = [ name: 'Claude Code', logo: 'https://assets.lbctrl.com/uploads/6932dfac-0f9c-4577-bdd8-fc3d22d4223a/claude.svg', type: 'shell' as const, - cmd: 'claude mcp add --transport http longbridge https://openapi.longbridge.com/mcp', + cmd: 'claude mcp add --transport http longbridge https://mcp.longbridge.com', }, { id: 'codex', @@ -58,7 +58,7 @@ const clients = [ logo: 'https://assets.lbctrl.com/uploads/88eb58fe-b3bb-4875-90c7-c97e6d8fcc9e/openai.svg', type: 'ui' as const, steps: ['Settings', 'MCP Servers', 'Add Server'], - fields: { Name: 'longbridge', Type: 'Streamable HTTP', URL: 'https://openapi.longbridge.com/mcp' }, + fields: { Name: 'longbridge', Type: 'Streamable HTTP', URL: 'https://mcp.longbridge.com' }, }, { id: 'cursor', @@ -66,14 +66,14 @@ const clients = [ logo: 'https://assets.lbctrl.com/uploads/f694478e-201b-4e74-a7b6-023639a27805/cursor.svg', type: 'ui' as const, steps: ['Settings', 'MCP Servers', 'Add Remote MCP Server'], - fields: { URL: 'https://openapi.longbridge.com/mcp' }, + fields: { URL: 'https://mcp.longbridge.com' }, }, { id: 'zed', name: 'Zed', logo: 'https://assets.lbctrl.com/uploads/3418077a-9766-4514-bc8e-eef076309689/zed.svg', type: 'json' as const, - json: { mcpServers: { longbridge: { url: 'https://openapi.longbridge.com/mcp' } } }, + json: { mcpServers: { longbridge: { url: 'https://mcp.longbridge.com' } } }, }, { id: 'cherry', @@ -81,7 +81,7 @@ const clients = [ logo: 'https://assets.lbctrl.com/uploads/df8f9467-91a5-4bdb-8dde-5127441f0b04/cherrystudio.svg', type: 'ui' as const, steps: ['Settings', 'MCP Servers', 'Add'], - fields: { URL: 'https://openapi.longbridge.com/mcp' }, + fields: { URL: 'https://mcp.longbridge.com' }, }, ] diff --git a/docs/.vitepress/theme/components/NewHomePage/index.vue b/docs/.vitepress/theme/components/NewHomePage/index.vue index f8515458..78e1c5f0 100644 --- a/docs/.vitepress/theme/components/NewHomePage/index.vue +++ b/docs/.vitepress/theme/components/NewHomePage/index.vue @@ -1773,7 +1773,7 @@ const GETSTARTED = [