
Stockbit MCP
io.github.INo-xious由 GitHub 帳號 INo-xious 發布v1.4.1更新於 Oct 25, 2026
Indonesian exchange (IDX) via your own Stockbit account: quotes, bandarmology, charts. Unofficial.
概覽
非官方 MCP 伺服器,透過你自己的 Stockbit 帳戶讓助理取得印尼交易所行情、券商資金流、圖表、唯讀投資組合與模擬交易。
- 可以做什麼
- 讀取行情資料:報價、委託簿、漲跌排行、交易時段與成交明細,以及券商吸貨與派貨資金流(bandarmology)。
- 適用情境
- 當你透過 Stockbit 帳戶關注印尼交易所(IDX)股票,希望助理取得行情、券商資金流、基本面、新聞和圖表,或在模擬帳本中進行模擬交易時使用。它適合分析與研究流程,不用於真實下單。
- 執行需求
- 在本機執行 Node.js 22+ 程序,登入與繪圖需要 Chromium 系列瀏覽器。需要 Stockbit 帳戶,並在 Stockbit 自己的頁面登入;憑證保存在本機作業系統鑰匙圈或加密檔案中。讀取真實投資組合需在終端機另行解鎖證券工作階段。選用環境變數:STOCKBIT_NO_BROWSER、STOCKBIT_STORE_DIR、STOCKBIT_TOOLS、STOCKBIT_TRADING。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Stockbit MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Stockbit MCP
Stockbit market data, analysis, chart drawing, read-only brokerage portfolios, and simulated trading for Claude, ChatGPT and other MCP clients. Unofficial and unaffiliated with Stockbit or IDX.
This build cannot execute real-money trades. Real buy, sell, amend, cancel and e-IPO subscription
tools and their HTTP routes have been removed. Deposits and withdrawals are not supported. Old
live settings fail closed; there is no switch to restore live execution. This is a technical
boundary, not a claim of OJK approval or a legal compliance certification.
Bahasa Indonesia · Tool reference · Client setup · Security · Verification
Build and sign in
Use this checkout or verified 1.4.1 or later release artifacts. The 1.3.1 npm package does
not contain these changes; the earlier v1.4.0 GitHub tag also points to a 1.3.1 package manifest.
Requires Node.js 22+ and a Chromium-family browser for login and interactive chart drawing. Sign in
on Stockbit's own page; passwords and OTPs are never requested through an assistant. Credentials are
saved locally in the OS Keychain, or an encrypted file fallback. A browser session and the API
session are separate; status explains which one needs attention.
Connect a client
Claude Desktop's claude_desktop_config.json can launch the built server:
Use command -v node (PowerShell: (Get-Command node).Source) to find Node's path, and replace both example paths. Restart the client after
changing its config. STOCKBIT_TOOLS=all exposes the complete supported tool set; core is the
smaller default. Profiles select capabilities, not permission to move real money.
You can also build a local Claude Desktop extension with npm run build:mcpb. See
client setup for installation and profile selection.
For ChatGPT, use its supported Secure MCP Tunnel or a properly secured remote MCP deployment. The stdio server does not become accessible to ChatGPT by pasting a local file path into a connector. Client setup explains current requirements, the optional local HTTP transport, and what remains a deployment step.
Capabilities
This is the supported API surface, not a promise that every feature on Stockbit's website has an equivalent tool. Feature entitlements, undocumented upstream changes, login and browser availability can limit individual tools. Evidence labels distinguish observed responses from projected mappings; an unrecognised account value stays absent instead of becoming zero.
Portfolio and simulations are separate
Real brokerage reads require a securities session. Unlock it yourself at your terminal:
The PIN is entered locally and never stored or passed to an MCP tool. Unlocking the session does not enable trading: this build has no real order submission route.
virtual_* uses Stockbit's website virtual account with the ordinary Stockbit login. It is distinct
from the real portfolio and from the local paper ledger. Only routes under /virtualtrading/ may
submit those simulated orders. Read each tool's verification caveats before relying on its result.
For the independent local paper ledger:
Use paper_order_preview, review the ticket, then the matching paper_order_buy, paper_order_sell,
paper_order_amend or paper_order_cancel. Inspect paper_portfolio and paper_orders for simulation
results. portfolio always reads the real brokerage portfolio, even when local paper mode is enabled.
Chart drawing
Enable the chartbit family and sign in using the saved browser profile. A typical flow is
chartbit_open → chartbit_shapes → chartbit_draw → chartbit_screenshot → chartbit_save.
Get the matching layout ID from chartbit_layouts and pass it to chartbit_save for a scoped
persistence check. Without enough layout metadata, the save result reports verification as unknown.
Read existing drawings first. Clear only server-created shapes with scope: "ours"; deleting all
shapes or replacing a saved layout requires explicit confirmation. Save paths verify persistence
against Stockbit's stored layout/drawings.
Example requests: “Analyze BBRI and draw its support and resistance,” “Show my portfolio,” “Compare broker flow for BBRI and TLKM,” or “Show my Stockbit virtual orders.”
Verification
After login, run the reusable read-only MCP sweep:
It inventories every registered tool and records passed reads, upstream failures, missing
prerequisites, and mutations/browser actions needing controlled scenarios. It never places orders,
edits account state or opens a browser. Its report is stored under ignored .stockbit/ and contains
no response payloads. --only quote,analyze narrows a follow-up check. The isolated test suite covers
mutation guards and simulated write scenarios without touching an account.
The API is private and may change. This project does not provide investment advice or assurance that automated access is permitted by Stockbit's terms. See security boundaries and the verification record for practical limits.
來源:README.md,提交 39bc146
工具
0版本歷史
2- v1.4.1最新Sep 25, 2026
- v1.3.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分