MCP Legiti
DEPRECATED: no live endpoint (collection-prod.inspcdn.net does not resolve)
Connector by codespar · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying MCP Legiti?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/codespar-mcp-legiti
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: payments-billing, security-scanning
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 2 read · 16 write · 0 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 18
Read from the source code; the running server may list different tools.
Read 2 · Look things up without changing anything.
evaluate_saleget_decision
Write 16 · Create, change, send or run things.
evaluate_ordermark_dispute_resolutionmark_order_fraudulenttrack_accounttrack_account_updatetrack_authtrack_eventtrack_event_viewtrack_logintrack_logouttrack_password_recoverytrack_payment
Show 4 more tools
track_saletrack_signupupdate_decision_statusupdate_order
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
LEGITI_API_KEY
Other settings (environment variables or headers).
LEGITI_BASE_URL
Network hosts it talks to 7
codespar.dev· found in codecollection-prod.inspcdn.net· found in codedocs.legiti.com· found in codegithub.com· found in codegoogle.com· found in codelegiti.com· found in codelogo.clearbit.com· found in code
Tools (18)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
evaluate_orderSubmit an order to Legiti for real-time fraud evaluation via the v2 order endpoint. Returns a decision (approve / reject / manual) synchronously — response may take up to ~20s. Include as much context as possible: account, payment (tokenized card bin+last4), CPF, billing/shipping, and for ticketing flows the event_date_id / sale_items.
evaluate_saleLegacy single-shot sale evaluation via POST /evaluation. Synchronous — returns { inspetor_decision: 'approve' | 'reject' | 'manual' }. Prefer evaluate_order (v2) for new integrations; use this when you only have the minimal required fields or for feature parity with older Legiti/Inspetor integrations.
get_decisionFetch the latest Legiti decision for an order. Returns the decision (approve / reject / manual), score, and the contributing reason codes. Useful for re-checking a sale after async re-scoring or for audit/UI display.
mark_dispute_resolutionReport the outcome of a chargeback dispute back to Legiti — i.e. whether the merchant won or lost the chargeback case after representation. Complements mark_order_fraudulent (which reports the chargeback itself). Disputes won are valuable counter-signal.
mark_order_fraudulentReport a confirmed chargeback / fraud outcome back to Legiti. This is Legiti's primary ML feedback channel — unreported chargebacks degrade future decision quality for similar buyers. Call this after the issuer confirms the chargeback, not on mere suspicion.
track_accountNotify Legiti of an account lifecycle event (created / updated / deleted). Legiti's ML model treats the Account as a primary entity and needs every state change to score future sales accurately.
track_account_updateNotify Legiti of an account profile change (email, phone, CPF, address). Convenience wrapper over track_account with action='update'. Pass any fields that changed — omitted fields are not interpreted as cleared.
track_authNotify Legiti of an authentication or password event (login attempt, logout, password recovery request, password reset). Login/logout and password activity are strong signals for account-takeover fraud — feed every attempt, successful or failed.
track_eventNotify Legiti of an Event (concert, show, match, session) lifecycle change. Events are primary entities in Legiti's ticketing-native model — scoring for ticket sales depends on up-to-date event metadata (date, venue, capacity, price tiers).
track_event_viewNotify Legiti that a user viewed an event/show page. Browse signal — feeds Legiti's session model so the eventual evaluate_order has context for 'did this buyer actually look at the show before buying tickets?'. Optional but recommended for ticketing flows.
track_loginNotify Legiti of a login attempt (successful or failed). Convenience wrapper over track_auth that hard-codes action='login'. Failed logins are critical signal for ATO (account-takeover) — feed every attempt, including the ones blocked by your auth layer.
track_logoutNotify Legiti of a logout event. Convenience wrapper over track_auth with action='logout'. Useful for session-duration features in ATO models.
track_password_recoveryNotify Legiti of a password recovery request (the 'forgot password' click). Convenience wrapper over track_auth with action='password_recovery'. Recovery floods are a strong ATO signal.
track_paymentNotify Legiti of a payment-method-level event (authorization attempt, capture, refund, void). Distinct from track_sale, which is order-level. Use this when you process payments separately from sale state — e.g. multi-installment captures or refund flows.
track_saleNotify Legiti of a Sale state change (created / updated). For initial sale creation without asking for a decision, set request_evaluation=false on evaluate_order instead. Use this for post-creation updates that aren't status transitions (e.g. sale items added/removed before capture).
Show 3 more tools
track_signupNotify Legiti of a new account creation. Convenience wrapper over track_account with action='create'. Send this at the moment the account is provisioned — Legiti uses signup recency as a fraud signal.
update_decision_statusManually override Legiti's decision for an order — typically used to accept or decline a sale that landed in 'manual' review after analyst inspection. The override is recorded as feedback for the ML model.
update_orderNotify Legiti of a status change on an existing order (e.g. payment captured, shipped, cancelled, refunded). Feeds the ML model — required for ongoing decision quality. Use mark_order_fraudulent for confirmed chargebacks instead.
Signals
- Stars
- 274
- Forks
- 51
- Open issues
- 14
- Weekly downloads
- 17
- Last commit (this folder)
- Sep 27, 2026 (1 month ago)
- Last release
- Sep 27, 2026 (1 month ago)
- Last package publish
- Sep 27, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.codespar/mcp-legiti- Version
- 0.2.0-alpha.4
- Auth
- API key
- Packages
- npm @codespar/mcp-legiti
- License
- MIT
- Repository
- github.com/codespar/mcp-dev-latam
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
More from codespar
- 0.692score
MCP Bcra
codespar
BCRA — Argentine Central Bank public data (exchange rates, inflation, reserves)
ConnectorAFreshness: ALocalRead-only★ 274↓ 26/wkClaude Code +5 - 0.691score
MCP Certta
codespar
DEPRECATED: no live endpoint (api.certta.com.br does not resolve)
ConnectorAFreshness: ALocal★ 274↓ 22/wkClaude Code +5 - 0.690score
MCP Nubank
codespar
DEPRECATED: no live endpoint (api.nubank.com.br does not resolve)
ConnectorAFreshness: ALocal★ 274↓ 20/wkClaude Code +5 - 0.690score
MCP Dock
codespar
DEPRECATED: no live endpoint (api.dock.tech does not resolve)
ConnectorAFreshness: ALocal★ 274↓ 20/wkClaude Code +5 - 0.690score
MCP Mercado Libre
codespar
Mercado Libre — LATAM marketplace, product search, orders, sellers, shipments
ConnectorAFreshness: ALocal★ 274↓ 20/wkClaude Code +5 - 0.690score
MCP Ap2
codespar
DEPRECATED: no live endpoint (AP2 is a spec; ap2.googleapis.com serves no API)
ConnectorAFreshness: ALocal★ 274↓ 19/wkClaude Code +5
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get MCP Legiti running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
MCP Legiti. Agent Mart. https://agentmart.dev/connectors/codespar-mcp-legiti (last updated 2026-10-25)