# Longbridge MCP  MCP Server

> **Longbridge MCP  MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Longbridge MCP .
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/longbridge-mcp
> MewCP docs:   https://docs.mewcp.com
> Full catalog: https://mewcp.com/llms.txt

---

## About

Access real-time market data, financial research, portfolio information, derivatives, trading, price alerts, and investment automation through Longbridge.

---

## Details

- Server ID: `longbridge-mcp`
- Version: 1.0.0
- Tools: 162
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Longbridge MCP  has to be in the toolset
first. In order:

1. Add Longbridge MCP  to your toolset at https://mewcp.com/mcp/longbridge-mcp
2. Connect your Longbridge MCP  account (OAuth); MewCP stores the credential and attaches it to each call
3. Copy your MewCP API key from the dashboard (Developer)
4. Configure your client with the snippet for it below

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `list_accounts(provider)` — only when one app has several connected accounts
- `call_tool(server_maskedId, tool_name, args)` — execute

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (162)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `account_balance` _(read)_ — Get account cash balance and asset summary. Returns balances[]{currency, total_cash, max_finance_amount, remaining_finance_amount, risk_level, margin_call}.…
- `ah_premium` _(read)_ — Get A/H share premium historical K-line data. Returns items[]{timestamp, open, high, low, close} representing the premium percentage over the given period.
- `ah_premium_intraday` _(read)_ — Get A/H share premium intraday time-share data. Returns items[]{timestamp, premium_rate} showing the intraday A/H premium percentage minute by minute.
- `alert_add` _(write)_ — Add a price alert. condition: price_rise/price_fall (absolute price) or percent_rise/percent_fall (relative %). frequency: once/daily/every. Returns created…
- `alert_delete` _(destructive)_ — Delete a price alert by alert_id (numeric string from alert_list). Returns upstream API response on success; errors if alert_id is invalid.
- `alert_disable` _(write)_ — Disable a price alert by alert_id. Use alert_list to find the numeric alert_id.
- `alert_enable` _(write)_ — Enable a price alert by alert_id. Use alert_list to find the numeric alert_id.
- `alert_list` _(read)_ — Get all configured price alerts.
- `anomaly` _(read)_ — 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…
- `bank_cards` _(read)_ — List linked withdrawal bank cards for the current account. Returns cards[]{id, bank_name, account_number (masked), currency, status}.
- `broker_holding` _(read)_ — Get top broker holding data for a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure).
- `broker_holding_daily` _(read)_ — Get daily holding history for a specific broker (by broker_id) in a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure).
- `broker_holding_detail` _(read)_ — Get full broker holding detail list for a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure).
- `brokers` _(read)_ — Get broker queue (HK stocks only). Map broker IDs to names via participants.
- `business_segments` _(read)_ — Get current-period business segment revenue breakdown for a symbol (name, percent, total, currency)
- `business_segments_history` _(read)_ — Get historical business segment revenue trends (by period and category).
- `calc_indexes` _(read)_ — Calculate financial indexes for symbols. Pass symbols, and optionally indexes (e.g. ["PeTtmRatio","PbRatio","LastDone","TurnoverRate"]). When indexes is…
- `cancel_order` _(destructive)_ — 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…
- `candlesticks` _(read)_ — 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:…
- `capital_distribution` _(read)_ — 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…
- `capital_flow` _(read)_ — Get capital inflow/outflow time series. Returns items[]{timestamp, inflow, outflow, net_flow} for the symbol (same-day data).
- `cash_flow` _(read)_ — Get cash flow records (deposits, withdrawals, dividends). Returns items[]{transaction_type, amount, currency, balance, created_at, remark}. start_at/end_at in…
- `company` _(read)_ — Get company overview. US accounts querying a .US symbol get a US-specific variant (intro, market_cap, top_rank_tags, sharelist, detail_url). The region is…
- `consensus` _(read)_ — Get financial consensus estimates for upcoming periods. US accounts querying a .US symbol get a US-specific variant (ai_summary plus a details[] list per…
- `constituent` _(read)_ — 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,…
- `corp_action` _(read)_ — Get corporate actions (splits, buybacks, name changes).
- `create_watchlist_group` _(write)_ — Create a new watchlist group. Optionally pass securities (e.g. ["AAPL.US", "700.HK"]) to pre-populate.
- `dca_check` _(read)_ — Check whether given symbols support DCA recurring investment.
- `dca_create` _(write)_ — 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.
- `dca_history` _(read)_ — Get execution history records for a DCA plan by plan_id.
- `dca_list` _(read)_ — List DCA recurring investment plans. Filter by status (Active/Suspended/Finished) or symbol.
- `dca_pause` _(write)_ — Pause (suspend) a DCA plan by plan_id. The plan stops executing until resumed. Returns upstream API response. Use dca_resume to restart.
- `dca_resume` _(write)_ — Resume a suspended DCA plan by plan_id. Resumes automated execution on the configured schedule. Returns upstream API response.
- `dca_stats` _(read)_ — Get DCA investment statistics.
- `dca_stop` _(destructive)_ — Permanently stop a DCA plan by plan_id. This cannot be undone. To temporarily pause, use dca_pause instead. Returns upstream API response.
- `dca_update` _(destructive)_ — 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…
- `delete_watchlist_group` _(destructive)_ — Delete a watchlist group by id (numeric). Set purge=true to also remove its securities from all other groups.
- `deposits` _(read)_ — List deposit history for the current account. Returns items[]{id, amount, currency, status, created_at, updated_at}. states: comma-separated…
- `depth` _(read)_ — Get order book depth for a symbol. Up to 10 price levels.
- `dividend` _(read)_ — Get dividend history for the symbol. US accounts querying a .US symbol get a US-specific variant (e.g. dividend_yield_ttm is a percent value: 0.34 means…
- `dividend_detail` _(read)_ — Get detailed dividend distribution scheme.
- `estimate_max_purchase_quantity` _(read)_ — Estimate maximum buy/sell quantity for a symbol. Only symbol is required; side (case-insensitive Buy/Sell) defaults to Buy, order_type (case-insensitive)…
- `exchange_rate` _(read)_ — Get exchange rates for all supported currencies. Returns list[]{from_currency, to_currency, rate, timestamp} covering USD, HKD, CNY, SGD and others.
- `executive` _(read)_ — Get company executive and board member information.
- `filings` _(read)_ — Get regulatory filings (8-K, 10-Q, 10-K, etc.). Returns items[]{id, title, type, language, filing_date, url} for the symbol.
- `finance_calendar` _(read)_ — Finance calendar by category: report (earnings) / dividend / split / ipo / macrodata (CPI, NFP, rates) / closed (holidays). start and end (YYYY-MM-DD) are…
- `financial_report` _(read)_ — 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…
- `financial_report_latest` _(read)_ — Get the latest financial report summary for a security.
- `financial_report_snapshot` _(read)_ — 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,…
- `financial_statement` _(read)_ — 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),…
- `forecast_eps` _(read)_ — Get EPS forecast and analyst estimate history.
- `fund_holder` _(read)_ — Get funds and ETFs that hold a given symbol.
- `fund_positions` _(read)_ — Get current fund positions.
- `grid_cancel` _(destructive)_ — 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…
- `grid_detail` _(read)_ — Full detail for one grid order: rule parameters, status, embedded child orders (grid_sub_orders) and lifecycle history (grid_order_history). Supports…
- `grid_list` _(read)_ — List grid trading orders. Filter by symbol or comma-joined status (e.g. "Performing,Suspended"); supports page/limit and sort_by/sort_order.
- `grid_list_by_ids` _(read)_ — Fetch specific grid orders by their IDs.
- `grid_replace` _(destructive)_ — 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…
- `grid_restart` _(write)_ — 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…
- `grid_submit` _(write)_ — 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…
- `grid_suspend` _(write)_ — 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…
- `grid_symbol_info` _(read)_ — 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,…
- `grid_trigger_history` _(read)_ — Trigger history for one grid order: each triggered child order with price, quantity, executed price/qty, and trigger time. Supports page/limit.
- `history_candlesticks_by_date` _(read)_ — 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…
- `history_candlesticks_by_offset` _(read)_ — 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…
- `history_executions` _(read)_ — Get every trade execution (fill) in a date range, filtered by execution time (trade_done_at) and auto-paginated to return the complete set (never truncated at…
- `history_market_temperature` _(read)_ — Get historical market temperature time series.
- `history_orders` _(read)_ — Get historical orders between dates (excludes today). Returns orders[]{order_id, symbol, side, status, quantity, price, submitted_at}. start_at/end_at in…
- `industry_peers` _(read)_ — Hierarchical sub-sector tree for an industry group. Accepts an industry symbol from industry_rank (e.g. IN00258.US). Each node shows stock count, daily change,…
- `industry_rank` _(read)_ — Industry ranking list by market (US/HK/CN/SG) and indicator (0=领涨/1=今日走势/2=人气/3=市值/4=营收/5=营收增长率/6=净利润/7=净利润增长率). sort_type: 0=单级 1=多层. Returns…
- `industry_valuation` _(read)_ — Get industry valuation comparison for peers.
- `industry_valuation_dist` _(read)_ — Get industry PE/PB/PS valuation distribution.
- `institution_rating` _(read)_ — Get institution rating summary.
- `institution_rating_detail` _(read)_ — Get detailed historical institution ratings and target price history.
- `institution_rating_history` _(read)_ — Get institution rating history.
- `institution_rating_industry_rank` _(read)_ — Get peers ranked by institution analyst ratings in the same industry. Paginated.
- `institutional_views` _(read)_ — Get monthly institutional rating distribution timeline.
- `intraday` _(read)_ — Get intraday minute-by-minute price/volume data. trade_sessions: "intraday" (default, regular hours) or "all" (include pre-market and post-market)
- `invest_relation` _(read)_ — Get investor relations events and announcements.
- `ipo_calendar` _(read)_ — Show the IPO calendar.
- `ipo_detail` _(read)_ — Show IPO detail for a symbol.
- `ipo_listed` _(read)_ — List recently listed IPO stocks (HK+US).
- `ipo_order_detail` _(read)_ — Show detailed information for a specific IPO order by order_id.
- `ipo_orders` _(read)_ — List IPO orders (active+history). Filter by symbol, market, or status.
- `ipo_profit_loss` _(read)_ — Show IPO profit/loss summary and per-stock breakdown. period: all/ytd/1y/3y.
- `ipo_subscriptions` _(read)_ — List IPO stocks in subscription/pre-filing stage (HK+US).
- `macrodata` _(read)_ — Get historical observations for one macro-economic indicator. Use indicator_code from macrodata_indicators; start_date/end_date accept YYYY-MM-DD. Supports…
- `macrodata_indicators` _(read)_ — 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…
- `margin_ratio` _(read)_ — Get margin ratio for a symbol.
- `market_status` _(read)_ — Get current market trading status for all markets.
- `market_temperature` _(read)_ — Get current market sentiment temperature. market: HK/US/CN/SG.
- `news` _(read)_ — Get latest news articles for a symbol. Returns items[]{id, title, source, publish_time, summary, url, related_symbols[]}.
- `news_detail` _(read)_ — Get one news article's full detail by id (from news/news_search).
- `news_search` _(read)_ — Search news articles by keyword. Returns news_list[]{id, title, description, source_name, publish_at (RFC3339), score}. Paginate with…
- `now` _(read)_ — 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.
- `operating` _(read)_ — Get company operating metrics (HK stocks only).
- `option_chain_expiry_date_list` _(read)_ — 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…
- `option_chain_info_by_date` _(read)_ — 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}}.
- `option_quote` _(read)_ — 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_volume` _(read)_ — 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.
- `option_volume_daily` _(read)_ — 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}.
- `order_detail` _(read)_ — Get detailed information about a specific order. To look up such a leg by its own ID instead, pass it as order_id with is_attached=true: the response is then…
- `participants` _(read)_ — Get HK market participant broker information. Returns participants[]{broker_ids[], name_en, name_cn, name_hk}. Use broker_ids to interpret broker queue data.
- `profit_analysis` _(read)_ — 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…
- `profit_analysis_detail` _(read)_ — 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…
- `quant_run` _(read)_ — 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…
- `quote` _(read)_ — Get latest price quotes. Returns per symbol: last_done, prev_close, open, high, low, volume, turnover, change_rate, change_value, trade_status, timestamp.
- `rank_categories` _(read)_ — Get rank tab category configurations for the popularity leaderboard. Pass a second_tags key (e.g. `hot_all-us`) to rank_list.
- `rank_list` _(read)_ — 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…
- `replace_order` _(destructive)_ — Modify an open order's quantity, price, trigger_price, or trailing params. Returns "order replaced" on success. Only open/pending orders can be modified.…
- `screener_indicators` _(read)_ — Get all available screener indicator keys with units and default value ranges. Technical indicators include a tech_values field showing available options (e.g.…
- `screener_recommend_strategies` _(read)_ — 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…
- `screener_search` _(read)_ — 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…
- `screener_strategy` _(read)_ — Inspect a screener strategy's filter conditions before running it. Use screener_search strategy_id to execute the strategy.
- `screener_user_strategies` _(read)_ — 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…
- `security_facts` _(read)_ — List a security's fact (catalyst) events — anomaly detections, factor readings, data sources and natural-language summaries — filtered by time range and count.…
- `security_list` _(read)_ — 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…
- `shareholder` _(read)_ — Get institutional shareholders for a symbol.
- `shareholder_detail` _(read)_ — Get a single shareholder's holding and trade history. Requires object_id from shareholder_top. Note: trading_details[] is empty for institutional (13F) holders…
- `shareholder_top` _(read)_ — Get Top 20 major shareholders (institutions, individuals, insiders) across reporting periods. Use object_id with shareholder_detail to drill into a holder's…
- `sharelist_add` _(write)_ — Add securities to a community sharelist by id. Provide symbols (e.g. ["AAPL.US", "700.HK"]) to add. Returns upstream API response.
- `sharelist_create` _(write)_ — Create a new community sharelist with a name and optional description.
- `sharelist_delete` _(destructive)_ — Delete a community sharelist by id (own lists only; subscribed lists cannot be deleted). Returns upstream API response on success.
- `sharelist_detail` _(read)_ — Get community sharelist detail by id.
- `sharelist_list` _(read)_ — List user's own and subscribed community sharelists.
- `sharelist_popular` _(read)_ — Get popular/trending community sharelists.
- `sharelist_remove` _(destructive)_ — Remove securities from a community sharelist by id. Provide symbols to remove. Returns upstream API response on success.
- `sharelist_sort` _(destructive)_ — Reorder securities in a community sharelist by id. Provide symbols in the desired new order. Returns upstream API response on success.
- `short_margin` _(read)_ — Get short margin deposit details for the current account. Returns short positions with margin_amount, margin_rate, interest_rate, symbol, quantity per position.
- `short_positions` _(read)_ — Get short interest history (open short positions) for HK or US stocks. Market inferred from symbol suffix. count: 1–100 (default 20). Unified…
- `short_trades` _(read)_ — 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…
- `signal_detail` _(read)_ — Get one signal by ID (from `signals`). Same fields as the list, plus `analysis` — the full strategy analysis: fit scores, valuation scenarios, evidence sources…
- `signals` _(read)_ — 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.…
- `statement_export` _(read)_ — Get a pre-signed download URL for a statement data file (obtained from statement_list).
- `statement_list` _(read)_ — List available account statements (daily/monthly). Use the id with statement_export to download.
- `static_info` _(read)_ — 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…
- `stock_positions` _(read)_ — Get current stock positions across all channels. US accounts only: an additional us_asset_overview field {cash_list, stock_list, option_list, crypto_list,…
- `submit_multileg_order` _(destructive)_ — Submit a multi-leg option combination order; all legs fill or rest together as one strategy order. strategy: CoveredCall / CoveredPut / VerticalCallSpread /…
- `submit_order` _(destructive)_ — 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…
- `today_executions` _(read)_ — Get today's trade executions (fills). Returns executions[]{order_id, trade_id, symbol, side, quantity, price, trade_done_at}. Pass symbol or order_id to filter.
- `today_orders` _(read)_ — Get orders placed today. Returns orders[]{order_id, symbol, side, order_type, status, quantity, price, submitted_at, executed_quantity, executed_price,…
- `top_movers` _(read)_ — Get stocks whose price fluctuation exceeds the 20-trading-day standard deviation, with correlated news reasons. markets: comma-separated HK/US/CN/SG…
- `topic` _(read)_ — Get discussion topics for a symbol. Returns items[]{id, title, author, created_at, like_count, comment_count, content_summary}.
- `topic_create` _(write)_ — Create a new discussion topic. topic_type="post" (default) is plain text; "article" requires a non-empty title and accepts Markdown body.
- `topic_create_reply` _(write)_ — Create a reply to a discussion topic. Pass reply_to_id to nest under another reply; omit for a top-level reply.
- `topic_detail` _(read)_ — Get discussion topic detail by topic_id.
- `topic_replies` _(read)_ — Get replies to a discussion topic, paginated (page default 1, size default 20, range 1-50)
- `topic_search` _(read)_ — Search community topics/posts by keyword. Returns id, author, time, and excerpt.
- `trade_stats` _(read)_ — Get trade statistics (buy/sell/neutral volume distribution). Returns items[]{price_range, buy_volume, sell_volume, neutral_volume} for price-volume profile.
- `trades` _(read)_ — Get recent trades (max 1000). Returns trades[]{price, volume, timestamp, trade_type, direction} for the symbol.
- `trading_days` _(read)_ — Get trading days for a market between dates. market: HK/US/CN/SG.
- `trading_session` _(read)_ — Get trading session schedule for all markets. Returns market_sessions[]{market, trade_sessions[]{beg_time, end_time, trade_session_type}}.
- `update_watchlist_group` _(destructive)_ — Update a watchlist group by id. Can rename (name param) or modify securities (securities + mode: add/remove/replace).
- `valuation` _(read)_ — Get valuation overview with peer comparison. US accounts querying a .US symbol get a US-specific variant (ai_summary plus a metrics.pe object with different…
- `valuation_comparison` _(read)_ — Stock valuation comparison. Mode A (single): pass only symbol — server returns stock + auto-selected industry peers.
- `valuation_history` _(read)_ — Get detailed valuation history time series.
- `valuation_rank` _(read)_ — Get daily valuation rank (PE/PB/PS/dividend yield industry percentile) for a security over a date range. start/end in yyyymmdd format.
- `warrant_issuers` _(read)_ — Get HK warrant issuer information. Returns issuers[]{id, name_en, name_cn}. Use id in warrant_list issuer filter.
- `warrant_list` _(read)_ — Get filtered warrant list for an underlying symbol. Returns warrants[]{symbol, name, last_done, change_rate, implied_volatility, expiry_date, strike_price,…
- `warrant_quote` _(read)_ — Get warrant quotes. Returns last_done, prev_close, open, high, low, volume, turnover, implied_volatility, delta, leverage_ratio, effective_leverage per symbol.
- `watchlist` _(read)_ — Get all watchlist groups and their securities. Returns groups[]{id, name, securities[]{symbol, market, name, watched_price, watched_at}}.
- `withdrawals` _(read)_ — List withdrawal history for the current account. Returns items[]{id, amount, currency, status, created_at, bank_name, account_number (masked)}.

---

## Connect

Gateway URL: https://gateway.mewcp.com/personal/mcp

Every request carries one header:

    Authorization: Bearer <API_KEY>

Replace `API_KEY` with your own key from the dashboard (Developer).

## Apps

### Claude Desktop

Mac & Windows app

- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "mewcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://gateway.mewcp.com/personal/mcp",
        "--header",
        "Authorization: Bearer API_KEY"
      ]
    }
  }
}
```

