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 = [