Connect Your Client

ChatGPT is the recommended starting point because Longbridge is available directly in ChatGPT Plugins. For other MCP clients, configuration format may vary across client versions; treat your client’s official MCP documentation as the source of truth.

All clients connect to the same endpoint — https://mcp.longbridge.com (or https://mcp.longbridge.cn for faster access from Mainland China; see Overview).

Which clients can trade?

The ChatGPT App and the Claude directory connector are read-only: they cover market data, research, and account queries but not order placement. To place, modify, or cancel orders, connect a client directly to the MCP endpoint — Claude Code, Codex, Cursor, Zed, and others. See Trade with AI.

ChatGPT

Longbridge is available as an official ChatGPT App.

On ChatGPT web, desktop, or mobile:

  1. Open Plugins
  2. Search for longbridge, or open the Longbridge ChatGPT App directly
  3. Select Longbridge and complete the authorization login

Search for Longbridge in ChatGPT Plugins

Authorize the Longbridge ChatGPT App

After authorization, prefix every message with @longbridge to send it to Longbridge MCP — for example: @longbridge check my today's orders. Without this prefix, ChatGPT will not route your question to Longbridge.

Trading features unavailable in ChatGPT

Due to ChatGPT platform policies, the Longbridge ChatGPT App does not include order placement and other trading tools. To use trading features, switch to Claude Code, Cursor, or another MCP client.

Claude

Longbridge is available as an official connector in Claude’s directory.

On Claude web or Claude Desktop:

  1. Click Customize → Connectors, then click the Add button
  2. Select Browser Connectors from the dropdown and search for longbridge
  3. Select Longbridge and complete the authorization login

Or open the Longbridge connector directly.

Claude Code

Run the following command in your terminal:

claude mcp add --transport http longbridge https://mcp.longbridge.com

Then open the claude terminal interface, type /mcp, select longbridge, and choose Authenticate to complete the OAuth authorization flow.

Codex

Run the following command in your terminal:

codex mcp add longbridge --url https://mcp.longbridge.com

Then follow the OAuth authorization flow in Codex when prompted.

Codex Desktop

  1. Click Settings (bottom right) → MCP Servers → Add Server
  2. In the “Connect to a custom MCP” screen, fill in:
    • Name: longbridge
    • Type: Streamable HTTP
    • URL: https://mcp.longbridge.com
    • Leave all other fields empty
  3. Click Save
  4. Back in the MCP Servers list, click Authenticate on the longbridge entry to complete OAuth authorization

Gemini CLI

Run the following command in your terminal:

gemini mcp add --transport http longbridge https://mcp.longbridge.com -s user

Then start gemini and run /mcp to confirm longbridge is connected, authorizing in the browser if prompted.

To edit the config by hand instead, add this under mcpServers in ~/.gemini/settings.json — note the key is httpUrl, not url (Gemini CLI treats url as an SSE endpoint, and the connection will fail):

{
  "mcpServers": {
    "longbridge": {
      "httpUrl": "https://mcp.longbridge.com"
    }
  }
}

opencode

Run the following command in your terminal:

opencode mcp add longbridge --url https://mcp.longbridge.com --global

Run opencode mcp list to confirm it registered. To edit the config by hand instead, add this to opencode.json:

{
  "mcp": {
    "servers": {
      "longbridge": {
        "type": "remote",
        "url": "https://mcp.longbridge.com"
      }
    }
  }
}

OpenClaw

Run the following command in your terminal:

openclaw mcp add longbridge --url https://mcp.longbridge.com --transport streamable-http

Run openclaw mcp doctor longbridge --probe to verify the connection. You can also add it from the Control UI under Settings → MCP, choosing Streamable HTTP and entering the URL.

Warp

  1. Open Settings → Agents → MCP servers
  2. Click + Add and choose Streamable HTTP or SSE Server (URL)
  3. Enter https://mcp.longbridge.com and save, then complete the OAuth authorization

Grok

Open Grok Connectors and add a custom MCP server:

  1. In the left sidebar, go to Skills and Connectors → Connectors → New Connector → Custom
  2. Fill in:
    • Name: Longbridge
    • Server URL: https://mcp.longbridge.com
  3. Click Add Connector and follow the Longbridge OAuth 2 authorization flow to complete the setup

Cursor

Settings → MCP Servers → Add Remote MCP Server, then enter https://mcp.longbridge.com.

Zed

Add the following to your settings.json under the context_servers key (key name is customizable):

{
  "mcpServers": {
    "longbridge": {
      "url": "https://mcp.longbridge.com"
    }
  }
}

Cherry Studio

Settings → MCP Servers → Add, then enter https://mcp.longbridge.com.

Manus

In Manus, open the Plugins window, click the Create button on the right side, and select Import MCP by JSON from the menu. Paste the following JSON to complete the import:

{
  "mcpServers": {
    "longbridge": {
      "url": "https://mcp.longbridge.com"
    }
  }
}

Next steps

MarkdownEditLast Updated: November 11, 2026 at 8:21:23 AM