
LeanTrading MCP
io.leantrading由 leantrading.io 發布官方發布者v1.2.0更新於 Oct 24, 2026
OAuth LeanTrading tools for eligible Pro, Elite, Blueprint, and Admin users.
概覽
託管的 LeanTrading MCP 伺服器,透過 OAuth 將 MCP 用戶端連接到 LeanTrading 交易助理,僅限符合資格的付費帳戶。
- 可以做什麼
- 透過 OAuth 2.1 與 PKCE 將 MCP 用戶端連接到託管的 LeanTrading 助理介面,無需手動複製工作階段權杖。取得使用者的 LeanTrading 系統脈絡、情報、風險預覽、建議與圖表資料。需由用戶端明確要求圖表、寫入與執行能力,這些能力仍受 LeanTrading 權限範圍檢查與確認流程約束。未公布工具清單,因此具體操作在此不另說明。
- 適用情境
- 當你已擁有符合資格的 LeanTrading 帳戶(Pro、Elite、Blueprint、Admin,或處於前 14 天試用期內的 Product Tester),並希望 Cursor、Claude 或其他 MCP 用戶端使用你的 LeanTrading 脈絡、風險預覽與圖表資料時使用。
- 執行需求
- 透過 streamable HTTP 存取的遠端託管端點,無需本機套件或執行環境。需要 OAuth 連接 LeanTrading,且帳戶為符合資格的付費帳戶;Explorer 與免費帳戶無權存取。圖表、寫入與執行能力必須由用戶端明確要求。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 LeanTrading MCP,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.leantrading%2Fleantrading-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"leantrading": {
"type": "http",
"url": "https://www.leantrading.io/api/mcp"
}
}
}README
LeanTrading MCP
Connect Cursor, Claude, and other MCP clients to the hosted LeanTrading assistant surface through OAuth 2.1/PKCE.
Hosted server
The server requires a LeanTrading OAuth connection and an eligible account: paid Pro/Elite/Blueprint/Admin, or Product Tester during the first 14 days of the tester grant. After that window, Product Tester must upgrade to Pro. Explorer and free accounts are not granted hosted MCP access.
Installation
This repository contains the marketplace metadata and Cursor plugin wrapper. It does not contain credentials and does not require a manually copied Supabase session JWT.
The default OAuth request is read-only. Chart, write, and execute capabilities must be explicitly requested by the client and remain subject to LeanTrading scope checks and confirmation boundaries.
Safety boundaries
- OAuth authorization uses PKCE with the S256 method.
- Access and refresh tokens are not stored in plaintext by the server.
- Entitlements are checked again on every hosted MCP call.
- Webhook secrets are redacted and are not returned by the MCP tools.
- Silent broker order placement is not exposed as an MCP operation.
- Chart and alert mutations require stronger scopes and confirmation flows.
Marketplace listing is not a security certification. Review the source, requested scopes, and the LeanTrading privacy/security notices before connecting an account.
Repository packaging
This directory is the export bundle for the public
LeanTrading/leantrading-mcp repository. It contains metadata and a thin
wrapper for the hosted service; it does not contain the private server source.
Before submitting it to a marketplace:
- Keep the repository public and limited to this bundle.
- Keep the repository URL in
server.jsonandplugin.jsonsynchronized. - Keep the hosted endpoint and version in all metadata synchronized with the deployed server.
- Publish the approved data-retention and deletion policy before final marketplace submission.
Privacy note
MCP requests can expose the user's requested LeanTrading system context, intelligence, risk-preview, advisory, and charting data to the connected client. Hosted MCP calls are audited using server-side metadata such as user, client, event, tool, status, and structured metadata; raw tool arguments are not stored. This metadata is retained only as long as necessary to provide the service, protect it, and comply with legal obligations, then deleted or anonymized when no longer needed. Account deletion remains subject to short backup cycles and statutory retention duties.
MCP hosting and database/authentication subprocessors include Vercel and
Supabase. Data-protection requests can be sent to [email protected].
來源:README.md,提交 d6fa5e3
工具
0版本歷史
1- v1.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分