Problem
I am testing Longbridge MCP with OAuth authentication.
Environment:
Authentication
OAuth authorization is successful.
Granted scopes:
- Basic data access
- Watchlist
OpenAPI market permissions:
- US LV1 real-time quote
- HK LV1 real-time quote
- OPRA US options quote
Issue
MCP tools/list works correctly and returns 147 tools.
However, MCP tool calls related to market data always fail:
Error:
openapi error: code=500000: internal error
Tested APIs
- quote
- candlesticks
- intraday
- market_status
- news
- static_info
Tested symbols
Additional information
OAuth authentication appears to work correctly.
For example, account-related API without required scope returns:
403008: Target API's scope is not in authorized scopes
This suggests the OAuth token is recognized and scope validation is functioning.
Expected behavior
The MCP server should return market quote and related market data.
Actual behavior
All market data APIs return:
code=500000 internal error
Could you please check:
- MCP backend
- OAuth scope mapping
- OpenAPI gateway routing
- Account API binding
Thank you.
Problem
I am testing Longbridge MCP with OAuth authentication.
Environment:
Authentication
OAuth authorization is successful.
Granted scopes:
OpenAPI market permissions:
Issue
MCP tools/list works correctly and returns 147 tools.
However, MCP tool calls related to market data always fail:
Error:
openapi error: code=500000: internal error
Tested APIs
Tested symbols
Additional information
OAuth authentication appears to work correctly.
For example, account-related API without required scope returns:
403008: Target API's scope is not in authorized scopes
This suggests the OAuth token is recognized and scope validation is functioning.
Expected behavior
The MCP server should return market quote and related market data.
Actual behavior
All market data APIs return:
code=500000 internal error
Could you please check:
Thank you.