MCP.so
登录

X402 Trust Layer

@mimranchohan

关于 X402 Trust Layer

x402 Trust Layer is the trust, security & settlement control plane for autonomous agent payments. It exposes 13 MCP tools that an agent calls around every x402 (HTTP 402) payment:

基本信息

分类

其他

传输方式

stdio

发布者

mimranchohan

提交者

mimranchohan

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "trust-layer": {
      "command": "npx",
      "args": [
        "-y",
        "@mimranakb/trust-layer-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "0x..."
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is X402 Trust Layer?

X402 Trust Layer is a control plane for autonomous agent commerce — a suite of 59 paid x402 APIs that AI agents call before, during, and after spending money to decide trust, allow payments, choose cheapest rails, and verify response value. It settles in USDC over the Dexter facilitator on Base or Solana and is live at x402trustlayer.xyz.

How to use X402 Trust Layer?

Install the npm package x402-trust-layer, configure environment variables (e.g., WEBHOOK_SECRET, AGENT_RATE_LIMIT_PER_MIN, TRUSTSCORE_RPC_TIMEOUT_MS, PRE_X402_GUARD_TIMEOUT_MS), and call the endpoints at https://x402trustlayer.xyz. Wallet Sessions require a $0.10 USDC payment once for a session token.

Key features of X402 Trust Layer

  • Guard preflight spend and risk checks before payment.
  • Attestation issues agent credentials and liability insurance.
  • Performance caching delivers sub-15 ms on-chain reads.
  • Compliance ledgers, disputes, and refund auditing.
  • Settlement rail optimization and metered escrow sessions.
  • Wallet Sessions skip per-call settlement via HMAC tokens.

Use cases of X402 Trust Layer

  • Preflight spend checks and payload sandboxing before any payment.
  • Merchant trust evaluation via on-chain ERC-8004 reputation.
  • Optimal payment rail selection (USDC, EURC, PYUSD, USDT).
  • Post-payment response value verification and receipt auditing.
  • Compliance ledgers, dispute resolution, and refund arbitration.

FAQ from X402 Trust Layer

What payment rails does X402 Trust Layer support?

Primary rail is USDC on Base and Solana via Dexter. Multi-stablecoin fallback adds EURC (MiCA/EU), PYUSD (Stripe regulated), and USDT on Base and Polygon.

What are Wallet Sessions?

Pay $0.10 USDC once for an HMAC-signed session token; attach the x-session-token header on subsequent calls to skip per-call settlement. Sessions expire after 24 hours and support max_calls caps, persisted in SQLite.

What is ERC-8004?

An on-chain agent identity and reputation registry on Base mainnet (contracts 0x8004A169… and 0x8004BAa1…). Responses are cached with 120 s TTL for sub-15 ms lookup. Over 16,500 agents are already registered.

Are there free endpoints?

Yes: POST /api/alchemy/paymaster-policy, POST /api/alchemy/notify-webhook, POST /api/alchemy/simulate-shield, and GET/POST /api/solana-pay/action/agent-verify are free. Webhook and simulation routes bypass x402 payment checks.

How does caching work?

In

评论

其他 分类下的更多 MCP 服务器