# How to connect Longbridge MCP with ChatGPT Work

```json
{
  "title": "How to connect Longbridge MCP with ChatGPT Work",
  "toolkit": "Longbridge MCP",
  "toolkit_slug": "longbridge_mcp",
  "framework": "ChatGPT Work",
  "framework_slug": "chatgpt",
  "url": "https://composio.dev/toolkits/longbridge_mcp/framework/chatgpt",
  "markdown_url": "https://composio.dev/toolkits/longbridge_mcp/framework/chatgpt.md",
  "updated_at": "2026-09-04T05:37:34.020Z"
}
```

## Introduction

### How to connect Longbridge MCP with ChatGPT Work
[ChatGPT Work](https://openai.com/chatgpt-work/) is an agent inside ChatGPT built for your most ambitious work. It takes action across your apps and files, stays with a project for hours, and turns a goal into finished materials like sheets, slides, and docs - not just answers.
In this guide, I will explain the easiest and most secure way to connect your Longbridge account to ChatGPT Work via Composio Connect, so it can fetch market data, check your balances, view positions, place trades, and run workflows through natural language commands without ever putting your account credentials at risk.

## Also integrate Longbridge MCP with

- [Claude Cowork](https://composio.dev/toolkits/longbridge_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/longbridge_mcp/framework/hermes-agent)

## TL;DR

### Why use Composio over default connectors?
- Apps with read and write access. Default connectors mostly can read your data. Composio's Longbridge integration lets ChatGPT Work take actions like creating drafts, sending updates, labeling records, and more.
- 1,500+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
- One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
- Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
- Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

## Connect Longbridge MCP to ChatGPT Work

### Prerequisites
- A ChatGPT account with access to ChatGPT Work (rolling out across Pro, Enterprise, Edu, Plus, and Business plans). We will use the [ChatGPT desktop app](https://openai.com/chatgpt/download/), which is available on every plan.
- Access to the Longbridge workspace you want to connect.
- [Composio MCP](https://dashboard.composio.dev/login?utm_source=toolkits&utm_medium=framework_template&utm_campaign=chatgpt&utm_content=composio_connect&next=%2F~%2Forg%2Fconnect%2Fclients%2Fchatgpt).
Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.
### Step-by-step: Connect Longbridge to ChatGPT Work
### 1. Open the MCP settings
In ChatGPT Work, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.
### 2. Add the server
Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Longbridge MCP server, and what's possible with it?

The Longbridge MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Longbridge account. It provides structured and secure access so your agent can perform Longbridge operations on your behalf.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `LONGBRIDGE_MCP_ACCOUNT_BALANCE` | Account balance | Get account cash balance and asset summary. Returns balances[]{currency, total_cash, max_finance_amount, remaining_finance_amount, risk_level, margin_call}. Filter by currency (e.g. "USD", "HKD"). |
| `LONGBRIDGE_MCP_AH_PREMIUM` | Ah premium | Get A/H share premium historical K-line data. Returns items[]{timestamp, open, high, low, close} representing the premium percentage over the given period. |
| `LONGBRIDGE_MCP_AH_PREMIUM_INTRADAY` | Ah premium intraday | Get A/H share premium intraday time-share data. Returns items[]{timestamp, premium_rate} showing the intraday A/H premium percentage minute by minute. |
| `LONGBRIDGE_MCP_ALERT_ADD` | Alert add | Add a price alert. condition: price_rise/price_fall (absolute price) or percent_rise/percent_fall (relative %). frequency: once/daily/every. Returns created alert object. |
| `LONGBRIDGE_MCP_ALERT_DELETE` | Alert delete | Delete a price alert by alert_id (numeric string from alert_list). Returns upstream API response on success; errors if alert_id is invalid. |
| `LONGBRIDGE_MCP_ALERT_DISABLE` | Alert disable | Disable a price alert by alert_id. Use alert_list to find the numeric alert_id. |
| `LONGBRIDGE_MCP_ALERT_ENABLE` | Alert enable | Enable a price alert by alert_id. Use alert_list to find the numeric alert_id. |
| `LONGBRIDGE_MCP_ALERT_LIST` | Alert list | Get all configured price alerts. |
| `LONGBRIDGE_MCP_ANOMALY` | Anomaly | Get market anomaly alerts (unusual price/volume changes). market: HK/US/CN/SG. symbol: optional, filter to a specific stock. count: results per page (default 50, max 100). |
| `LONGBRIDGE_MCP_BANK_CARDS` | Bank cards | List linked withdrawal bank cards for the current account. Returns cards[]{id, bank_name, account_number (masked), currency, status}. |
| `LONGBRIDGE_MCP_BROKER_HOLDING` | Broker holding | Get top broker holding data for a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure). |
| `LONGBRIDGE_MCP_BROKER_HOLDING_DAILY` | Broker holding daily | Get daily holding history for a specific broker (by broker_id) in a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure). |
| `LONGBRIDGE_MCP_BROKER_HOLDING_DETAIL` | Broker holding detail | Get full broker holding detail list for a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure). |
| `LONGBRIDGE_MCP_BROKERS` | Brokers | Get broker queue (HK stocks only). Map broker IDs to names via participants. |
| `LONGBRIDGE_MCP_BUSINESS_SEGMENTS` | Business segments | Get current-period business segment revenue breakdown for a symbol (name, percent, total, currency) |
| `LONGBRIDGE_MCP_BUSINESS_SEGMENTS_HISTORY` | Business segments history | Get historical business segment revenue trends (by period and category). |
| `LONGBRIDGE_MCP_CALC_INDEXES` | Calc indexes | Calculate financial indexes for symbols. Pass symbols, and optionally indexes (e.g. ["PeTtmRatio","PbRatio","LastDone","TurnoverRate"]). When indexes is omitted or empty, defaults to ["LastDone","ChangeValue","ChangeRate","Volume","PeTtmRatio","PbRatio","DividendRatioTtm","TurnoverRate","TotalMarketValue"]. Returns per-symbol index values. |
| `LONGBRIDGE_MCP_CANCEL_ORDER` | Cancel order | Cancel an open order by order_id. Returns plain text "order cancelled" on success; errors if the order is already filled or cancelled. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="" after the user has explicitly confirmed that exact order. The code is derived from the order itself, so it applies only to that exact order. Never quote it back on your own initiative, and never in the same turn the user first asks. The dry run also echoes the order being targeted so the user can verify it is the right one. |
| `LONGBRIDGE_MCP_CANDLESTICKS` | Candlesticks | Get candlestick data (OHLCV). Only symbol is required; period defaults to day, count to 100 (max 1000), forward_adjust to false, trade_sessions to all. period: 1m/5m/15m/30m/60m/day/week/month/year. trade_sessions: intraday/all. If the account's entitlement caps out below the requested count, this returns as many candles as allowed instead of erroring — check the returned array length against count if an exact number matters. |
| `LONGBRIDGE_MCP_CAPITAL_DISTRIBUTION` | Capital distribution | Get capital distribution for a symbol. data_available is false for symbols with no capital-flow data (e.g. indices) — the other fields are still present but meaningless zeros in that case. |
| `LONGBRIDGE_MCP_CAPITAL_FLOW` | Capital flow | Get capital inflow/outflow time series. Returns items[]{timestamp, inflow, outflow, net_flow} for the symbol (same-day data). |
| `LONGBRIDGE_MCP_CASH_FLOW` | Cash flow | Get cash flow records (deposits, withdrawals, dividends). Returns items[]{transaction_type, amount, currency, balance, created_at, remark}. start_at/end_at in RFC3339. |
| `LONGBRIDGE_MCP_COMPANY` | Company | Get company overview. US accounts querying a .US symbol get a differently-shaped response not matching output_schema (intro, market_cap, top_rank_tags, sharelist, detail_url); other combinations match output_schema. |
| `LONGBRIDGE_MCP_CONSENSUS` | Consensus | Get financial consensus estimates for upcoming periods. US accounts querying a .US symbol get a differently-shaped response not matching output_schema (ai_summary plus a details[] list per period); other combinations match output_schema. |
| `LONGBRIDGE_MCP_CONSTITUENT` | Constituent | Get the constituents of an index or the asset allocation of an ETF. For an index (e.g. HSI.HK, .DJI.US) returns constituents[]{symbol, name, last_done, change_rate, market_cap, weight}. For an ETF (e.g. QQQ.US, 2800.HK) returns the asset allocation as info[] grouped by asset_type: 1=Holdings (top constituents with code, symbol, holding_detail), 2=Regional (country/region breakdown), 3=AssetClass (stock/bond/cash etc.), 4=Industry (sector breakdown). Each group has report_date and lists[]{name, position_ratio, name_locales}; Holdings groups additionally include code, symbol and holding_detail{industry_name, index_name, holding_type_name}. |
| `LONGBRIDGE_MCP_CORP_ACTION` | Corp action | Get corporate actions (splits, buybacks, name changes). |
| `LONGBRIDGE_MCP_CREATE_WATCHLIST_GROUP` | Create watchlist group | Create a new watchlist group. Optionally pass securities (e.g. ["AAPL.US", "700.HK"]) to pre-populate. |
| `LONGBRIDGE_MCP_DCA_CHECK` | Dca check | Check whether given symbols support DCA recurring investment. |
| `LONGBRIDGE_MCP_DCA_CREATE` | Dca create | Create a DCA recurring investment plan. frequency: Daily/Weekly/Monthly. day_of_week (Weekly): Mon/Tue/Wed/Thu/Fri. day_of_month (Monthly): 1-28. |
| `LONGBRIDGE_MCP_DCA_HISTORY` | Dca history | Get execution history records for a DCA plan by plan_id. |
| `LONGBRIDGE_MCP_DCA_LIST` | Dca list | List DCA recurring investment plans. Filter by status (Active/Suspended/Finished) or symbol. |
| `LONGBRIDGE_MCP_DCA_PAUSE` | Dca pause | Pause (suspend) a DCA plan by plan_id. The plan stops executing until resumed. Returns upstream API response. Use dca_resume to restart. |
| `LONGBRIDGE_MCP_DCA_RESUME` | Dca resume | Resume a suspended DCA plan by plan_id. Resumes automated execution on the configured schedule. Returns upstream API response. |
| `LONGBRIDGE_MCP_DCA_STATS` | Dca stats | Get DCA investment statistics. |
| `LONGBRIDGE_MCP_DCA_STOP` | Dca stop | Permanently stop a DCA plan by plan_id. This cannot be undone. To temporarily pause, use dca_pause instead. Returns upstream API response. |
| `LONGBRIDGE_MCP_DCA_UPDATE` | Dca update | Update an existing DCA plan by plan_id. Can change amount, frequency (Daily/Weekly/Monthly), day_of_week (Mon-Fri), or day_of_month (1-28). Returns updated plan. |
| `LONGBRIDGE_MCP_DELETE_WATCHLIST_GROUP` | Delete watchlist group | Delete a watchlist group by id (numeric). Set purge=true to also remove its securities from all other groups. |
| `LONGBRIDGE_MCP_DEPOSITS` | Deposits | List deposit history for the current account. Returns items[]{id, amount, currency, status, created_at, updated_at}. states: comma-separated (Pending/Finished/Failed). currencies: comma-separated codes. |
| `LONGBRIDGE_MCP_DEPTH` | Depth | Get order book depth for a symbol. Up to 10 price levels. |
| `LONGBRIDGE_MCP_DIVIDEND` | Dividend | Get dividend history for the symbol. US accounts querying a .US symbol get a differently-shaped response not matching output_schema (dividend_yield_ttm etc. are percent values, e.g. 0.34 means 0.34%); other combinations match output_schema. |
| `LONGBRIDGE_MCP_DIVIDEND_DETAIL` | Dividend detail | Get detailed dividend distribution scheme. |
| `LONGBRIDGE_MCP_ESTIMATE_MAX_PURCHASE_QUANTITY` | Estimate max purchase quantity | Estimate maximum buy/sell quantity for a symbol. Only symbol is required; side (case-insensitive Buy/Sell) defaults to Buy, order_type (case-insensitive) defaults to LO, and price is optional. |
| `LONGBRIDGE_MCP_EXCHANGE_RATE` | Exchange rate | Get exchange rates for all supported currencies. Returns list[]{from_currency, to_currency, rate, timestamp} covering USD, HKD, CNY, SGD and others. |
| `LONGBRIDGE_MCP_EXECUTIVE` | Executive | Get company executive and board member information. |
| `LONGBRIDGE_MCP_FILINGS` | Filings | Get regulatory filings (8-K, 10-Q, 10-K, etc.). Returns items[]{id, title, type, language, filing_date, url} for the symbol. |
| `LONGBRIDGE_MCP_FINANCE_CALENDAR` | Finance calendar | Finance calendar by category: report (earnings) / dividend / split / ipo / macrodata (CPI, NFP, rates) / closed (holidays). start and end (YYYY-MM-DD) are optional, default today plus 7 days; keep ranges under 2 weeks or results truncate. |
| `LONGBRIDGE_MCP_FINANCIAL_REPORT` | Financial report | Get financial reports (income statement, balance sheet, cash flow). kind: IS/BS/CF/ALL. report_type: af (annual), saf (semi-annual), q1/q2/q3, qf (quarterly full). |
| `LONGBRIDGE_MCP_FINANCIAL_REPORT_LATEST` | Financial report latest | Get the latest financial report summary for a security. |
| `LONGBRIDGE_MCP_FINANCIAL_REPORT_SNAPSHOT` | Financial report snapshot | Get financial report snapshot: report_desc (text summary), fo_revenue/fo_ebit/fo_eps (actual vs forecast with yoy/cmp), fr_* financial ratios (ROE, margins, assets, cash flow). report: qf/saf/af. |
| `LONGBRIDGE_MCP_FINANCIAL_STATEMENT` | Financial statement | Get financial statements (income statement, balance sheet, or cash flow) for a security. kind: IS/BS/CF/ALL. report: af (annual, default), saf (semi-annual), qf (quarterly full), q1/q2/q3. |
| `LONGBRIDGE_MCP_FORECAST_EPS` | Forecast eps | Get EPS forecast and analyst estimate history. |
| `LONGBRIDGE_MCP_FUND_HOLDER` | Fund holder | Get funds and ETFs that hold a given symbol. |
| `LONGBRIDGE_MCP_FUND_POSITIONS` | Fund positions | Get current fund positions. |
| `LONGBRIDGE_MCP_GRID_CANCEL` | Grid cancel | Cancel (terminate) a grid order by order_id. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative. |
| `LONGBRIDGE_MCP_GRID_DETAIL` | Grid detail | Full detail for one grid order: rule parameters, status, embedded child orders (grid_sub_orders) and lifecycle history (grid_order_history). Supports history_id cursor + limit paging. |
| `LONGBRIDGE_MCP_GRID_LIST` | Grid list | List grid trading orders. Filter by symbol or comma-joined status (e.g. "Performing,Suspended"); supports page/limit and sort_by/sort_order. |
| `LONGBRIDGE_MCP_GRID_LIST_BY_IDS` | Grid list by ids | Fetch specific grid orders by their IDs. |
| `LONGBRIDGE_MCP_GRID_QUESTIONNAIRE` | Grid questionnaire | Record the one-time grid strategy risk-disclosure consent required before submitting grid orders. Takes no parameters. |
| `LONGBRIDGE_MCP_GRID_REPLACE` | Grid replace | Replace an existing grid order's rule by order_id. Accepts the same grid rule fields as grid_submit. Overwrites the order's entire rule. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative. The dry run echoes the rule that would replace the current one. |
| `LONGBRIDGE_MCP_GRID_RESTART` | Grid restart | Restart (resume) a suspended grid order by order_id. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative. A restarted grid resumes placing orders on its own. |
| `LONGBRIDGE_MCP_GRID_SUBMIT` | Grid submit | Submit a grid trading order. DRY RUN unless execute is the confirmation_code from its own dry run: call once without execute, show the preview, then re-call quoting the code only after the user confirms. |
| `LONGBRIDGE_MCP_GRID_SUSPEND` | Grid suspend | Suspend (pause) a running grid order by order_id. Resume with grid_restart. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative. |
| `LONGBRIDGE_MCP_GRID_SYMBOL_INFO` | Grid symbol info | Pre-trade grid setup info for a security (takes a symbol, not an order_id): security name, last price, board lot sizes (buy/sell), price-step (bid_size) table, and channel/authorization info (strategy grant flag, RTH support, supported s... |
| `LONGBRIDGE_MCP_GRID_TRIGGER_HISTORY` | Grid trigger history | Trigger history for one grid order: each triggered child order with price, quantity, executed price/qty, and trigger time. Supports page/limit. |
| `LONGBRIDGE_MCP_HISTORY_CANDLESTICKS_BY_DATE` | History candlesticks by date | Get historical candlestick data by date range. Only symbol is required; period defaults to day (1m/5m/15m/30m/60m/day/week/month/year), forward_adjust to false, trade_sessions to all. |
| `LONGBRIDGE_MCP_HISTORY_CANDLESTICKS_BY_OFFSET` | History candlesticks by offset | Get historical candlestick data by offset from a reference time. Only symbol is required; period defaults to day (1m/5m/15m/30m/60m/day/week/month/year), count to 100, forward_adjust/forward to false, trade_sessions to all. If the account's entitlement caps out below the requested count, this returns as many candles as allowed instead of erroring — check the returned array length against count if an exact number matters. |
| `LONGBRIDGE_MCP_HISTORY_EXECUTIONS` | History executions | Get historical trade executions between dates. Returns executions[]{order_id, symbol, side, quantity, price, trade_done_at}. start_at/end_at in RFC3339. |
| `LONGBRIDGE_MCP_HISTORY_MARKET_TEMPERATURE` | History market temperature | Get historical market temperature time series. |
| `LONGBRIDGE_MCP_HISTORY_ORDERS` | History orders | Get historical orders between dates (excludes today). Returns orders[]{order_id, symbol, side, status, quantity, price, submitted_at}. start_at/end_at in RFC3339. US accounts only: us_page, us_limit paginate via a separate US order endpoint (default page size 20 — pass us_page to see more than the first page). |
| `LONGBRIDGE_MCP_INDUSTRY_PEERS` | Industry peers | Hierarchical sub-sector tree for an industry group. Accepts BK counter_id from industry_rank (e.g. BK/US/IN00258). Each node shows stock count, daily change, and YTD change. |
| `LONGBRIDGE_MCP_INDUSTRY_RANK` | Industry rank | Industry ranking list by market (US/HK/CN/SG) and indicator (0=领涨/1=今日走势/2=人气/3=市值/4=营收/5=营收增长率/6=净利润/7=净利润增长率). sort_type: 0=单级 1=多层. Returns items[]{counter_id(BK/US/IN00258), name, chg, lists[]}. Pass counter_id directly to industry_peers. |
| `LONGBRIDGE_MCP_INDUSTRY_VALUATION` | Industry valuation | Get industry valuation comparison for peers. |
| `LONGBRIDGE_MCP_INDUSTRY_VALUATION_DIST` | Industry valuation dist | Get industry PE/PB/PS valuation distribution. |
| `LONGBRIDGE_MCP_INSTITUTIONAL_VIEWS` | Institutional views | Get monthly institutional rating distribution timeline. |
| `LONGBRIDGE_MCP_INSTITUTION_RATING` | Institution rating | Get institution rating summary. |
| `LONGBRIDGE_MCP_INSTITUTION_RATING_DETAIL` | Institution rating detail | Get detailed historical institution ratings and target price history. |
| `LONGBRIDGE_MCP_INSTITUTION_RATING_HISTORY` | Institution rating history | Get institution rating history. |
| `LONGBRIDGE_MCP_INSTITUTION_RATING_INDUSTRY_RANK` | Institution rating industry rank | Get peers ranked by institution analyst ratings in the same industry. Paginated. |
| `LONGBRIDGE_MCP_INTRADAY` | Intraday | Get intraday minute-by-minute price/volume data. trade_sessions: "intraday" (default, regular hours) or "all" (include pre-market and post-market) |
| `LONGBRIDGE_MCP_INVEST_RELATION` | Invest relation | Get investor relations events and announcements. |
| `LONGBRIDGE_MCP_IPO_CALENDAR` | Ipo calendar | Show the IPO calendar. |
| `LONGBRIDGE_MCP_IPO_DETAIL` | Ipo detail | Show IPO detail for a symbol. |
| `LONGBRIDGE_MCP_IPO_LISTED` | Ipo listed | List recently listed IPO stocks (HK+US). |
| `LONGBRIDGE_MCP_IPO_ORDER_DETAIL` | Ipo order detail | Show detailed information for a specific IPO order by order_id. |
| `LONGBRIDGE_MCP_IPO_ORDERS` | Ipo orders | List IPO orders (active+history). Filter by symbol, market, or status. |
| `LONGBRIDGE_MCP_IPO_PROFIT_LOSS` | Ipo profit loss | Show IPO profit/loss summary and per-stock breakdown. period: all/ytd/1y/3y. |
| `LONGBRIDGE_MCP_IPO_SUBSCRIPTIONS` | Ipo subscriptions | List IPO stocks in subscription/pre-filing stage (HK+US). |
| `LONGBRIDGE_MCP_MACRODATA` | Macrodata | Get historical observations for one macro-economic indicator. Use indicator_code from macrodata_indicators; start_date/end_date accept YYYY-MM-DD. Supports offset/limit pagination. |
| `LONGBRIDGE_MCP_MACRODATA_INDICATORS` | Macrodata indicators | List macro-economic indicators. Filter by keyword and country (US/CN/HK/EU/JP/SG). Use the returned indicator_code with macrodata. Supports offset/limit pagination. |
| `LONGBRIDGE_MCP_MARGIN_RATIO` | Margin ratio | Get margin ratio for a symbol. |
| `LONGBRIDGE_MCP_MARKET_STATUS` | Market status | Get current market trading status for all markets. |
| `LONGBRIDGE_MCP_MARKET_TEMPERATURE` | Market temperature | Get current market sentiment temperature. market: HK/US/CN/SG. |
| `LONGBRIDGE_MCP_NEWS` | News | Get latest news articles for a symbol. Returns items[]{id, title, source, publish_time, summary, url, related_symbols[]}. |
| `LONGBRIDGE_MCP_NEWS_DETAIL` | News detail | Get one news article's full detail by id (from news/news_search). |
| `LONGBRIDGE_MCP_NEWS_SEARCH` | News search | Search news articles by keyword. Returns news_list[]{id, title, description, source_name, publish_at (RFC3339), score}. Paginate with score+publish_at_timestamp+id cursors. |
| `LONGBRIDGE_MCP_NOW` | Now | Get current UTC time as an RFC3339 string (e.g. "2025-01-15T08:30:00Z"). Use to determine current date/time before making date-based queries. |
| `LONGBRIDGE_MCP_OPERATING` | Operating | Get company operating metrics (HK stocks only). |
| `LONGBRIDGE_MCP_OPTION_CHAIN_EXPIRY_DATE_LIST` | Option chain expiry date list | Get option chain expiry dates for a symbol (e.g. AAPL.US). Returns expiry_dates[] as "yyyy-mm-dd" strings. Use with option_chain_info_by_date to get strikes and Greeks. |
| `LONGBRIDGE_MCP_OPTION_CHAIN_INFO_BY_DATE` | Option chain info by date | Get option chain for an expiry date. Returns strikePrices[]{strike_price, call{symbol, last_done, iv, delta, gamma}, put{symbol, last_done, iv, delta, gamma}}. |
| `LONGBRIDGE_MCP_OPTION_QUOTE` | Option quote | Get option quotes (max 500 symbols). Symbols must be option contract symbols (e.g. "AAPL230317P160000.US"), NOT plain stock symbols — obtain valid ones from option_chain_info_by_date's call.symbol/put.symbol fields. Returns last_done, prev_close, open, high, low, volume, turnover, implied_volatility, delta, gamma, theta, vega, rho, open_interest per symbol. |
| `LONGBRIDGE_MCP_OPTION_VOLUME` | Option volume | Get real-time option call/put volume stats for a US stock. Returns {call_volume, put_volume, put_call_ratio, call_oi, put_oi} and top active contracts. |
| `LONGBRIDGE_MCP_OPTION_VOLUME_DAILY` | Option volume daily | Get daily historical option stats for a US stock. Returns items[]{date, call_volume, put_volume, put_call_vol_ratio, call_oi, put_oi, put_call_oi_ratio}. |
| `LONGBRIDGE_MCP_ORDER_DETAIL` | Order detail | Get detailed information about a specific order. |
| `LONGBRIDGE_MCP_PARTICIPANTS` | Participants | Get HK market participant broker information. Returns participants[]{broker_ids[], name_en, name_cn, name_hk}. Use broker_ids to interpret broker queue data. |
| `LONGBRIDGE_MCP_PROFIT_ANALYSIS` | Profit analysis | Get portfolio profit and loss analysis summary. start/end: optional date range in yyyy-mm-dd format. Both must be provided together — passing only one returns empty results. |
| `LONGBRIDGE_MCP_PROFIT_ANALYSIS_DETAIL` | Profit analysis detail | Get detailed profit and loss analysis for a specific symbol. start/end: optional date range in yyyy-mm-dd format. Both must be provided together — passing only one returns empty results. |
| `LONGBRIDGE_MCP_QUANT_RUN` | Quant run | Run a quant indicator script against historical K-line data on the server. Executes the script server-side and returns the computed indicator/plot values as JSON. Periods: 1m, 5m, 15m, 30m, 1h, day, week, month, year (default: day). The optional input parameter accepts a JSON array matching the order of input.*() calls in the script, e.g. "[14,2.0]". |
| `LONGBRIDGE_MCP_QUOTE` | Quote | Get latest price quotes. Returns per symbol: last_done, prev_close, open, high, low, volume, turnover, change_rate, change_value, trade_status, timestamp. |
| `LONGBRIDGE_MCP_RANK_CATEGORIES` | Rank categories | Get rank tab category configurations for the popularity leaderboard. Pass a second_tags key (e.g. `hot_all-us`) to rank_list. |
| `LONGBRIDGE_MCP_RANK_LIST` | Rank list | Get ranked stock list by leaderboard tab key. key: from rank_categories second_tags[].key (e.g. "hot_all-us", "hot_up-hk", "trade_heat-us"). market: inferred from key suffix (-us/-hk) or pass explicitly. size: results (default 20). |
| `LONGBRIDGE_MCP_REPLACE_ORDER` | Replace order | Modify an open order's quantity, price, trigger_price, or trailing params. Returns "order replaced" on success. Only open/pending orders can be modified. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="" after the user has explicitly confirmed that exact order. The code is derived from the order itself, so it applies only to that exact order. Never quote it back on your own initiative, and never in the same turn the user first asks. The dry run echoes the current order alongside the requested change. |
| `LONGBRIDGE_MCP_SCREENER_INDICATORS` | Screener indicators | Get all available screener indicator keys with units and default value ranges. Technical indicators include a tech_values field showing available options (e.g. macd_day: {category:[goldenfork,deadcross], period:[day,week]}). |
| `LONGBRIDGE_MCP_SCREENER_RECOMMEND_STRATEGIES` | Screener recommend strategies | List platform-preset screener strategies. market: US\|HK\|CN\|SG (default: US). Pass id to screener_search strategy_id to run, or screener_strategy to inspect filter conditions. |
| `LONGBRIDGE_MCP_SCREENER_SEARCH` | Screener search | Screen stocks. market: US\|HK\|CN\|SG (Mode B required; Mode A uses strategy's market). Mode A: strategy_id from screener_recommend_strategies — auto-runs saved strategy. |
| `LONGBRIDGE_MCP_SCREENER_STRATEGY` | Screener strategy | Inspect a screener strategy's filter conditions before running it. Use screener_search strategy_id to execute the strategy. |
| `LONGBRIDGE_MCP_SCREENER_USER_STRATEGIES` | Screener user strategies | List the current user's saved screener strategies. market: US\|HK\|CN\|SG (default: US). Pass id to screener_search strategy_id to run, or screener_strategy to inspect conditions. |
| `LONGBRIDGE_MCP_SECURITY_FACTS` | Security facts | List a security's fact (catalyst) events — anomaly detections, factor readings, data sources and natural-language summaries — filtered by time range and count. Facts are what strategies react to: a signal names its trigger in key_fact_id. |
| `LONGBRIDGE_MCP_SECURITY_LIST` | Security list | Get security list for a market. Supports market: US, HK, CN, SG. category: "Overnight" (default). page: 1-based page number (default 1). count: records per page (default 50). |
| `LONGBRIDGE_MCP_SHAREHOLDER` | Shareholder | Get institutional shareholders for a symbol. |
| `LONGBRIDGE_MCP_SHAREHOLDER_DETAIL` | Shareholder detail | Get a single shareholder's holding and trade history. Requires object_id from shareholder_top. Note: trading_details[] is empty for institutional (13F) holders — it is only populated for insider/individual filers (Form 4). |
| `LONGBRIDGE_MCP_SHAREHOLDER_TOP` | Shareholder top | Get Top 20 major shareholders (institutions, individuals, insiders) across reporting periods. Use object_id with shareholder_detail to drill into a holder's full trade history. |
| `LONGBRIDGE_MCP_SHARELIST_ADD` | Sharelist add | Add securities to a community sharelist by id. Provide symbols (e.g. ["AAPL.US", "700.HK"]) to add. Returns upstream API response. |
| `LONGBRIDGE_MCP_SHARELIST_CREATE` | Sharelist create | Create a new community sharelist with a name and optional description. |
| `LONGBRIDGE_MCP_SHARELIST_DELETE` | Sharelist delete | Delete a community sharelist by id (own lists only; subscribed lists cannot be deleted). Returns upstream API response on success. |
| `LONGBRIDGE_MCP_SHARELIST_DETAIL` | Sharelist detail | Get community sharelist detail by id. |
| `LONGBRIDGE_MCP_SHARELIST_LIST` | Sharelist list | List user's own and subscribed community sharelists. |
| `LONGBRIDGE_MCP_SHARELIST_POPULAR` | Sharelist popular | Get popular/trending community sharelists. |
| `LONGBRIDGE_MCP_SHARELIST_REMOVE` | Sharelist remove | Remove securities from a community sharelist by id. Provide symbols to remove. Returns upstream API response on success. |
| `LONGBRIDGE_MCP_SHARELIST_SORT` | Sharelist sort | Reorder securities in a community sharelist by id. Provide symbols in the desired new order. Returns upstream API response on success. |
| `LONGBRIDGE_MCP_SHORT_MARGIN` | Short margin | Get short margin deposit details for the current account. Returns short positions with margin_amount, margin_rate, interest_rate, symbol, quantity per position. |
| `LONGBRIDGE_MCP_SHORT_POSITIONS` | Short positions | Get short interest history (open short positions) for HK or US stocks. Market inferred from symbol suffix. count: 1–100 (default 20). Unified data[]{timestamp(RFC3339), short_shares(open short position in shares), rate(decimal ratio e.g. 0.009=0.9%), close}. US-only: avg_daily_vol, days_to_cover. HK-only: balance(outstanding short position in HKD). US source: FINRA bi-weekly. HK source: HKEX daily. |
| `LONGBRIDGE_MCP_SHORT_TRADES` | Short trades | Get daily short-sale volume history for HK or US stocks. Market inferred from symbol suffix. last_timestamp: unix seconds (omit for latest). page_size: 1–100 (default 20). US source: FINRA/NASDAQ daily. HK source: HKEX daily. |
| `LONGBRIDGE_MCP_SIGNAL_DETAIL` | Signal detail | Get one signal by ID (from `signals`). Same fields as the list, plus `analysis` — the full strategy analysis: fit scores, valuation scenarios, evidence sources and related fact IDs. |
| `LONGBRIDGE_MCP_SIGNALS` | Signals | Query strategy signals — a strategy's take on a security, triggered by a catalyst. Filter by symbol, strategy, catalyst and time range; page with limit/offset. The full strategy analysis is omitted here — fetch it with signal_detail. |
| `LONGBRIDGE_MCP_STATEMENT_EXPORT` | Statement export | Get a pre-signed download URL for a statement data file (obtained from statement_list). |
| `LONGBRIDGE_MCP_STATEMENT_LIST` | Statement list | List available account statements (daily/monthly). Use the id with statement_export to download. |
| `LONGBRIDGE_MCP_STATIC_INFO` | Static info | Get static info for securities. Returns per symbol: symbol, name_cn, name_en, exchange (e.g. NASDAQ), type (e.g. US_Stock), lot_size, listed_date, delisted (bool). US accounts only: .BKKT crypto symbols (e.g. BTCUSD.BKKT) are routed to a separate US crypto overview endpoint; .HAS/.OSL crypto symbols are unaffected. |
| `LONGBRIDGE_MCP_STOCK_POSITIONS` | Stock positions | Get current stock positions across all channels. US accounts only: an additional us_asset_overview field {cash_list, stock_list, option_list, crypto_list, cash_buy_power, overnight_buy_power} is included alongside the existing data. |
| `LONGBRIDGE_MCP_SUBMIT_ORDER` | Submit order | Submit a buy/sell order. DRY RUN unless execute is the confirmation_code from its own dry run: call once without execute, show the preview to the user, then re-call quoting the code only after they explicitly confirm. |
| `LONGBRIDGE_MCP_TODAY_EXECUTIONS` | Today executions | Get today's trade executions (fills). Returns executions[]{order_id, symbol, side, quantity, price, trade_done_at}. Pass symbol or order_id to filter. |
| `LONGBRIDGE_MCP_TODAY_ORDERS` | Today orders | Get orders placed today. Returns orders[]{order_id, symbol, side, order_type, status, quantity, price, submitted_at, executed_quantity, executed_price}. Pass symbol to filter. US accounts only: us_action (Buy/Sell), us_page, us_limit filter/paginate via a separate US order endpoint. |
| `LONGBRIDGE_MCP_TOPIC` | Topic | Get discussion topics for a symbol. Returns items[]{id, title, author, created_at, like_count, comment_count, content_summary}. |
| `LONGBRIDGE_MCP_TOPIC_CREATE` | Topic create | Create a new discussion topic. topic_type="post" (default) is plain text; "article" requires a non-empty title and accepts Markdown body. |
| `LONGBRIDGE_MCP_TOPIC_CREATE_REPLY` | Topic create reply | Create a reply to a discussion topic. Pass reply_to_id to nest under another reply; omit for a top-level reply. |
| `LONGBRIDGE_MCP_TOPIC_DETAIL` | Topic detail | Get discussion topic detail by topic_id. |
| `LONGBRIDGE_MCP_TOPIC_REPLIES` | Topic replies | Get replies to a discussion topic, paginated (page default 1, size default 20, range 1-50) |
| `LONGBRIDGE_MCP_TOPIC_SEARCH` | Topic search | Search community topics/posts by keyword. Returns id, author, time, and excerpt. |
| `LONGBRIDGE_MCP_TOP_MOVERS` | Top movers | Get stocks whose price fluctuation exceeds the 20-trading-day standard deviation, with correlated news reasons. markets: comma-separated HK/US/CN/SG (omit=all). sort: 0=time 1=change-magnitude 2=popularity/heat (default). |
| `LONGBRIDGE_MCP_TRADES` | Trades | Get recent trades (max 1000). Returns trades[]{price, volume, timestamp, trade_type, direction} for the symbol. |
| `LONGBRIDGE_MCP_TRADE_STATS` | Trade stats | Get trade statistics (buy/sell/neutral volume distribution). Returns items[]{price_range, buy_volume, sell_volume, neutral_volume} for price-volume profile. |
| `LONGBRIDGE_MCP_TRADING_DAYS` | Trading days | Get trading days for a market between dates. market: HK/US/CN/SG. |
| `LONGBRIDGE_MCP_TRADING_SESSION` | Trading session | Get trading session schedule for all markets. Returns market_sessions[]{market, trade_sessions[]{beg_time, end_time, trade_session_type}}. |
| `LONGBRIDGE_MCP_UPDATE_WATCHLIST_GROUP` | Update watchlist group | Update a watchlist group by id. Can rename (name param) or modify securities (securities + mode: add/remove/replace). |
| `LONGBRIDGE_MCP_VALUATION` | Valuation | Get valuation overview with peer comparison. US accounts querying a .US symbol get a differently-shaped response not matching output_schema (ai_summary plus a metrics.pe object with different sub-fields); other combos match output_schema. |
| `LONGBRIDGE_MCP_VALUATION_COMPARISON` | Valuation comparison | Stock valuation comparison. Mode A (single): pass only symbol — server returns stock + auto-selected industry peers. |
| `LONGBRIDGE_MCP_VALUATION_HISTORY` | Valuation history | Get detailed valuation history time series. |
| `LONGBRIDGE_MCP_VALUATION_RANK` | Valuation rank | Get daily valuation rank (PE/PB/PS/dividend yield industry percentile) for a security over a date range. start/end in yyyymmdd format. |
| `LONGBRIDGE_MCP_WARRANT_ISSUERS` | Warrant issuers | Get HK warrant issuer information. Returns issuers[]{id, name_en, name_cn}. Use id in warrant_list issuer filter. |
| `LONGBRIDGE_MCP_WARRANT_LIST` | Warrant list | Get filtered warrant list for an underlying symbol. Returns warrants[]{symbol, name, last_done, change_rate, implied_volatility, expiry_date, strike_price, leverage_ratio, outstanding_ratio}. |
| `LONGBRIDGE_MCP_WARRANT_QUOTE` | Warrant quote | Get warrant quotes. Returns last_done, prev_close, open, high, low, volume, turnover, implied_volatility, delta, leverage_ratio, effective_leverage per symbol. |
| `LONGBRIDGE_MCP_WATCHLIST` | Watchlist | Get all watchlist groups and their securities. Returns groups[]{id, name, securities[]{symbol, market, name, watched_price, watched_at}}. |
| `LONGBRIDGE_MCP_WITHDRAWALS` | Withdrawals | List withdrawal history for the current account. Returns items[]{id, amount, currency, status, created_at, bank_name, account_number (masked)}. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, ChatGPT Work can access the Longbridge MCP server via Composio to run actions that you authorize, directly in your workspace.

## Complete Code

None listed.

## How to build Longbridge MCP Agent with another framework

- [Claude Cowork](https://composio.dev/toolkits/longbridge_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/longbridge_mcp/framework/hermes-agent)

## Related Toolkits

- [Stripe](https://composio.dev/toolkits/stripe) - Stripe is a global online payments platform offering APIs for managing payments, customers, and subscriptions. Trusted by businesses for secure, efficient, and scalable payment processing worldwide.
- [44API](https://composio.dev/toolkits/44api) - 44API is an API service for validating VAT and tax identifiers and returning company details. Use it to verify business tax data and manage account IP whitelists quickly.
- [Airwallex](https://composio.dev/toolkits/airwallex) - Airwallex is a global financial platform providing business accounts, payments, payouts, FX, and cards. Built to simplify cross-border payments and streamline financial operations for businesses.
- [Aiwyn Tax MCP](https://composio.dev/toolkits/aiwyn_tax_mcp) - Aiwyn Tax MCP is a tax estimation service powered by Aiwyn's federal and state tax engine. It helps teams estimate tax outcomes without building tax calculation logic from scratch.
- [Alpaca](https://composio.dev/toolkits/alpaca) - Alpaca is a stock and crypto trading platform for commission-free trading, real-time market data, and algorithmic strategies. Use it to build brokerage apps, trading bots, and portfolio workflows with market connectivity.
- [Alpha vantage](https://composio.dev/toolkits/alpha_vantage) - Alpha Vantage is a financial data platform offering real-time and historical stock market APIs. Get instant, reliable access to equities, forex, and technical analysis data for smarter trading decisions.
- [Altoviz](https://composio.dev/toolkits/altoviz) - Altoviz is a cloud-based billing and invoicing platform for businesses. It streamlines online payments, expense tracking, and customizable invoice management.
- [Benzinga](https://composio.dev/toolkits/benzinga) - Benzinga provides real-time financial news and data APIs for market coverage. It helps you track breaking news and actionable market insights instantly.
- [Bigdata.com MCP](https://composio.dev/toolkits/bigdata_com_mcp) - Bigdata.com MCP provides grounded access to financial news, transcripts, filings, and entity intelligence. Ideal for building research workflows and generating timely market insights.
- [Billsby](https://composio.dev/toolkits/billsby) - Billsby is a subscription billing platform for managing customers, subscriptions, invoices, products, plans, usage counters, add-ons, and allowances. It helps SaaS and subscription teams automate billing operations without building complex billing logic from scratch.
- [Brex](https://composio.dev/toolkits/brex) - Brex provides corporate credit cards and spend management tailored for startups and tech businesses. It helps optimize company cash flow, streamline accounting, and accelerate business growth.
- [Cashfree Payments MCP](https://composio.dev/toolkits/cashfree_payments_mcp) - Cashfree Payments MCP is a merchant payments platform that handles collection, payouts, subscriptions, settlements, refunds, and identity verification. Simplifies merchant money lifecycle management with unified, API-driven workflows.
- [Chaser](https://composio.dev/toolkits/chaser) - Chaser is accounts receivable automation software that sends invoice reminders and helps businesses get paid faster. It streamlines the collections process to save time and improve cash flow.
- [Clarity AI MCP](https://composio.dev/toolkits/clarity_ai_mcp) - Clarity AI MCP is an MCP toolkit for simulating SFDR 2.0 fund classifications from a fund name, ISIN, or CUSIP. Use it to tap Clarity AI disclosure data and modeling without building custom sustainability-data workflows.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Coinbase](https://composio.dev/toolkits/coinbase) - Coinbase is a platform for buying, selling, and storing cryptocurrency. It makes exchanging and managing crypto simple and secure for everyone.
- [Coinranking](https://composio.dev/toolkits/coinranking) - Coinranking is a comprehensive cryptocurrency market data platform offering access to real-time coin prices, market caps, and historical data. Get accurate, up-to-date stats for thousands of digital assets in one place.
- [Coupa](https://composio.dev/toolkits/coupa) - Coupa is a business spend management platform for procurement, invoicing, and expenses. It helps organizations streamline purchasing, control costs, and gain complete visibility over financial operations.
- [CurrencyScoop](https://composio.dev/toolkits/currencyscoop) - CurrencyScoop is a developer-friendly API for real-time and historical currency exchange rates. Easily access fiat and crypto data for smart, up-to-date financial applications.
- [Daffy](https://composio.dev/toolkits/daffy) - Daffy is a modern charitable giving platform with a donor-advised fund. Easily set aside funds, grow them tax-free, and donate to over 1.7 million U.S. charities.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Longbridge MCP?

With a standalone Longbridge MCP server, the agents and LLMs can only access a fixed set of Longbridge tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Longbridge and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with ChatGPT Work?

Yes, you can. ChatGPT Work fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Longbridge tools.

### Can I manage the permissions and scopes for Longbridge while using Tool Router?

Yes, absolutely. You can configure which Longbridge scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Longbridge data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
