Skip to content
Agentmart
Submit a tool

MCP Legiti

DEPRECATED: no live endpoint (collection-prod.inspcdn.net does not resolve)

Connector by codespar · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 274
Write a review

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.

Book a call

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.

We use your email only for this newsletter. Privacy

About

DEPRECATED: no live endpoint (collection-prod.inspcdn.net does not resolve)

Use cases: payments-billing, security-scanning

No 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_sale
  • get_decision

Write 16 · Create, change, send or run things.

  • evaluate_order
  • mark_dispute_resolution
  • mark_order_fraudulent
  • track_account
  • track_account_update
  • track_auth
  • track_event
  • track_event_view
  • track_login
  • track_logout
  • track_password_recovery
  • track_payment
Show 4 more tools
  • track_sale
  • track_signup
  • update_decision_status
  • update_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 code
  • collection-prod.inspcdn.net · found in code
  • docs.legiti.com · found in code
  • github.com · found in code
  • google.com · found in code
  • legiti.com · found in code
  • logo.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_order

    Submit 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_sale

    Legacy 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_decision

    Fetch 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_resolution

    Report 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_fraudulent

    Report 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_account

    Notify 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_update

    Notify 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_auth

    Notify 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_event

    Notify 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_view

    Notify 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_login

    Notify 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_logout

    Notify Legiti of a logout event. Convenience wrapper over track_auth with action='logout'. Useful for session-duration features in ATO models.

  • track_password_recovery

    Notify 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_payment

    Notify 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_sale

    Notify 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_signup

    Notify 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_status

    Manually 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_order

    Notify 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
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026

More from codespar

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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying MCP Legiti?

CallGet help
Cite this page

MCP Legiti. Agent Mart. https://agentmart.dev/connectors/codespar-mcp-legiti (last updated 2026-10-25)