Skip to main content
Glama

AgentRisk M2M šŸ›”ļø

Pre-Trade Security Layer for Autonomous DeFi Agents on Base. Stop letting your autonomous trading bots get rekt by stealth honeypots, malicious taxes, and rugpulls.


⚔ The Problem

Autonomous trading bots are fast, but they are completely blind. Every minute, hundreds of unvetted tokens launch on Base. Over 90% are engineered traps designed to block sells, drain executing wallets, or alter transfer taxes at the worst possible moment. Static blocklists (like standard free APIs) are useless against freshly deployed, obfuscated contracts. By the time human-curated lists update, your bot's capital is already gone.

Related MCP server: hyperd-mcp

šŸŽÆ The Solution

AgentRisk is an isolated, machine-readable security API built specifically for AI agents and automated scripts. Before your bot executes a swap() on Uniswap or Aerodrome, it pings AgentRisk. We run a deep runtime simulation, trace the deployer's dirty history, and return a strict, binary verdict:

{
  "status": "success",
  "token": "0xYourTargetToken...",
  "recommendation": "REJECT",
  "confidence": 0.99,
  "reasons": [
    "Honeypot detected: sell simulation failed",
    "Deployer address linked to multiple previous rugpulls"
  ]
}āš™ļø How It Works (M2M Architecture)
Agent Discovers Token via mempool or DEX router event.

Agent Calls AgentRisk MCP Tool (check_token_risk).

Instant x402 Micropayment ($0.15 USDC instantly settled on Base — no cumbersome API keys, subscriptions, or credit cards; pure machine-to-machine payment).

Binary Decision: The agent receives ALLOW, CAUTION, or REJECT. If it's not ALLOW, the bot aborts the trade instantly.

šŸš€ Quick Integration
Option 1: MCP Server (For Claude, Cursor & Custom Agents)
Add AgentRisk to your MCP config:
{
  "mcpServers": {
    "agentrisk": {
      "command": "python",
      "args": ["-m", "agentrisk_m2m.server"]
    }
  }
}
Option 2: Direct Python SDK / API Call
from agentrisk import AgentRiskClient

client = AgentRiskClient(endpoint="[https://agentrisk.dev](https://agentrisk.dev)", network="base")

# Pre-trade check before executing swap
verdict = client.check_token(
    token_address="0xTargetTokenAddress...",
    amount_usdc=50
)

if verdict.recommendation == "ALLOW":
    execute_swap()
else:
    print(f"Trade aborted. Risk detected: {verdict.reasons}")
šŸ’° Economy
Model: Pay-per-scan via the x402 protocol.

Cost: 0.15 USDC per comprehensive deep simulation.

ROI: Losing $100 on a single honeypot costs more than 600 security scans. Protect your liquidity.

Built for autonomous systems that trust math, not hype.
F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    Counterparty risk scoring for agentic commerce. Scores wallets, domains, IPs, and companies 0-100 before AI agents transact via x402 micropayments on Base
    1
    3
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Agent-Level Transaction Safety Oracle. Before an AI agent signs a blockchain transaction, it returns a SAFE/UNSAFE verdict with a SENTINEL Score (AAA-D) and risk flags. Pay-per-call $0.005 USDC via x402 on Base.
    1

View all related MCP servers

Related MCP Connectors

  • Reputation oracle for AI agents on Base: SAFE/CAUTION/BLOCK + 0-100 score before you pay. x402+MCP

  • AI-native settlement rail + intelligence oracle for autonomous agents. x402, Base mainnet, 81 tools.

  • 30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Neurobyteio/agentrisk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server