Spree Commerce developer docs for AI agents
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
US/HK markets — 163 tools: quotes, options, orders, fundamentals, screener, IPO, alerts, DCA & grid
Pick the AI app you use, then copy the settings.
Passed 5/5 checks · What you ask goes through the maker’s server (mcp.longbridge.com)
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude · about 5 min
You need a Longbridge MCP key (create it on the maker’s site) · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
CustomizeConnectors
Copy each value into the field with the same name in Claude, then click Continue
Longbridge MCPhttps://mcp.longbridge.comUnder Request headers, add this name and value
AuthorizationBearer <paste your key here>Paste the key only into the app’s field, never into a chat or to anyone
Leave Authentication as Claude detected it, then click Add
+ConnectorsLongbridge MCP
Use Longbridge MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Longbridge MCP or shows a Longbridge MCP tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Longbridge MCP yet
Longbridge MCP needs your own key to connect, but OpenAI’s help page only describes OAuth sign-in; there is no key option we could verify
A · Use an app that can connect Longbridge MCP
B · Others in Online shops & payments that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code · about 5 min
You need a Longbridge MCP key (create it on the maker’s site)
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --transport http --scope user longbridge https://mcp.longbridge.com --header 'Authorization: Bearer your-value'Replace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Longbridge MCP listed as connected
Use Longbridge MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Longbridge MCP or shows a Longbridge MCP tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor · about 5 min
You need a Longbridge MCP key (create it on the maker’s site)
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Longbridge MCP settings, Authorization is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Longbridge MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Longbridge MCP or shows a Longbridge MCP tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code · about 5 min
You need a Longbridge MCP key (create it on the maker’s site)
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Longbridge MCP settings, Authorization is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Longbridge MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Longbridge MCP or shows a Longbridge MCP tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
Address for apps that connect over the web
https://mcp.longbridge.comJSON settings are under “For developers” below
Claude Code
claude mcp add --transport http --scope user longbridge https://mcp.longbridge.com --header 'Authorization: Bearer your-value'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"longbridge": {
"url": "https://mcp.longbridge.com",
"headers": {
"Authorization": "Bearer your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"longbridge": {
"type": "http",
"url": "https://mcp.longbridge.com",
"headers": {
"Authorization": "Bearer your-value"
}
}
}
}Claude Code
claude mcp add --scope user longbridge --env LONGBRIDGE_HTTP_URL=your-value --env LONGBRIDGE_QUOTE_WS_URL=your-value --env LONGBRIDGE_TRADE_WS_URL=your-value -- docker run -i --rm -e LONGBRIDGE_HTTP_URL -e LONGBRIDGE_QUOTE_WS_URL -e LONGBRIDGE_TRADE_WS_URL ghcr.io/longbridge/longbridge-mcp:0.9.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"longbridge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"LONGBRIDGE_HTTP_URL",
"-e",
"LONGBRIDGE_QUOTE_WS_URL",
"-e",
"LONGBRIDGE_TRADE_WS_URL",
"ghcr.io/longbridge/longbridge-mcp:0.9.0"
],
"env": {
"LONGBRIDGE_HTTP_URL": "your-value",
"LONGBRIDGE_QUOTE_WS_URL": "your-value",
"LONGBRIDGE_TRADE_WS_URL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"longbridge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"LONGBRIDGE_HTTP_URL",
"-e",
"LONGBRIDGE_QUOTE_WS_URL",
"-e",
"LONGBRIDGE_TRADE_WS_URL",
"ghcr.io/longbridge/longbridge-mcp:0.9.0"
],
"env": {
"LONGBRIDGE_HTTP_URL": "your-value",
"LONGBRIDGE_QUOTE_WS_URL": "your-value",
"LONGBRIDGE_TRADE_WS_URL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"longbridge": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"LONGBRIDGE_HTTP_URL",
"-e",
"LONGBRIDGE_QUOTE_WS_URL",
"-e",
"LONGBRIDGE_TRADE_WS_URL",
"ghcr.io/longbridge/longbridge-mcp:0.9.0"
],
"env": {
"LONGBRIDGE_HTTP_URL": "your-value",
"LONGBRIDGE_QUOTE_WS_URL": "your-value",
"LONGBRIDGE_TRADE_WS_URL": "your-value"
}
}
}
}LONGBRIDGE_HTTP_URL envLONGBRIDGE_QUOTE_WS_URL envLONGBRIDGE_TRADE_WS_URL envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
oci: ghcr.io/longbridge/longbridge-mcp:0.9.0Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Connect over the internet in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
The server asks you to sign in before it lists its tools.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 12, 2026
The registry name was verified against the domain longbridge.com (the registry checks domain ownership)
Code last changed yesterday
Uses Apache-2.0
Responded in 720 ms (HTTP 401)
Declares OAuth sign-in, so your AI app can take you to log in
Not checked yet; we read the tool list when we check the endpoint
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 5 of 5 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: Authorization
Either way works: install it on your computer or connect to the cloud version.
The GitHub repo last changed yesterday, and the latest version (0.9.0) reached the registry 3 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT Business and above.
In the same category: Spree Commerce developer docs for AI agents, Stripe MCP, Sessy — Amazon SES observability
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
Read-only Amazon SES observability: search events, inspect bounces, pull delivery stats.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Longbridge MCP Server
Official MCP server for the Longbridge brokerage. 164 tools across real-time quotes, options, order routing, fundamentals, analyst ratings, calendars, IPO, price alerts, DCA plans, grid trading, portfolio analytics and community sharelists — covering US and HK markets. Built with Rust using rmcp and axum.
Now live in ChatGPT and Claude
Longbridge is officially listed in the ChatGPT Apps directory and the Claude Connectors directory.
Talk to the markets in plain language — quotes, options, fundamentals, and your own portfolio —
with no config files to edit and no tokens to paste.
| Add it in one place | Then just ask | |
|---|---|---|
| ChatGPT | Settings → Apps & Connectors → add Longbridge | *"How's NVDA trading today?"* · *"Show my HK positions"* |
| Claude | Settings → Connectors → add Longbridge (web · desktop · mobile) | *"Compare AAPL and MSFT valuations"* · *"Any IPOs this week?"* |
Sign in once with your Longbridge account. Every request runs over the same hosted, OAuth 2.1–secured endpoint documented below — read-only market data plus full account, portfolio, and trading tools, all gated by your own credentials.
Built in Rust with rmcp and axum.
Every tool accepts an optional _jq string in its arguments. The expression runs on the complete returned JSON, after the normal response serialization. The _jq name is reserved for response filtering to avoid conflicts with business parameters. Usage guidance is sent once in the MCP initialize response's instructions; each tool schema declares only the optional parameter name and type. For example:
{
"name": "quote", "arguments": { "symbols": ["AAPL.US", "MSFT.US"], "_jq": "map({symbol, last_done})" } }
Use .data[:5] to take the first five entries of a data array, .data | map(select(.price > 10)) to select rows, or {total: .total} to project fields. Expressions use the embedded jaq engine's jq-compatible syntax; no separate jq executable is needed.
_jq (or pass null) to preserve the original response.[]. Scalars and arrays are JSON text; objects also appear in structuredContent, containing only the filtered fields.Because filters can change the response shape, tools do not advertise a fixed outputSchema. Original typed schemas remain available through resources/list and resources/read at lb://tools/{tool-name}/output-schema for schema-backed tools.
Longbridge runs a hosted endpoint at `https://mcp.longbridge.com` — point any MCP client at it and complete OAuth when prompted. Authorization is auto-discovered via RFC 9728; there is no token to paste.
Claude Code
claude mcp add --transport http longbridge https://mcp.longbridge.com
Claude Desktop — add to claude_desktop_config.json, then restart:
{ "mcpServers": { "longbridge": { "url": "https://mcp.longbridge.com" } } }
Codex — add the server, then complete OAuth in the browser:
codex mcp add longbridge --url https://mcp.longbridge.com
codex mcp login longbridge
Cursor · Cline · Windsurf · Zed · other clients — point them at https://mcp.longbridge.com with transport streamable-http.
More Claude Code commands
# Local self-hosted instance (see Self-hosting below)
claude mcp add --transport http longbridge-local http://localhost:8000/mcp
claude mcp list # registered servers claude mcp get longbridge # config + auth status claude mcp remove longbridge # unregister claude mcp logout longbridge # re-trigger OAuth after revocation
On first use, the client reads the WWW-Authenticate challenge, fetches /.well-known/oauth-protected-resource (RFC 9728), and opens your browser for the Longbridge OAuth flow. Tokens are cached per session and refreshed automatically.
Twenty categories spanning market data, trading, research and account management.
| Category | Count | Coverage |
|---|---|---|
| Quote | 32 | Real-time and historical quotes, candlesticks, depth, brokers, options, warrants, watchlists, capital flow, market temperature, short positions, option volume |
| Fundamental | 33 | Financial statements/reports, business segments, institutional views, industry peers/valuation, dividends, EPS forecasts, valuations & valuation comparison, company info/executives, shareholders, corporate actions, operating metrics |
| Trade | 15 | Order submission/cancellation/replacement, multi-leg option combination orders, positions, balance, executions, cash flow, margin |
| Market | 15 | Market status, industry/top-mover rank, broker holdings, A/H premium, trade statistics, anomalies, short trades/margin, index constituents |
| DCA | 9 | Dollar-cost averaging plan create/update/pause/resume/stop, execution history, statistics, support check |
| Grid | 11 | Grid trading order submit/replace/cancel/suspend/restart, list/detail/trigger-history reads, per-symbol setup info, one-time strategy consent |
| Sharelist | 8 | Community sharelist CRUD, member add/remove/sort, popular lists |
| IPO | 7 | IPO subscriptions, calendar, listed stocks, order detail, profit/loss analysis |
| Content | 7 | News list/detail, discussion topic CRUD and replies |
| Alert | 5 | Price alert CRUD (add, delete, enable, disable, list) |
| Screener | 5 | Stock screener search, indicators, strategy recommendation/management |
| Portfolio | 4 | Exchange rates, profit/loss analysis (summary, detail, realized) |
| ATM | 3 | Bank cards, withdrawal records, deposit records |
| Macrodata | 2 | Macroeconomic indicator list and detail |
| Search | 2 | News search, community topic search |
| Statement | 2 | Account statement listing and export |
| Calendar | 1 | Finance calendar (earnings, dividends, IPOs, macro data, closures) |
| Quant | 1 | Run a quant indicator script against historical K-line data |
| Authenticate | 1 | OAuth code exchange for clients that can't complete a browser redirect |
| Utility | 1 | Current UTC time |
Prefer your own instance? Run the published image:
docker run -p 8443:8443 \
-v /path/to/certs:/certs:ro \ ghcr.io/longbridge/longbridge-mcp \ --bind 0.0.0.0:8443 \ --base-url https://mcp.example.com \ --tls-cert /certs/cert.pem \ --tls-key /certs/key.pem
Set `--base-url` to your externally reachable URL on any public deployment — it is published in the OAuth metadata clients use to discover the authorization server. It defaults to
http://localhost:{port}, which remote clients cannot use.
Or build from source: cargo build --release && ./target/release/longbridge-mcp.
Configuration & environment variables
Config lives at ~/.longbridge/mcp/config.json (override the directory with LONGBRIDGE_MCP_CONFIG_DIR). CLI flags take precedence. When tls_cert and tls_key are both set the server runs HTTPS, otherwise HTTP; base_url defaults to https://localhost:{port} with TLS or http://localhost:{port} without.
| Option | Config Key | CLI Flag | Default | Description |
|---|---|---|---|---|
| Bind address | bind | --bind | 127.0.0.1:8000 | HTTP server listen address |
| Base URL | base_url | --base-url | auto | Public base URL for resource metadata |
| Log directory | log_dir | --log-dir | *(stderr)* | Directory for rolling log files |
| TLS certificate | tls_cert | --tls-cert | *(none)* | PEM certificate file for HTTPS |
| TLS private key | tls_key | --tls-key | *(none)* | PEM private key file for HTTPS |
| Canary upstream | canary | --canary | false | Talk to the Longbridge canary environment (*.longbridge.xyz). --canary=false forces production even when the config file enables it |
The mainland-China environment (*.longbridge.cn) is not a flag: it is auto-selected when LONGBRIDGE_REGION=cn is set (the same variable the SDK uses), so a mainland cluster needs no dedicated setting.
Upstream endpoints are fixed by the selected environment:
| Production (default) | Canary (--canary) | Mainland (LONGBRIDGE_REGION=cn) | |
|---|---|---|---|
| OpenAPI | https://openapi.longbridge.com | https://openapi-global.longbridge.xyz | https://openapi.longbridge.cn |
| Quote WebSocket | wss://openapi-quote.longbridge.com/v2 | wss://openapi-global-quote.longbridge.xyz/v2 | wss://openapi-quote.longbridge.cn/v2 |
| Trade WebSocket | wss://openapi-trade.longbridge.com/v2 | wss://openapi-global-trade.longbridge.xyz/v2 | wss://openapi-trade.longbridge.cn/v2 |
| OAuth / connect page | openapi.longbridge.com / open.longbridge.com | openapi-global.longbridge.xyz / open.longbridge.xyz | `openapi.longbr