Longbridge official MCP — 110 tools for US/HK quotes, trading & portfolio analytics.

Hosted
Streamable HTTPofficialservice

Deployment

Hosted
streamable-httphttps://openapi.longbridge.com/mcp
Headers
AuthorizationRequired
Longbridge OAuth 2.1 bearer token in the form `Bearer <access_token>`. Clients should follow the authorization server URL returned by GET /.well-known/oauth-protected-resource (RFC 9728).

Package Details

TransportStreamable HTTP

Runtime Arguments

Named
--bind
HTTP bind address inside the container.
--base-url
Externally reachable URL of the server. Required for public deployments; returned via OAuth protected resource metadata.

Environment Variables

LONGBRIDGE_HTTP_URL
Default:https://openapi.longbridge.com

Longbridge OpenAPI base URL. Used for OAuth metadata discovery.

LONGBRIDGE_QUOTE_WS_URL
Default:wss://openapi-quote.longbridge.com/v2

Quote WebSocket endpoint used by the embedded Longbridge SDK.

LONGBRIDGE_TRADE_WS_URL
Default:wss://openapi-trade.longbridge.com/v2

Trade WebSocket endpoint used by the embedded Longbridge SDK.