# PayGate USDT Payment Gateway MCP

> 8-tool non-custodial 6-chain USDT/USDC payment gateway: @mcp_tool_paywall, invoice CRUD & x402.

- name: io.github.EzeLich/paygate-usdt
- version: 2.5.1
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 89/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.EzeLich%2Fpaygate-usdt
- tools: https://api.protogrid.dev/v1/servers/io.github.EzeLich%2Fpaygate-usdt/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "paygate-usdt": {
      "type": "http",
      "url": "https://chainguard-studio-production.up.railway.app/paygate/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-4d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 89/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-03-26; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 8 of 8 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 2,680 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 4 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 8, about 2,680 tokens to load them all
- tool set hash: 53740b15074c3b725dc081f5044db60d
- tools last changed: 2026-11-26T11:39:20.583Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.EzeLich/paygate-usdt.svg)](https://protogrid.dev/servers/io.github.EzeLich/paygate-usdt)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-26 `verify_onchain_transfer` changed (inputSchema) no new version (still 1.0.0)
- 2026-11-26 `create_usdt_invoice` changed (inputSchema) no new version (still 1.0.0)
- 2026-11-25 `analyze_token_alpha` removed
  - Pre-trade EVM & Solana token alpha combining live DexScreener price, liquidity, FDV, 24h volume & buy pressure with GoPlus honeypot / Solana Token-2022 PermanentDelegate + RugCheck verdict.
- 2026-11-25 `find_best_defi_yields` removed
  - Scan 15,000+ live DeFiLlama pools across Base, Arbitrum, Solana, Ethereum, Optimism, Polygon & BSC ranked by risk-adjusted sustainable APY (free top-3 preview + $0.02 USDC x402 API for top-25).
- 2026-11-25 `build_cross_chain_consolidation` removed
  - Build 1-click cross-chain consolidation calldata (LI.FI Diamond) bridging & swapping any ERC-20 token from Base, Arbitrum, Optimism, Polygon, Ethereum, BSC, Linea, or Avalanche directly into Base USDC or Arbitrum USDT (1.00% atomic fee).
- 2026-11-25 `build_evm_dust_to_usdt_sweep` removed
  - Build non-custodial exact-amount ERC-20 approve + audited KyberSwap/OpenOcean swap calldata to consolidate any EVM dust token across 8 chains into USDT or USDC (1.00% on-chain integrator fee).
- 2026-11-25 `scan_evm_dust_and_hygiene` removed
  - Zero-connect multi-chain EVM wallet scan (Base/Arbitrum/Optimism/Polygon/Ethereum) finding sweepable ERC-20 dust in USD, EIP-7702 hijacks, and open unlimited approvals.
- 2026-11-25 `check_frontend_hijack` removed
  - Inspect a DeFi frontend URL & optional EIP-1967 proxy contract for missing CSP/SRI, malicious 3rd-party JS, or unauthorized proxy upgrades.
- 2026-11-25 `reclaim_solana_rent` removed
  - Scan a Solana wallet for hidden trapped SOL in empty 0-balance SPL/Token-2022 accounts and build an unsigned CloseAccount tx (+88% net SOL back to owner, 12% atomic recovery fee).
- 2026-11-25 `audit_solidity_or_mcp` removed
  - Instant triage audit of Solidity contracts or MCP/AI agent configs for vulnerabilities & token burn.

Full history: https://api.protogrid.dev/v1/servers/io.github.EzeLich%2Fpaygate-usdt/changes

## Remotes

- https://chainguard-studio-production.up.railway.app/paygate/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (8)

- `build_x402_paywall_challenge`: Generate a standards-compliant HTTP 402 (`x402 v2`) payment challenge JSON payload, base64 `PAYMENT-REQUIRED` header, and 1-click PayGate `checkout_url` for monetizing any REST or AI-agent API endpoint in USDT/USDC. Purely read-only deterministic payload builder with zero network calls or side effects. Returns JSON with `x402Version` (`2`), `amount_usd`, `checkout_url`, `payment_required_header_b64`, and CAIP-2 `accepts` array.
- `check_usdt_subscription`: Check whether a customer (`customer_ref`) has an active non-custodial recurring USDT/USDC subscription with `merchant_wallet`, including remaining days, expiration timestamp, and a pre-filled 1-click renewal checkout URL. Read-only lookup (unlimited free calls, early renewals automatically stack remaining days without requiring `approve(MAX_UINT256)`). Returns JSON with `ok`, `active` (boolean), `days_remaining` (number), `expires_at` (ISO-8601 or null), `last_invoice_id`, and `renewal_url`.
- `create_usdt_invoice`: Create a new non-custodial multi-chain USDT/USDC payment invoice and hosted checkout page on Polygon, BSC, Arbitrum, Base, Ethereum, or Solana settling 100% directly to `merchant_wallet` with 0% platform custody. State-changing operation creating a single-use `pending` invoice record (unlimited free calls, no authentication required). Supports recurring SaaS subscriptions via optional `customer_ref` and `billing_days`. Returns JSON with `ok` (boolean), `checkout_url` (hosted payment page), and `invoice` (`invoice_id`, `status`, `amount_usd`, `network`, `merchant_wallet`, `expires_at`).
- `expire_usdt_invoice`: Cancel and expire an unpaid `pending` PayGate invoice by `invoice_id` so it can no longer be settled. Idempotent state-changing operation: transitions `pending` invoices to `expired` while leaving already-`paid` invoices untouched (unlimited free calls). Returns JSON with `ok` (boolean) and the updated `invoice` object (`status: "expired"`).
- `get_usdt_invoice`: Retrieve current settlement status, payment metadata, expiration timestamp, and cryptographic SHA-256 receipt for an existing PayGate invoice by `invoice_id`. Read-only, non-destructive lookup (unlimited free calls, no authentication required). Returns JSON with `ok` (boolean), `invoice` (`invoice_id`, `status` as `pending`/`paid`/`expired`, `amount_usd`, `network`, `merchant_wallet`, `tx_hash`, `paid_at`, `metadata`), and `receipt`.
- `list_usdt_invoices`: List and filter PayGate USDT/USDC invoices by `merchant_wallet`, settlement `status` (`pending`, `paid`, `expired`), or `customer_ref`. Read-only query returning up to `limit` most recent invoices in reverse chronological order (unlimited free calls, no authentication required). Returns JSON with `ok` (boolean), `count` (integer), and `invoices` array.
- `verify_onchain_transfer`: Statelessly verify any standalone on-chain USDT or USDC transfer transaction hash (`tx_hash`) via live blockchain JSON-RPC without requiring a pre-created PayGate invoice ID. Read-only RPC receipt inspection across `polygon`, `bsc`, `base`, `arbitrum`, `ethereum`, or `solana` confirming that `expected_recipient` received at least `min_amount_usd` in official USDT/USDC. Returns JSON with `verified` (boolean), `network`, `token` (`USDT` or `USDC`), `amount_usd`, `sender`, `recipient`, `tx_hash`, and `reason`.
- `verify_usdt_invoice`: Verify and settle a confirmed on-chain USDT/USDC transaction hash (`tx_hash`) against a PayGate `invoice_id` via live JSON-RPC receipt log inspection. Idempotent state-changing operation (unlimited free calls, anti-replay enforced): confirms recipient address, token contract, and minimum USD amount, transitions the invoice to `paid`, extends recurring `subscription_expires_at` if configured, and dispatches any configured webhook. Returns JSON with `ok` (boolean), `already_paid` (boolean), and updated `invoice` object.

## Prompts and resources

### Prompts (3)

- `` audit_smart_contract_risk ``: Audit Solidity/Rust code or a prompt for vulnerabilities and poisoning.
- `` create_usdt_checkout_invoice ``: Generate a non-custodial PayGate USDT/USDC checkout invoice link.
- `` scan_wallet_for_recovery ``: Check an EVM or Solana wallet for trapped SOL rent or sweepable dust.

### Resources (4)

- `` chainguard://llms-catalog ``: Endpoint directory, x402 pricing, and SDK links.
- `` chainguard://paygate-usdt-guide ``: API docs for creating non-custodial USDT/USDC invoices and recurring subscriptions.
- `` chainguard://pricing-and-passes ``: Free tier limits and 1-Click USDT/USDC API and MCP Pass checkout links.
- `` chainguard://supported-chains ``: Supported networks for audits, Vault Recovery, and PayGate USDT settlement.
