# X402 Payment Safety

> X402 Payment Safety is a paid MCP server for finance and payments. Get one signed allow or block decision for an exact x402 payment before signing. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://agent-guild-5d5r.onrender.com/.well-known/mcp/payment-safety-server-card.json
- **Repository:** https://github.com/agenttanuki/agent-guild
- **MCP Registry name:** io.github.AgentTanuki/x402-payment-safety
- **Categories:** finance and payments, security
- **Listing updated:** 2026-11-14

## About

This is the single-purpose payment endpoint split out of Agent Guild. Its one tool, guild_x402_payment_safety, is meant to be called immediately before a wallet signs an x402 payment. You give it the exact payment (scheme, CAIP-2 network, asset contract, atomic amount, payee and resource URL), optionally a capability and risk or confidence thresholds, and it returns a short-lived, signed credential saying allow or block for that exact payment. The credential can be verified offline.

The call is paid. An unpaid request gets a full x402 v2 challenge for the exact request digest, and the retry carries the payment either in request metadata or as a signed payload. The server card says the decision is issued before metering, so malformed inputs or signing failures are never charged, and that an api_key draws on sandbox credits. A free identity-only alternative, a wallet-binding lookup by address and network, exists over HTTP.

No authentication is required to connect, and the tool is priced in USDC on Base per the server card. The default time-to-live is 300 seconds.

## Features

- **Request-bound decision:** The verdict applies to one exact payment, payee and resource.
- **Signed credential:** Short-lived allow or block credential verifiable offline.
- **Policy thresholds:** Optional max risk and minimum confidence; server baselines can only be stricter.
- **x402 challenge:** Unpaid calls receive a complete x402 v2 challenge.
- **No charge on bad input:** Malformed inputs and signing failures are not metered.
- **Free alternative:** A free identity-only lookup by address and network.

## Good for

- Authorize an agent's payment before the wallet signs
- Block transfers to a payee with a poor record
- Keep a verifiable record of why a payment was allowed
- Set stricter risk limits for large transfers

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http x402-payment-safety https://agent-guild-5d5r.onrender.com/mcp/payment-safety/
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-guild-5d5r.onrender.com/mcp/payment-safety/
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "x402-payment-safety": {
      "url": "https://agent-guild-5d5r.onrender.com/mcp/payment-safety/"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "x402-payment-safety": {
      "type": "http",
      "url": "https://agent-guild-5d5r.onrender.com/mcp/payment-safety/"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-payment-safety": {
      "serverUrl": "https://agent-guild-5d5r.onrender.com/mcp/payment-safety/"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "x402-payment-safety": {
      "type": "http",
      "url": "https://agent-guild-5d5r.onrender.com/mcp/payment-safety/"
    }
  }
}
```

## Tools

- `guild_x402_payment_safety`: Authorize an x402 payment before signing; returns a signed allow or block decision.

## FAQ

### Is the tool free?

No, it is marked paid and settles in USDC on Base; a free identity-only lookup exists over HTTP.

### Do I need to sign in?

The server card lists no required authentication.

### How long does a decision last?

The default time-to-live is 300 seconds.

### Am I charged for malformed requests?

No. The decision is issued before metering.

### Is X402 Payment Safety free?

No. X402 Payment Safety is a paid product.

### How do I add X402 Payment Safety to Claude Code?

Run this command in your terminal: claude mcp add --transport http x402-payment-safety https://agent-guild-5d5r.onrender.com/mcp/payment-safety/

### What are the best alternatives to X402 Payment Safety?

The closest alternatives to X402 Payment Safety are REA, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Agent Roast and Midplane.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/x402-payment-safety
