Back to Browse

Agentguard X402 MCP Server

Developer ToolsUse Caution3.8MCP RegistryRemote
Free

Server data from the Official MCP Registry

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

About

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

Remote endpoints: streamable-http: https://agentguard-x402-mcp.onrender.com/mcp

Security Report

3.8
Use Caution3.8High Risk

AgentGuard is a DeFi token pre-trade security scanner exposed via MCP and x402 micropayments, with a purpose-aligned need for network access to Base/Solana RPCs and public APIs. Main concerns: the admin dashboard accepts ADMIN_TOKEN via a query string and the server prints it to the console at startup, the default ADMIN_TOKEN is a weak hardcoded fallback, and the stdio bridge can auto-sign EIP-3009 payments with a user-supplied private key; the facilitator and admin router code was not fully visible for review, which limits confidence. Supply chain analysis found 7 known vulnerabilities in dependencies (0 critical, 4 high severity).

9 files analyzed · 15 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

File System Read

Reads files on the server that hosts it, not on your machine.

File System Write

Writes files on the server that hosts it, not on your machine.

database

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-bfedorg-agentguard-x402-mcp": {
      "url": "https://agentguard-x402-mcp.onrender.com/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

AgentGuard — DeFi, Wallet & Web Security Suite (MCP + x402)

AgentGuard MCP server x402scan Verified MCP Registry License: MIT

Autonomous pre-trade DeFi token security, counterparty KYW wallet intelligence, DEX allowance firewall (Base & Solana), plus SSRF-safe webpage-to-Markdown extraction and DNS/TLS/anti-phishing domain security audits — monetized natively via x402 v2 (USDC) and MCP Streamable HTTP.

No API keys, no SaaS accounts, no KYC friction. Agents call free ping tools (quick_token_ping, quick_wallet_ping, quick_web_ping) to test connectivity and upgrade seamlessly to paid audits via x402 (Base EIP-3009 or Solana SPL USDC).

Quick Start for Cursor / Claude Desktop / AI Agents

Option 1 (Recommended — Zero Install): Direct Remote Streamable HTTP MCP

Connect directly to the live cloud MCP server with no local installation required:

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

Option 2: Local npx Stdio Bridge (with optional auto-signing)

Use the npm CLI bridge (agentguard-x402-mcp) when your MCP client requires stdio or when you want automatic local EIP-3009 Base USDC signing (X402_CLIENT_PRIVATE_KEY):

{
  "mcpServers": {
    "agentguard": {
      "command": "npx",
      "args": ["-y", "agentguard-x402-mcp"],
      "env": {
        "AGENTGUARD_URL": "https://agentguard-x402-mcp.onrender.com",
        "X402_MAX_USDC_PER_CALL": "0.05"
      }
    }
  }
}

(On Windows PowerShell use npx.cmd -y agentguard-x402-mcp. To enable automatic paid x402 calls via stdio, add "X402_CLIENT_PRIVATE_KEY": "<64-hex-private-key>" inside "env". Once published to npmjs.com, npx downloads and runs agentguard-x402-mcp directly; Option 1 works immediately without npm.)

Modules & Capabilities

  • Module 1 — DeFi Guard (Base & Solana): On-chain bytecode selector analysis (mint, blacklist, pause, setFee), EIP-1967/EIP-1167 proxy detection, ownership renouncement check, honeypot/tax simulation, AMM price impact, mint/freeze authority inspection, holder concentration, and maxSafeTradeUsd sizing.
  • Module 2 — WalletGuard (Base & Solana): Counterparty & whale wallet profiling (SHRIMP..WHALE tiering), ETH/SOL & USDC balance verification, GoPlus sanctions/phishing/drainer checks, plus unlimited ERC-20 DEX allowance scanning (Uniswap Permit2, Universal Router, Aerodrome, 1inch, 0x, SPL delegates).
  • Module 3 — Web & Domain Guard (Mass AI Agents):
    • Clean Webpage-to-Markdown (web_extract_markdown): Strips noise/scripts/navigation into LLM-ready Markdown while extracting structured contacts (emails, phones, social profiles), internal/external links, OpenGraph/HTML metadata, and prompt-injection/drainer warnings.
    • Deep Domain & Anti-Phishing Audit (domain_security_audit): Live DNS (A, AAAA, MX, NS, CAA, SPF, DMARC), SSL/TLS certificate & cipher inspection, HTTP security headers scoring, RDAP domain age lookup, and Punycode/homograph/brand-impersonation detection.
    • Strict SSRF Protection: Blocks localhost, .local/.internal, RFC1918 IPv4, CGNAT, link-local & cloud metadata (169.254.169.254, 100.100.100.200, fd00:ec2::254, metadata.google.internal), IPv4-mapped IPv6 (::ffff:127.0.0.1), and re-validates every DNS resolution and HTTP redirect hop with TCP IP pinning.

Pricing (x402 v2)

Tool / EndpointPricePurpose
quick_token_ping (GET /v1/defi-guard/ping)Free (5/day per IP)Token metadata, DEX liquidity USD, price & OK/CAUTION/DANGER pre-check
deep_pretrade_audit (POST /v1/defi-guard/audit)$0.015 USDCFull contract/authority audit, honeypot/tax check, holder concentration & maxSafeTradeUsd
batch_pool_scan (POST /v1/defi-guard/batch-scan)$0.050 USDCParallel audit of up to 10 Base/Solana tokens in one atomic x402 call
quick_wallet_ping (GET /v1/wallet-guard/ping)Free (5/day per IP)Wallet ETH/SOL & USDC balances, portfolio USD & whale tier pre-check
counterparty_wallet_profile (POST /v1/wallet-guard/profile)$0.010 USDCCounterparty KYW intelligence, GoPlus sanctions/phishing checks & risk verdict
wallet_approvals_audit (POST /v1/wallet-guard/approvals-audit)$0.020 USDCFull counterparty profile + unlimited DEX allowance & SPL delegate audit
quick_web_ping (GET /v1/web-guard/ping)Free (5/day per IP)SSRF-safe URL reachability, HTTPS check, title, headers count & phishing pre-check
web_extract_markdown (POST /v1/web-guard/extract)$0.005 USDCClean LLM-ready Markdown extraction + contacts, links & metadata
domain_security_audit (POST /v1/web-guard/domain-audit)$0.012 USDCDeep DNS, SSL/TLS cert, HTTP security headers, RDAP age & anti-phishing audit

Discovery Manifest

  • GET /.well-known/x402 — x402 v2 resource pricing & facilitator metadata
  • GET /.well-known/mcp.json — Remote Streamable HTTP MCP server discovery manifest
  • GET /.well-known/agent.json (/.well-known/agent-card.json) — A2A Agent Card for autonomous agent crawlers
  • GET /openapi.json — OpenAPI 3.1.0 specification with x-payment-info
  • GET /llms.txt — Concise LLM tool guide
  • GET /health — Service health & supported networks

Maintainer Commands (PowerShell / npm)

npm.cmd run build
npm.cmd test
npm.cmd run factory:publish-npm -- --dry-run
$env:NPM_TOKEN="npm_..."; npm.cmd run factory:publish-npm
npm.cmd run factory:register-routes -- --dry-run

License

MIT

Reviews

No reviews yet

Be the first to review this server!