-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserver.json
More file actions
199 lines (199 loc) · 6.62 KB
/
Copy pathserver.json
File metadata and controls
199 lines (199 loc) · 6.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "com.longbridge/mcp",
"description": "US/HK markets — 145 tools: quotes, options, orders, fundamentals, screener, IPO, alerts & DCA",
"version": "0.5.3",
"repository": {
"url": "https://github.com/longbridge/longbridge-mcp",
"source": "github"
},
"websiteUrl": "https://longbridge.com",
"remotes": [
{
"type": "streamable-http",
"url": "https://openapi.longbridge.com/mcp",
"headers": [
{
"name": "Authorization",
"description": "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).",
"isRequired": true,
"isSecret": true
}
]
}
],
"packages": [
{
"registryType": "oci",
"identifier": "ghcr.io/longbridge/longbridge-mcp:0.5.3",
"transport": {
"type": "streamable-http",
"url": "http://localhost:8000/mcp",
"headers": [
{
"name": "Authorization",
"description": "Longbridge OAuth 2.1 bearer token in the form `Bearer <access_token>`.",
"isRequired": true,
"isSecret": true
}
]
},
"runtimeArguments": [
{
"type": "named",
"name": "--bind",
"description": "HTTP bind address inside the container.",
"isRequired": false,
"default": "0.0.0.0:8000"
},
{
"type": "named",
"name": "--base-url",
"description": "Externally reachable URL of the server. Required for public deployments; returned via OAuth protected resource metadata.",
"isRequired": false,
"default": "http://localhost:8000"
}
],
"environmentVariables": [
{
"name": "LONGBRIDGE_HTTP_URL",
"description": "Longbridge OpenAPI base URL. Used for OAuth metadata discovery.",
"isRequired": false,
"default": "https://openapi.longbridge.com"
},
{
"name": "LONGBRIDGE_QUOTE_WS_URL",
"description": "Quote WebSocket endpoint used by the embedded Longbridge SDK.",
"isRequired": false,
"default": "wss://openapi-quote.longbridge.com/v2"
},
{
"name": "LONGBRIDGE_TRADE_WS_URL",
"description": "Trade WebSocket endpoint used by the embedded Longbridge SDK.",
"isRequired": false,
"default": "wss://openapi-trade.longbridge.com/v2"
}
]
}
],
"_meta": {
"io.modelcontextprotocol.registry/publisher-provided": {
"brand": {
"displayName": "Longbridge",
"legalName": "Long Bridge Securities",
"tagline": "HK & US stocks, commission-free",
"website": "https://longbridge.com",
"developerPortal": "https://open.longbridge.com",
"documentation": "https://open.longbridge.com/docs",
"publisher": {
"name": "Longbridge",
"url": "https://longbridge.com",
"github": "https://github.com/longbridge"
}
},
"localizedDescriptions": {
"en": "Longbridge — official MCP server for the Longbridge brokerage. 145 tools across real-time quotes, options, order routing, fundamentals, stock screener, shareholders, short selling, IPO, calendars, alerts, DCA and portfolio analytics for US / HK markets.",
"zh-CN": "长桥证券官方 MCP 服务:145 个工具覆盖美股 / 港股的实时行情、期权、下单路由、基本面、选股器、股东持仓、卖空数据、IPO 打新、财报日历、价格预警、定投计划与组合分析。",
"zh-HK": "長橋證券官方 MCP 伺服器:145 個工具覆蓋美股 / 港股的即時行情、期權、下單路由、基本面、選股器、股東持倉、賣空數據、IPO 打新、財報日曆、價格警示、定投計劃與組合分析。"
},
"icons": [
{
"src": "https://assets.wbrks.com/assets/logo/light/logo.svg",
"sizes": "any",
"mimeType": "image/svg+xml",
"purpose": "any"
}
],
"categories": [
"finance",
"trading",
"market-data",
"brokerage"
],
"keywords": [
"longbridge",
"长桥",
"長橋",
"brokerage",
"stocks",
"options",
"warrants",
"futures",
"us-stocks",
"hk-stocks",
"trading",
"quotes",
"fundamentals",
"portfolio",
"dca",
"alerts"
],
"markets": [
{
"code": "US",
"name": "United States"
},
{
"code": "HK",
"name": "Hong Kong"
}
],
"toolCount": 145,
"toolCategories": {
"quote": 32,
"fundamental": 22,
"trade": 14,
"market": 14,
"screener": 5,
"dca": 9,
"ipo": 8,
"content": 8,
"sharelist": 8,
"alert": 5,
"atm": 3,
"portfolio": 3,
"search": 2,
"statement": 2,
"calendar": 1,
"utility": 1
},
"authentication": {
"type": "oauth2",
"flow": "authorization_code",
"discoveryUrl": "https://openapi.longbridge.com/.well-known/oauth-authorization-server",
"resourceMetadataUrl": "https://openapi.longbridge.com/.well-known/oauth-protected-resource",
"docs": "https://open.longbridge.com/docs/getting-started#authentication-methods"
},
"observability": {
"prometheusMetricsEndpoint": "/metrics",
"metrics": [
"mcp_tool_calls_total",
"mcp_tool_call_duration_seconds",
"mcp_tool_call_errors_total"
]
},
"transport": {
"rfc9728Compliant": true,
"stateless": true
},
"builtWith": {
"language": "Rust",
"edition": "2024",
"framework": "rmcp 1.4 + axum 0.8",
"sdk": "https://github.com/longbridge/openapi"
},
"license": {
"spdxId": "MIT",
"url": "https://github.com/longbridge/longbridge-mcp/blob/main/LICENSE"
},
"links": {
"homepage": "https://longbridge.com",
"developerPortal": "https://open.longbridge.com",
"documentation": "https://open.longbridge.com/docs",
"source": "https://github.com/longbridge/longbridge-mcp",
"issues": "https://github.com/longbridge/longbridge-mcp/issues",
"changelog": "https://github.com/longbridge/longbridge-mcp/releases"
}
}
}
}