safeagent-token-safety
Token safety oracle for AI agents. Honeypot detection, 17 scam pattern checks, LP lock verification across 6 EVM chains. Score 0-100 with risk flags. ERC Token Safety Score standard.
README
SafeAgent Shield
The firewall between AI agents and the blockchain. Free during beta — no API key, no payment, no limits.
Every crypto action your agent takes should go through Shield first. It checks safety, simulates the transaction, and returns GO or BLOCK.
Without Shield: Agent → Blockchain → might lose everything
With Shield: Agent → Shield → Blockchain → guaranteed safe
One Tool. Complete Protection.
# MCP — one call protects everything
shield(action="buy", token="0x...", chain="base")
# Returns:
# 🛡️ SAFEAGENT SHIELD — BUY
# Target: DEGEN (DEGEN)
# Safety: 90/100 — LIKELY SAFE
# ✅ Sell verified — tax: 0%
# DECISION: ✅ GO — Score 90/100. Safe.
Actions: buy | sell | approve | interact | check
What Shield Does
| Check | Method | Time |
|---|---|---|
| Honeypot detection | Real DEX swap simulation (not code guessing) | ~2s |
| 27 scam patterns | Source code analysis | <1s |
| Approval safety | Contract verification + phishing detection | <1s |
| Tax calculation | Exact buy/sell tax via swap sim | ~2s |
| Liquidity check | DEX pair verification | <1s |
Key difference: Other tools predict honeypots from code patterns. Shield tests them with real DEX swaps. Not guessing — proving.
Connect
MCP Streamable HTTP: POST https://cryptogenesis.duckdns.org/mcp
MCP SSE: GET https://cryptogenesis.duckdns.org/mcp/sse
REST API: GET https://cryptogenesis.duckdns.org/token/scan
Smithery: npx @smithery/cli install @safeagent/token-safety
23 Tools
Shield (primary): shield — GO/BLOCK decision for any crypto action
Safety: test_honeypot · check_token_safety · check_before_buy · check_approval_safety · simulate_swap · check_wallet_risk
Market: get_token_price · get_trending_tokens · get_gas_prices · get_new_tokens · get_defi_yields · get_market_overview · get_defi_tvl
Agent tools: get_portfolio · get_chain_info · get_eth_balance · resolve_ens · search_token · create_agent_token
System: ping
On-Chain (ERC-7913)
| Chain | Oracle | Router | Factory |
|---|---|---|---|
| Base | 0x37b9...8e |
0xb200...FA |
— |
| Optimism | 0x3B8A...47 |
— | 0x9B4A...84 |
For Smart Contracts
import {SafeGuard} from "@safeagent/guard/contracts/SafeGuard.sol";
contract MyDEX {
using SafeGuard for address;
function swap(address tokenOut, uint256 amt) external {
tokenOut.requireSafe(); // 1 line. Done.
}
}
Standard
ERC-7913 Token Safety Score — the open standard for token safety on EVM chains.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.