onchain-safety-mcp

v0.2.0
io.github.aitools420/onchain-safety-mcp Checked 2 days ago Published 5 months ago

Token-safety for AI agents: rug/honeypot verdict + score across PulseChain, Monad, Base & BSC

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_token_safety Check token safety

Scam/safe verdict for an ERC-20 token on PulseChain, Monad, Base, or BSC. Returns verdict (SAFE / LOW_RISK / CAUTION / HIGH_RISK / LIKELY_RUG / NOT_A_TOKEN / UNKNOWN), a 0-100 score, confidence, and the evidence checks (contract risk, liquidity depth, honeypot transfer-sim, LP-burn). Call this before interacting with, buying, or accepting an unknown token. Informational only — an automated assessment that can be wrong; a SAFE score is not a guarantee, and this is not financial advice.

ParameterTypeDescription
address *stringthe token contract address (0x…)
chain *stringchain the token is on

fresh_rug_radar Fresh-pool rug radar

The most recently created liquidity pools, each safety-scored the moment it appeared (verdict, 0-100 score, seconds-since-creation). New tokens are where the rugs are — call this to see what just launched and whether it is safe. Free tier returns the last 20 scored pools; a paid key unlocks the fuller real-time feed.

exit_safety Exit safety / liquidity depth

Can you sell $X of a token at acceptable slippage? Size-aware price-impact check (on-chain reserves + routed quote) plus the safety verdict. Call this BEFORE buying a position you may need to exit, or before accepting a token as payment. Informational only — an automated assessment that can be wrong; not financial advice.

ParameterTypeDescription
chain *stringchain the token is on
sizeUsd *numberposition size in USD you would need to exit
token *stringthe token contract address (0x…)
maxSlippagenumbermax acceptable slippage percent (default 10)

check_ownership Ownership / renounce + privileges

Is ownership renounced, is the contract upgradeable (proxy), and what powers can an active owner still use (mint / blacklist / pause / adjust tax)? Deterministic on-chain read — call before trusting a token long-term.

ParameterTypeDescription
address *stringthe token contract address (0x…)
chain *stringchain the token is on

safe_to_interact Safe to interact? (composite)

One call before touching a contract: bundles the safety verdict + ownership/privileges into a single recommendation — SAFE_TO_INTERACT / CAUTION / DO_NOT_INTERACT — with reasons. The de-risked "should I touch this?" answer for an agent mid-execution.

ParameterTypeDescription
address *stringthe contract/token address (0x…)
chain *stringchain the token/contract is on

wallet_approvals Wallet approval scanner

Enumerate a wallet's active ERC-20 approvals (allowances granted to spender contracts) and flag the unlimited ones — the classic wallet-drainer vector. Call to audit what could quietly drain a wallet. Scans a recent block window.

ParameterTypeDescription
chain *stringchain the wallet is on
owner *stringthe wallet address to scan (0x…)

wallet_poison_check Address-poisoning scanner

Scan a wallet's recent incoming transfers for address-poisoning attacks — dust/zero-value transfers from lookalike addresses (first-4+last-4 chars matching a real counterparty the wallet has paid) seeded to trick a copy-paste of the wrong address. Call before sending to a "recently used" address to avoid pasting a poisoned lookalike.

ParameterTypeDescription
chain *stringchain the wallet is on
owner *stringthe wallet address to scan (0x…)