Already have an "mcpServers" section in your config? Just add the server entry inside it.

1. Open Claude Desktop → Settings → Developer → "Edit Config"
2. Paste the snippet inside the outer { } of the config file (merge with your existing "mcpServers" section if you have one)
3. Save the file and restart Claude Desktop
4. Start a new conversation — your tool will be available

### VS Code

Copilot / Cline

- Command Palette → "MCP: Open User Configuration" (opens mcp.json). For one project only, use .vscode/mcp.json instead.

```json
{
  "mcp.servers": {
    "mewcp": {
      "type": "http",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have a "servers" section in your mcp.json? Just add the server entry inside it.

1. Open VS Code → Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
2. Run "MCP: Open User Configuration" to open your mcp.json
3. Paste the snippet and save
4. Start the server when prompted (or from the MCP servers view) and use it in Copilot Chat

### Cursor

AI-first editor

- macOS: `~/.cursor/mcp.json`
- Windows: `%USERPROFILE%\.cursor\mcp.json`

```json
{
  "mcpServers": {
    "mewcp": {
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcpServers" section in your mcp.json? Just add the server entry inside it.

1. Open Cursor → Settings → Cursor Settings → MCP
2. Click "Add new global MCP server"
3. Paste the snippet and save
4. Restart Cursor

### Codex

OpenAI's CLI agent

- Add the snippet to your Codex MCP config or your standard MCP config file for the CLI tool you use.

```json
{
  "mcpServers": {
    "mewcp": {
      "type": "http",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Codex generally reads a standard MCP server block, so you can add this alongside your other configured servers.

1. Open your Codex MCP config or project-level config file
2. Paste the MewCP server block inside the config JSON/TOML structure your tool expects
3. Save the file and restart Codex
4. Verify the tool is available inside a fresh session

### Claude Code

Anthropic's CLI agent

- ~/.claude.json (user scope) or .mcp.json in your project root — create it if it doesn't exist. Or skip the file and use the CLI command below.

```json
{
  "mcpServers": {
    "mewcp": {
      "type": "http",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcpServers" section in your config? Just add the server entry inside it.

1. Open ~/.claude.json (or .mcp.json in your project root) in a text editor
2. Paste the snippet inside the outer { } (merge with your existing "mcpServers" section if you have one)
3. Save the file and start (or restart) Claude Code
4. Or skip the file entirely and run the CLI command below instead

### OpenCode

Open-source terminal agent

- ~/.config/opencode/opencode.json (global) or opencode.json in your project root — create it if it doesn't exist.

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mewcp": {
      "type": "remote",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcp" section in your opencode.json? Just add the server entry inside it.

1. Open ~/.config/opencode/opencode.json (or opencode.json in your project root) in a text editor
2. Paste the snippet inside the outer { } (merge with your existing "mcp" section if you have one)
3. Save the file and start (or restart) OpenCode

### OpenClaw

Self-hosted agent gateway

- ~/.openclaw/openclaw.json — create it if it doesn't exist.

```json
{
  "mcp": {
    "servers": {
      "mewcp": {
        "transport": "streamable-http",
        "url": "https://gateway.mewcp.com/personal/mcp",
        "enabled": true,
        "headers": {
          "Authorization": "Bearer API_KEY"
        }
      }
    }
  }
}
```

Already have an "mcp" section in your openclaw.json? Just add the server entry inside "servers".

1. Open ~/.openclaw/openclaw.json in a text editor
2. Paste the snippet inside the outer { } (merge with your existing "mcp" section if you have one)
3. Save the file and restart OpenClaw

### Antigravity

Google's agentic IDE

- ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (workspace-local) — create it if it doesn't exist.

```json
{
  "mcpServers": {
    "mewcp": {
      "serverUrl": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcpServers" section in your config? Just add the server entry inside it. Remote servers must use the "serverUrl" field — the legacy "url"/"httpUrl" fields aren't supported.

1. In the editor's agent side panel, click "…" → "MCP Servers" → "Manage MCP Servers" → "View raw config" (Antigravity CLI: type /mcp instead to open the Interactive MCP Manager)
2. Paste the snippet inside the outer { } (merge with your existing "mcpServers" section if you have one)
3. Save the file — the server connects automatically

### Hermes

Nous Research's CLI agent

- config.yaml in your Hermes config directory (~/.hermes) — add this under a top-level "mcp_servers:" key.

```yaml
mcp_servers:
  mewcp:
    url: "https://gateway.mewcp.com/personal/mcp"
    headers:
      Authorization: "Bearer API_KEY"
```

Already have an "mcp_servers" section in your config.yaml? Just add the server entry inside it.

1. Open config.yaml in your Hermes config directory
2. Paste the snippet under the top-level "mcp_servers:" key (merge with existing entries if you have any)
3. Save the file, then run /reload-mcp in Hermes (or start a fresh session)
4. Ask Hermes "Tell me which MCP-backed tools are available right now" to confirm it connected

### DeepSeek Harness

DeepSeek's agent harness

- cordis.yml in your DSH project — or the patch file you mount plugins from.

```yaml
- id: mcp-mewcp
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: mewcp
    transport: streamable-http
    url: https://gateway.mewcp.com/personal/mcp
    headers:
      Authorization: "Bearer API_KEY"
```

One plugin instance = one MCP server. Add this entry to your plugin list; don't nest it inside another entry.

1. Open cordis.yml (or your patch file) in your DSH project
2. Paste the entry into your plugin list, keeping the leading dash and indentation
3. Restart DSH (or let HMR reload) — tools register as mcp__mewcp__<tool_name>
4. Verify with: dsh web --dump-config | grep -A3 mcp

## SDKs

### Python

fastmcp client

```python
import asyncio
from fastmcp import Client
from fastmcp.client.transports import StreamableHttpTransport

SERVER_URL = "https://gateway.mewcp.com/personal/mcp"
API_KEY = "API_KEY"

transport = StreamableHttpTransport(
    url=SERVER_URL,
    headers={
        "Authorization": f"Bearer {API_KEY}",
    }
)

async def main():
    client = Client(transport)
    async with client:
        tools = await client.list_tools()
        print(tools)

asyncio.run(main())
```

1. Install fastmcp: pip install fastmcp
2. Copy the snippet into your project
3. Replace API_KEY with your key from the dashboard
4. Run your script

### TypeScript

MCP SDK

```typescript
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const SERVER_URL = "https://gateway.mewcp.com/personal/mcp";
const API_KEY = "API_KEY";

const transport = new StreamableHTTPClientTransport(new URL(SERVER_URL), {
  requestInit: {
    headers: {
      Authorization: `Bearer ${API_KEY}`,
    },
  },
});

const client = new Client({ name: "mewcp-client", version: "1.0.0" });
await client.connect(transport);

const tools = await client.listTools();
console.log(tools.tools.map((t) => t.name));
```

1. Install: npm install @modelcontextprotocol/sdk
2. Copy the snippet into your project
3. Replace API_KEY with your key from the dashboard
4. Run with Node 18+ as an ES module (e.g. npx tsx script.ts)