
TradeOS (test)
io.github.TradeOS-AI由 GitHub 帳號 TradeOS-AI 發布v1.0.0-alpha.6更新於 Nov 9, 2026
[TEST] TradeOS MCP bridge: ticker search, My Agent, chart TA, macro news. npm or HTTP.
概覽
TradeOS MCP 將 TradeOS 交易情報接入 AI 助理,支援代碼搜尋、行情分析、價差比較、總體新聞與自訂交易代理。
- 可以做什麼
- 搜尋交易代碼並查詢市場標的
- 分析圖表與技術指標
- 比較價差並取得總體新聞背景
- 建立與管理自訂交易代理(My Agent)
- 透過 HTTP 或本機 stdio 橋接將上述能力代理到 TradeOS 遠端端點
- 適用情境
- 適合想用自然語言讓助理研究行情、比較價差、進行技術與總體分析,並集中管理自訂交易代理的使用者。已擁有具備 MCP API 存取權限的 TradeOS 帳戶時最合適。
- 執行需求
- 兩種方式:使用遠端 HTTP 端點並由用戶端完成瀏覽器 OAuth;或在本機執行 npm 套件,需要 Node.js 18+ 以及透過 OAuth 輔助工具取得的 TRADEOS_ACCESS_TOKEN 環境變數。需要具備 MCP API 存取權限的 TradeOS 帳戶。Windows 上 README 建議以固定目錄本機安裝而非使用 npx。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 TradeOS (test),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.TradeOS-AI%2Ftradeos-mcp-test/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"tradeos-test": {
"type": "http",
"url": "https://ai.tradeos.xyz/api/agent/mcp-call"
}
}
}README
tradeos-mcp
TradeOS MCP lets you connect TradeOS trading intelligence to MCP-compatible AI tools, so your assistant can analyze markets, search tickers, compare spreads, use macro context, and manage custom trading agents directly from natural-language prompts.
Overview
This repo publishes @tradeos/tradeos-mcp on npm: a stdio MCP bridge that proxies tools to TradeOS Streamable HTTP (mcp-call). You can connect in two ways:
Production endpoint (both modes ultimately call this):
Product docs: TradeOS MCP integration & usage
Prerequisites
- Node.js 18+
- A TradeOS account with MCP API access
- For npm stdio: ability to run a local install (see Windows notes)
Option A — HTTP (recommended)
No npm install. The client handles OAuth.
Cursor
Edit user config ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json):
Save, restart Cursor (or refresh MCP in Settings → MCP), then complete OAuth when prompted.
Claude Code (plugin — recommended)
Use the bundled plugin in tradeos-skills/:
Then complete OAuth and run /tradeos:analyze. Full plugin workflow (validate, community marketplace submit): tradeos-skills/README.md — aligned with Claude plugin docs.
Option B — npm stdio bridge
Use when your client requires a local process (command + stdio).
1. Install locally
Do not rely on npx inside MCP on Windows (cache/path issues). Install once to a fixed directory:
Pin a version if you prefer, e.g. @tradeos/[email protected].
2. Get TRADEOS_ACCESS_TOKEN
Run the OAuth helper (opens browser → log in on TradeOS → prints token):
Windows (recommended):
Copy the printed JWT (eyJ...). For local development of this repo, copy into .env:
End users who only npm install the package do not need .env — set the token in MCP client config (mcp.json) instead.
Do not commit tokens to git.
3. Configure Cursor
Replace YOU and the path with your actual install location. Use forward slashes or escaped backslashes in JSON.
If Cursor cannot find node, set the full path:
Enable tradeos-npm in Settings → MCP. Status should show connected with tools listed.
4. Verify in terminal (optional)
Environment variables in mcp.json do not apply to your shell. Set the token in the same terminal session:
Success:
Press Ctrl+C to stop. Cursor starts its own process; you do not need to keep this terminal open.
Windows notes
- Use local
node+ install path inmcp.json, notnpx, for MCP. - If npm cache errors mention
C:\Program Files\nodejs\node_cache, run once: npx @pkg tradeos-mcp-oauthmay run the wrong bin on Windows. Prefer: ornode .../scripts/fetch-token.mjsfrom your install directory.- Clear a broken npx cache (quit Cursor first):
npm package reference
Install:
Development (this repo)
Publishing (maintainers)
Push a version tag to trigger .github/workflows/publish-mcp.yml:
- Stable tags (
v1.0.0) publish to npmlatestand the MCP Registry. - Pre-release tags (
v1.0.0-beta.1) publish with an npm dist-tag matching the prerelease label (e.g.beta). - Requires GitHub Actions secret
NPM_TOKEN(Classic Automation token for@tradeos).
Verify on the registry API:
Troubleshooting
Related
tradeos-skills/— Claude Code plugin + analyze skillserver.json— MCP Registry manifest- TradeOS MCP FAQ (GitBook)
來源:README.md,提交 2b620e3
工具
0版本歷史
1- v1.0.0-alpha.6最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分