Longbridge official MCP — 110 tools for US/HK quotes, trading & portfolio analytics.
Hosted
Streamable HTTPofficialserviceDeployment
Hosted
streamable-http
https://openapi.longbridge.com/mcpHeaders
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
ghcr.io/longbridge/longbridge-mcp:0.1.7
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.comLongbridge OpenAPI base URL. Used for OAuth metadata discovery.
LONGBRIDGE_QUOTE_WS_URL
Default:
wss://openapi-quote.longbridge.com/v2Quote WebSocket endpoint used by the embedded Longbridge SDK.
LONGBRIDGE_TRADE_WS_URL
Default:
wss://openapi-trade.longbridge.com/v2Trade WebSocket endpoint used by the embedded Longbridge SDK.