npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-konduto

v0.2.0-alpha.3

Published

MCP server for Konduto — Brazilian fraud prevention, API-first order risk scoring, behavioral device intelligence, and blocklist/allowlist/reviewlist management

Readme

@codespar/mcp-konduto

MCP server for Konduto — Brazilian fraud prevention, API-first.

Second entry in the CodeSpar fraud category after @codespar/mcp-clearsale. Konduto sits alongside ClearSale as one of the two default antifraud layers BR merchants evaluate, and the two are often deployed in parallel for score comparison or failover.

Positioning vs. ClearSale

| | ClearSale | Konduto | |--------------------------|-------------------------------------|------------------------------------------| | Founded | 2001 (São Paulo) | 2014 (São Paulo) | | Strength | Larger chargeback history database | Behavioral device intelligence | | Shape | ML scoring + manual review services | API-first, tighter surface, dev-oriented | | Typical pairing | Default for large BR retail | Default for digital-native BR ecommerce |

Merchants commonly run both in parallel: Konduto for the fast behavioral signal, ClearSale for the long-tail chargeback history. When one flags review and the other flags approved, the merchant routes the order to manual inspection.

Tools (18)

| Tool | Purpose | |---|---| | send_order_for_analysis | Submit an order to Konduto for fraud analysis. | | get_order | Retrieve the current analysis state of an order. | | update_order_status | Notify Konduto of the merchant's final status for an order. | | report_chargeback | Report a confirmed chargeback for an order. | | report_order_approved | Report that an order was ultimately approved by the merchant. | | report_order_declined | Report that an order was ultimately declined by the merchant. | | add_to_blocklist | Add a value to the Konduto blocklist. | | query_blocklist | Check whether a value is currently on the Konduto blocklist. | | update_blocklist_entry | Update an existing blocklist entry — typically used to extend or shorten the expiration window (expires_at)... | | remove_from_blocklist | Remove a value from the Konduto blocklist. | | add_to_allowlist | Add a value to the Konduto allowlist (trusted). | | query_allowlist | Check whether a value is currently on the Konduto allowlist. | | update_allowlist_entry | Update an existing allowlist entry — typically to extend or shorten the expiration window. | | remove_from_allowlist | Remove a value from the Konduto allowlist. | | add_to_reviewlist | Add a value to the Konduto reviewlist. | | query_reviewlist | Check whether a value is currently on the Konduto reviewlist. | | update_reviewlist_entry | Update an existing reviewlist entry — typically to extend or shorten the expiration window without removing... | | remove_from_reviewlist | Remove a value from the Konduto reviewlist. |

Install

npm install @codespar/mcp-konduto@alpha

Environment

KONDUTO_API_KEY="T00000..."          # private key; required
KONDUTO_BASE_URL="..."               # optional; defaults to https://api.konduto.com/v1

Authentication

HTTP Basic. The API key is the username; password is empty:

Authorization: Basic base64(KONDUTO_API_KEY + ":")

The server handles the base64 encoding — pass the raw key in KONDUTO_API_KEY.

Typical flow

  1. Embed Konduto's browser JS SDK on the merchant checkout page. It captures a visitor id (behavioral + device signals).
  2. At order submit, call send_order_for_analysis with the full order payload and the visitor id.
  3. Act on the response: approved ships it, declined blocks it, review holds for manual inspection or a second signal from ClearSale.
  4. Once the order lifecycle completes, call update_order_status with approved / canceled / fraud — this feeds Konduto's model.
  5. When a chargeback is confirmed, call update_order_status with status fraud. This is Konduto's primary ML feedback channel (there is no separate /chargebacks endpoint in the public docs).
  6. Use add_to_blocklist to permanently block specific emails / IPs / card BIN+last4 pairs observed in confirmed fraud.

Alpha note

This package is shipped as 0.1.0-alpha.1. Scope vs. the original brief:

  • Verified against docs.konduto.com:

    • POST /orders (send_order_for_analysis)
    • POST/GET/DELETE /blacklist/{type} (blocklist family)
    • /whitelist/{type} (allowlist) and /greylist/{type} (reviewlist), indexed under "APIs de Blocklist, Allowlist e Reviewlist"
  • Standard REST pattern, not separately indexed in the public reference (used by Konduto's official client libraries):

    • GET /orders/{id} (get_order)
    • PUT /orders/{id} (update_order_status)
  • Dropped — not documented publicly:

    • POST /disputes — no dispute submission endpoint on docs.konduto.com
    • POST /cards/analyze — no card-only pre-check endpoint documented
    • GET /visitors/{visitor_id} — visitor ids are referenced on the order (visitor field) but no public retrieval endpoint exists

Chargeback feedback is folded into update_order_status with status: fraud, which is Konduto's documented feedback channel.

Promote to 0.2.0 once the dropped endpoints are confirmed (via private docs or direct API response), or once Konduto publishes a broader public reference.

Run

# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-konduto

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-konduto

Category

fraud — second server in this CodeSpar category after ClearSale. 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