uSMART MCP

uSMART MCP

A local-first MCP server that provides read-only access to uSMART Singapore account, positions, orders, market quotes, historical K-lines, and health checks.

Category
Visit Server

README

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。

前置条件

  • 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 握手、工具发现和全部六个只读工具调用。真实账户仅在你已通过内嵌页面保存经批准凭证后,执行一次只读健康检查和查询验证。

开源协作

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured