
Mcp Legiti
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.4更新於 Oct 27, 2026
DEPRECATED: no live endpoint (collection-prod.inspcdn.net does not resolve)
概覽
已棄用的 Legiti 反詐欺 MCP 伺服器:可提交訂單進行詐欺評估並回報帳戶、交易與拒付事件,但其預設端點已無法解析。
- 可以做什麼
- 提交訂單及舊版銷售單進行同步詐欺評估,回傳 approve、reject 或 manual 決策
- 取得訂單最新決策,並手動覆寫或更新決策狀態
- 回傳訂單狀態變更、已確認詐欺及拒付爭議結果
- 回報帳戶、驗證、登入、登出、註冊、密碼復原與資料更新事件
- 追蹤票務活動、活動瀏覽、銷售以及付款方式事件(授權、請款、退款、作廢)
- 適用情境
- 僅在你已有可用的 Legiti 端點與合約時才考慮,因為預設主機無法解析且此套件在 npm 上已棄用。否則不值得安裝,僅供參考保留。
- 執行需求
- 透過 npm 套件以 stdio 在本機執行(npx 或 npm install)。需要 LEGITI_API_KEY 中的 Legiti API 金鑰(JWT bearer 權杖),可選 LEGITI_BASE_URL,其預設主機目前無法解析。需要 Legiti 帳戶及獨立的沙箱與正式金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Legiti,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-legiti
Deprecated: no live endpoint. Measured on 2026-09-27 against two public DNS resolvers (8.8.8.8 and 1.1.1.1):
collection-prod.inspcdn.net, the host this server calls, does not resolve in DNS. No tool in this server reaches a service. The package is deprecated on npm and stays in this repository for reference only. If you have a working endpoint, point the server at it withLEGITI_BASE_URL. To bring the package back, open an issue in mcp-dev-latam with the provider's documented base URL.
MCP server for Legiti — Brazilian fraud prevention, ticketing-native with a simple synchronous evaluation API.
Fourth entry in the CodeSpar fraud category, after @codespar/mcp-clearsale, @codespar/mcp-konduto, and @codespar/mcp-sift. Legiti (formerly Inspetor, São Paulo) occupies the mid-size BR tier: smaller public footprint than ClearSale, more vertical depth than Konduto for ticketing / events, and a simpler API surface than Sift.
Positioning
BR merchants frequently bundle 2-3 of these for best-of-breed scoring — Legiti for its ticketing-specific signals, ClearSale or Konduto for the generalist fraud layer, Sift for cross-border flows.
Tools (18)
Install
Environment
Authentication
Bearer token (JWT-format):
Legiti issues separate sandbox and production keys. The sandbox key tags every request as test data so it does NOT train the ML model. Always develop and run integration tests with the sandbox key — hitting production with test data pollutes the model.
Decision values
evaluate_order and evaluate_sale return one of three decisions:
approve— ship itreject— block the salemanual— route to manual review
Evaluation is synchronous; the response may take up to ~20 seconds.
Typical flow (ticketing)
- At signup / login, call
track_account(create/update) andtrack_auth(login/logout, password_recovery, password_reset). Every auth attempt — successful or failed — is valuable signal for account-takeover detection. - When a new event (concert, show, match) is published on the platform, call
track_event(create). Update on price/capacity/date changes. - At checkout, call
evaluate_orderwith the sale, account, payment, CPF, and the primaryevent_date_id. Act on the returned decision:approve→ ship,reject→ block,manual→ human review. - As the order progresses (paid, shipped, delivered, cancelled, refunded), call
update_order. - When a chargeback is confirmed by the issuer, call
mark_order_fraudulent. This is Legiti's primary ML feedback channel — unreported chargebacks degrade future decision quality for similar buyers.
Typical flow (non-ticketing ecommerce)
Skip track_event. The event_date_id fields become optional in evaluate_order — Legiti will still evaluate on account + sale + payment signal, though ticketing-vertical features will be unused.
Alpha note
Shipped as 0.1.0-alpha.1. Legiti's public documentation is tighter than ClearSale's or Konduto's:
- Documented in open-source
github.com/legiti/docs-backend:POST /evaluation, plus the Collection API (account, event, sale, transfer, auth, password) shape and theAuthorization: Bearerscheme. - Documented on
docs.legiti.comintegration guides: the v2 order family (POST /v2/order,PUT /v2/order,POST /v2/order/mark_fraudulent). - Dropped from the original category spec:
create_rule/list_rules/update_rule/delete_rule— no public custom-rules surface exists on Legiti. If a customer contract exposes one, promote to0.2.0.
Promote to 0.1.0 once the v2 order payload schema is confirmed in production.
Run
Category
fraud — fourth server in this CodeSpar category alongside ClearSale, Konduto, and Sift. Fraud servers share a common shape (analyze → decide → feedback) distinct from payments, which makes cross-provider swaps (ClearSale ↔ Konduto ↔ Legiti) more straightforward than cross-acquirer swaps.
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
來源:packages/fraud/legiti/README.md,提交 d0a519a
工具
0版本歷史
2- v0.2.0-alpha.4最新Sep 27, 2026
- v0.2.0-alpha.3Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分