Skip to main content
Glama
liusheldon238

uSMART MCP

uSMART MCP

CI License: Apache-2.0

本机优先的 uSMART 新加坡 Open API MCP 工具。它只提供账户、持仓、订单、行情、历史 K 线和健康检查等只读能力,不包含下单、撤单、资金划转、交易解锁或密码找回。

This is an independent, community-maintained project. It is not affiliated with, endorsed by, or supported by uSMART.

配置与安全

  • 在 Codex 中调用 Configure uSMART MCP,即可打开内嵌设置页面;它不是独立 macOS App。

  • 填写渠道号、区号、手机号、登录密码、API 加密公钥 PEM 与 API 签名私钥 PEM。

  • 凭证只保存至 macOS Keychain;设置 UI 仅显示脱敏状态,不会回显密码或 PEM。

  • Docker 镜像、Compose 文件、Git 仓库和日志均不保存券商凭证。

  • MCP 仅监听 127.0.0.1:8080;连接器仅监听 127.0.0.1:8787

Related MCP server: ibkr-mcp

前置条件

  • macOS 14+、Node 22+、pnpm、Docker Desktop。

  • 已获批准的 uSMART SG Open API 账户。请在 uSMART 个人中心的 My API 获取所需材料;不要把凭证粘贴到聊天或源码中。

启动与接入 Codex

pnpm install
pnpm build:ui
pnpm start:mock

在 Codex 中注册 Streamable HTTP MCP 端点:

http://127.0.0.1:8080/mcp

首次使用调用 configure_usmart 打开内嵌设置表单。保存完真实凭证后,重启为真实只读模式:

pnpm stop
pnpm start:real

停止本地服务:

pnpm stop

验证

pnpm test
pnpm typecheck
pnpm test:integration

集成测试使用模拟券商,完成 MCP 握手、工具发现和全部六个只读工具调用。真实账户仅在你已通过内嵌页面保存经批准凭证后,执行一次只读健康检查和查询验证。

开源协作

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    B
    maintenance
    Safe-by-default MCP server for the official Toss Securities Open API, providing read-only market and account data with optional order operations protected by multiple safety gates.
    27
    19
    2
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    A read-only-by-default MCP server for Interactive Brokers that exposes account, positions, PnL, market data, and trade history from a local TWS/IB Gateway session, with optional trading capabilities.
    15
    MIT
  • A
    license
    C
    quality
    B
    maintenance
    Read-only MCP server that exposes Futu OpenD's investment-research quote APIs (stocks, options, futures, financials, news, etc.) as MCP tools, leveraging an already-running OpenD gateway with no separate authentication.
    53
    9
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    Local MCP server for A-share stock trading via Tonghuashun, offering account/position queries, buy/sell/cancel orders with risk controls and forced user confirmation; currently simulated with a reserved interface for real broker channels.

View all related MCP servers

Related MCP Connectors

  • Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.

  • TradeOS MCP: ticker search, My Agent, chart TA, macro news. npm stdio or HTTP.

  • Hosted MCP for stocks, options, Greeks, brokers, order previews, alerts, and workflows.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liusheldon238/usmart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server