← Back to MCP listView full setup guide →
§ Connection Config
Transport Type: remote
https://openapi.longbridge.com/mcp
Authorization: Bearer {env:LONGBRIDGE_ACCESS_TOKEN}
Longbridge OAuth Access TokenRequired
Platform proxy calls require a Bearer token. Cursor handles OAuth automatically; for headless use, generate an Agent Auth Code at open.longbridge.com/connect.
Type: headerApply →
§ Quickstart
Add the following to your MCP client configuration (Cursor, Claude Desktop, etc.):
Settings → Tools & MCP → Add Remote MCP Server. OAuth browser flow starts on first tool call.
⚠️
Client must fully support MCP OAuth 2.1. Mainland China users may use https://mcp.longbridge.cn for faster access.
MCP Client Configuration
{
"mcpServers": {
"longbridge": {
"url": "https://openapi.longbridge.com/mcp"
}
}
}§ Tools Reference
5 tools
quote_realtime
Get real-time quote
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | ✓ | e.g. AAPL.US |
quote_candlesticks
Get historical candlesticks
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | ✓ | Symbol |
fundamental_financial_reports
Get financial reports and fundamentals
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | ✓ | Symbol |
market_calendar
Get earnings, dividends, IPO calendar events
portfolio_analysis
Portfolio P/L and analysis
§ Examples
Once configured, you can ask the AI directly:
HK vs US
Get latest quotes and valuation for 00700.HK and BABA.US
Cross-market quote lookup
Option chain
List AAPL near-term option chain and find highest volume calls
Derivatives data example
LadleAgent