# Release Notes

### [v0.18.0](https://github.com/longbridge/longbridge-mcp/releases/tag/v0.18.0)

- **Confirmation for every money-moving write** — orders, multi-leg orders, grid strategies, fund orders, DCA plans and price alerts. On clients that speak MCP `2026-07-28` and support form input, you confirm in a form and nothing is placed until you do; other clients get a preview with a `confirmation_code` that expires after 10–20 minutes. DCA, price-alert and multi-leg writes used to run on the first call and are now two-step
- **Orders tracked as MCP tasks** — a confirmed `submit_order` returns a task that follows the order until it is filled, rejected, expired or cancelled
- **Agent Skills served over MCP** — clients that support the MCP skills extension (such as Claude) load the [Longbridge skills](https://github.com/longbridge/skills) straight from the server, with nothing to install; skills that write are hidden on the read-only endpoint. On Claude Team and Enterprise plans an admin has to enable MCP skills first
- **New account tools for Hong Kong (AP) accounts** — `bank_cards`, `edda_authorizations`, `edda_status`, `stock_transfers_in`, `stock_transfers_out`, `reward_records`, `coupons` and `coupon_orders`. `deposits` and `withdrawals` gain date filters, status labels, notified vs. received amounts, fees and a `status` of `Pending` / `Finished` / `Failed`
- **MCP `2026-07-28` protocol** — the server accepts `server/discover` without the initialize handshake; clients on older versions keep working
- **Paper trading** — with paper trading on, money-moving tools refuse a real-money token
- **Fix: `deposits` stopped at 10 records** — the page size is capped at 20; above that the upstream returned only 10 records and the rest looked like there were none
- **Fix: unknown status codes** — the bank card and eDDA tools keep a code that has no label as its raw value instead of dropping it
- **Behaviour change** — confirmation codes issued before this release no longer work, so call the tool again for a new preview; `tasks/cancel` is refused, use `cancel_order`

### [v0.17.0](https://github.com/longbridge/longbridge-mcp/releases/tag/v0.17.0)

- **New `risk_assessment` tool** — returns the account's risk level, score, assessment date, professional investor status and the strategy risk levels it may trade
- **TLS trusts the operating system's certificate store** in addition to the bundled roots
- **Fix: `calc_indexes`** returns only the requested indexes, with `null` when one is unavailable
- **Fix: `financial_statement`** returns the newest periods, trims line items and requires `kind`

### [v0.16.5](https://github.com/longbridge/longbridge-mcp/releases/tag/v0.16.5)

- **Fix: a `_jq` filter could crash the server** — filters now run in a sandboxed worker with memory, CPU and time limits, so a broken filter fails only its own call. `env`, `debug`, `stderr`, `halt` and `halt_error` are disabled, expressions are capped at 4096 characters, and a filter is stopped after 2 seconds
- **New error codes** `jq_sandbox_busy` and `jq_sandbox_unavailable` (`recoverable: backoff`)
- **Request bodies are capped at 1 MiB**; larger bodies get 413