# AgentGuard DeFi Pre-Trade Firewall (Base & Solana)

> Pre-trade honeypot, rug-pull, and tax scanner for Base and Solana DeFi AI trading agents via x402.

- name: io.github.bfedorg/agentguard-x402-mcp
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 77/100 (new)
- charges per call: the server says so (`` batch_pool_scan `` $0.05, `` counterparty_wallet_profile `` $0.01, `` deep_pretrade_audit `` $0.015, `` wallet_approvals_audit `` $0.02)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.bfedorg%2Fagentguard-x402-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.bfedorg%2Fagentguard-x402-mcp/tools

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

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "agentguard-x402-mcp": {
      "type": "http",
      "url": "https://agentguard-x402-mcp.onrender.com/mcp"
    }
  }
}
```


## Trust

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

## Quality 77/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 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: 78 (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
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: quick_token_ping (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); deep_pretrade_audit (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); batch_pool_scan (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 981 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 names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

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

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 0 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: 6, about 981 tokens to load them all
- tool set hash: 7814b38e8b48d702efb0294f14f6abd9
- tools last changed: 2026-11-28T23:31:44.067Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.bfedorg/agentguard-x402-mcp.svg)](https://protogrid.dev/servers/io.github.bfedorg/agentguard-x402-mcp)
- 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-28 `wallet_approvals_audit` added
  - PAID ($0.020 USDC via x402). Full wallet security audit + unlimited ERC-20 DEX allowance scan across Uniswap Permit2, Universal Router, Aerodrome, 1inch & 0x (Base) or SPL delegates (Solana).
- 2026-11-28 `counterparty_wallet_profile` added
  - PAID ($0.010 USDC via x402). Counterparty KYW / whale intelligence on Base and Solana: balances, tx activity, sanctions/phishing/drainer checks (GoPlus), and SAFE/CAUTION/HIGH_RISK verdict.
- 2026-11-28 `quick_wallet_ping` added
  - FREE wallet pre-check (shared daily IP quota). Returns ETH/SOL + USDC balances, whale tier (SHRIMP/DOLPHIN/SHARK/WHALE), and high-level OK/CAUTION/DANGER status on Base or Solana.

Full history: https://api.protogrid.dev/v1/servers/io.github.bfedorg%2Fagentguard-x402-mcp/changes

## Remotes

- https://agentguard-x402-mcp.onrender.com/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (6)

- `batch_pool_scan`: PAID ($0.05 USDC via x402). Audits up to 10 tokens across Base and Solana in parallel and returns ranked verdicts and safe position limits.
- `counterparty_wallet_profile`: PAID ($0.010 USDC via x402). Counterparty KYW / whale intelligence on Base and Solana: balances, tx activity, sanctions/phishing/drainer checks (GoPlus), and SAFE/CAUTION/HIGH_RISK verdict.
- `deep_pretrade_audit`: PAID ($0.015 USDC via x402). Full pre-trade firewall for Base ERC-20 and Solana SPL tokens: honeypot detection, buy/sell tax, bytecode admin selectors, proxy check, mint/freeze authorities, top-10 holder concentration, price impact, and deterministic ALLOW/WARN/BLOCK verdict with maxSafeTradeUsd.
- `quick_token_ping`: FREE pre-check (up to 5/day per IP). Returns token metadata, DEX liquidity USD, price, and high-level OK/CAUTION/DANGER status on Base or Solana before deciding on a paid deep_pretrade_audit.
- `quick_wallet_ping`: FREE wallet pre-check (shared daily IP quota). Returns ETH/SOL + USDC balances, whale tier (SHRIMP/DOLPHIN/SHARK/WHALE), and high-level OK/CAUTION/DANGER status on Base or Solana.
- `wallet_approvals_audit`: PAID ($0.020 USDC via x402). Full wallet security audit + unlimited ERC-20 DEX allowance scan across Uniswap Permit2, Universal Router, Aerodrome, 1inch & 0x (Base) or SPL delegates (Solana).
