# 402sentinel-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/kaditang/402sentinel-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 253  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/402sentinel-mcp

## Description
Assess an x402 counterparty's risk BEFORE paying: allow/review/block, scored on-chain (Base).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "402sentinel-mcp": {
    "command": "npx",
    "args": ["-y","@kaditang/402sentinel-mcp"],
    "env": {
      "CLIENT_PRIVATE_KEY": ""
    }
  }
}
```

**Requires environment variables:** `CLIENT_PRIVATE_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What 402sentinel-mcp MCP server does

The 402sentinel-mcp MCP server gives an agent ten tools for evaluating x402 payments before authorization and recording what happened afterward. Seller assessments return a 0–100 risk score, an `allow`, `review`, or `block` decision, confidence and coverage information, and, where applicable, a recommended spending policy. The service evaluates signals such as address age, facilitator-aware payer diversity, settlement maturity, and delivery outcomes from its reliability feedback loop.

The `assess_counterparty` tool performs a standard seller check, while `assess_counterparty_deep` scans more on-chain history at a higher fee. `recommend_policy` produces a decision and wallet-ready limits, including maximum payment, daily cap, denylist handling, and human-approval requirements. `report_outcome` records whether delivery succeeded after payment.

Buyer-side controls use `firewall` to inspect a specific payment for routing substitution, unusual drain velocity, overcharging, injection-sourced payment instructions, and sanctions or illicit-party signals. `firewall_record` seeds payment history, and `firewall_outcome` records whether a firewall verdict was accurate.

## How it works

The package is a thin client for `https://402sentinel.com`. Scoring and facilitator-identification logic run on the hosted service rather than in the open-source package. Paid requests use standard x402 `exact` EIP-3009 transfers on Base and are paid in USDC by the configured wallet. The facilitator submits the transfer, so the wallet does not need ETH for gas.

`assess_rwa` evaluates a tokenized treasury, stock, or credit asset. Its checks include proxy-aware transfer restrictions, behavioral transfer simulation, pause state, issuer identity, and issuer sanctions. `compliance_check` screens for OFAC sanctions, counterparty due-diligence tier, structuring or smurfing indicators, and the FATF Travel-Rule threshold.

`verify_service` submits a pay-to address for an opt-in 402Sentinel Verified review. A passing review produces a signed, time-limited credential and public allow-list entry; failures remain private.

## Setup and configuration

Install the package globally with `npm i -g @kaditang/402sentinel-mcp`. Configure the MCP client to run `402sentinel-mcp` and provide `CLIENT_PRIVATE_KEY` for a Base wallet holding USDC. Paid tools cost between $0.002 and $0.02; free reporting and history tools do not need the key.

Agents can call the tools through MCP, or an application can call the hosted firewall endpoint directly using a standard x402 v2 client.

## Tools and capabilities

- Assess seller risk with shallow or deeper Base history scans.
- Convert assessment results into payment caps, daily limits, denylist actions, or approval requirements.
- Inspect payment routing, amount, velocity, and untrusted-text context before payment.
- Screen tokenized assets for transfer, redemption, pause, issuer, and sanctions risks.
- Run sanctions and compliance checks, and submit service-verification requests.
- Record delivery and firewall outcomes to provide feedback to the service.

## Limitations and notes

The 402sentinel-mcp MCP server provides probabilistic signals from limited public on-chain data and heuristics. Scores can misclassify parties and should not be treated as advice, endorsement, accusation, or the sole basis for paying or refusing payment. The scoring model is closed and hosted remotely, so this package does not independently reproduce its results. Paid calls require USDC in the configured Base wallet, and `verify_service` is opt-in rather than a general guarantee of service quality.

_Full upstream README: https://allmcps.com/mcp/402sentinel-mcp/readme_

