402sentinel MCP logo

402sentinel MCP

Scores x402 counterparties and payments on Base, then recommends allow, review, or block spending policies.

Install 402sentinel MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "402sentinel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kaditang/402sentinel-mcp"
      ],
      "env": {
        "CLIENT_PRIVATE_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env CLIENT_PRIVATE_KEY=YOUR_VALUE_HERE --transport stdio 402sentinel-mcp -- npx -y @kaditang/402sentinel-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @kaditang/402sentinel-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The 402sentinel-mcp MCP server checks x402 sellers, payments, tokenized assets, and compliance conditions before an agent spends USDC. It forwards requests to the hosted 402Sentinel service, which returns risk scores, decisions, coverage, and wallet-oriented policy recommendations based on Base settlement data and other signals. Use it when an agent needs pre-payment controls, payment-routing checks, RWA transfer-risk screening, or post-payment outcome reporting.

Use cases

  • Assess an x402 seller before authorizing payment
  • Block suspicious payment routing or prompt-injected pay-to addresses
  • Apply spending caps and human approval to medium-risk counterparties
  • Screen tokenized assets before purchase
  • Record delivery outcomes for future risk scoring

Key features

  • Base on-chain counterparty risk scoring
  • Allow, review, and block decisions
  • Wallet-ready spending policies
  • Payment firewall for routing and drain signals
  • RWA transfer-restriction and issuer screening
  • Post-payment outcome reporting

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @kaditang/402sentinel-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads253Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How 402sentinel MCP works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about 402sentinel MCP

402sentinel-mcp is an MCP server that connects AI agents to the hosted 402Sentinel service for x402 payment risk checks on Base. Its main tools assess counterparties, firewall individual payments, recommend wallet spending policies, screen tokenized assets and compliance conditions, verify services, and record outcomes.

Install it globally with `npm i -g @kaditang/402sentinel-mcp`, then configure your MCP client to run the `402sentinel-mcp` command. Set `CLIENT_PRIVATE_KEY` to a Base wallet private key when using paid tools.

Yes, 402sentinel-mcp works with Cursor through its MCP server configuration. Add the server command and configure the Base wallet environment variable shown in the README.

Paid checks cost between $0.002 and $0.02 and are paid automatically in USDC on Base through x402. The reporting, firewall history, and firewall outcome tools are free.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG Preview402sentinel MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/402sentinel-mcp?style=directory)](https://allmcps.com/mcp/402sentinel-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/402sentinel-mcp"><img src="https://allmcps.com/api/badge/402sentinel-mcp?style=directory" alt="402sentinel MCP on AllMCPs" /></a>