BlueAgent x402 Services
Pay-per-use AI security and research tools for autonomous agents on Base, enabling honeypot detection, risk assessment, wallet analysis, and yield optimization via the x402 protocol.
README
BlueAgent x402 Services
Security OS for Autonomous Agents on Base — 31 pay-per-use AI tools via x402 protocol. No subscription. No API key. Pay USDC per call.
Built for AI agents, Zero-Human Companies (ZHC), and Base ecosystem builders.
Base URL: https://x402.bankr.bot/0xf31f59e7b8b58555f7871f71973a394c8f1bffe5/
For AI Agents — Choose Your Integration
| I want to... | Use |
|---|---|
| Use BlueAgent tools inside Claude Code or Claude Desktop | @blueagent/skill MCP server |
| Use BlueAgent tools inside Cursor | @blueagent/skill MCP server |
| Call tools from TypeScript/Node.js code | @blueagent/sdk |
| Use with Coinbase AgentKit | @blueagent/agentkit |
| Call via HTTP (any language) | Direct x402 call |
| Explore from terminal | @blueagent/cli |
MCP — Claude Code & Cursor
Install 31 tools in 2 commands. Works in Claude Code, Claude Desktop, and Cursor.
# Install MCP server
npx @blueagent/skill install --claude # Claude Code
npx @blueagent/skill install --cursor # Cursor
npx @blueagent/skill install --desktop # Claude Desktop
npx @blueagent/skill install --all # All editors at once
# Set your Base wallet
export WALLET_PRIVATE_KEY=0x<your_key>
# Restart your editor → 31 tools ready
Then ask Claude naturally:
"Is 0x4200... a honeypot?"
"Check my wallet for dangerous approvals"
"What's the quantum risk for 0xabc...?"
"Find me the best USDC yield on Base"
"Should my agent pause after losing $340?"
Full setup guide: docs/claude-code.md · docs/cursor.md
Ecosystem
| Package | Description | Install |
|---|---|---|
@blueagent/skill |
MCP server — 31 tools for Claude Code, Claude Desktop, Cursor | npx @blueagent/skill install --claude |
@blueagent/sdk |
TypeScript SDK — namespaced methods | npm i @blueagent/sdk |
@blueagent/agentkit |
Coinbase AgentKit plugin — 31 actions | npm i @blueagent/agentkit |
@blueagent/cli |
Terminal CLI — TUI, natural language | npm i -g @blueagent/cli |
Quick Start
CLI
npm install -g @blueagent/cli
blueagent setup
blueagent honeypot-check 0xTOKEN_ADDRESS
blueagent risk-gate "approve USDC to 0xDEX"
blueagent analyze "$BRETT"
blueagent yield USDC
blueagent ask "is this wallet safe to trade with?"
SDK
import { BlueAgent } from '@blueagent/sdk'
const ba = new BlueAgent({ privateKey: process.env.WALLET_PRIVATE_KEY })
const check = await ba.security.riskcheck({ action: 'swap 100 USDC', amount: '$100' })
if (check.decision === 'BLOCK') return
const analysis = await ba.research.analyze({ projectName: '$BRETT' })
const yields = await ba.earn.yieldOptimizer({ token: 'USDC', riskTolerance: 'LOW' })
const pnl = await ba.data.pnl({ address: '0x...' })
AgentKit
import { blueagentPlugin } from '@blueagent/agentkit'
import { AgentKit } from '@coinbase/agentkit'
const agentkit = await AgentKit.from({
cdpApiKeyId: '...',
cdpApiKeySecret: '...',
actionProviders: [blueagentPlugin()],
})
MCP (Claude Code)
npx @blueagent/skill install --claude
# Restart Claude Code → 31 BlueAgent tools available
Direct x402
No SDK — works from any language via HTTP:
import { wrapFetchWithPayment } from 'x402-fetch'
import { createWalletClient, http } from 'viem'
import { privateKeyToAccount } from 'viem/accounts'
import { base } from 'viem/chains'
const BASE_URL = 'https://x402.bankr.bot/0xf31f59e7b8b58555f7871f71973a394c8f1bffe5'
const wallet = createWalletClient({
account: privateKeyToAccount(process.env.WALLET_PRIVATE_KEY as `0x${string}`),
chain: base, transport: http(),
})
const paidFetch = wrapFetchWithPayment(fetch, wallet as any)
// Discover all tools — FREE
const tools = await fetch(`${BASE_URL}/discover`).then(r => r.json())
// Call any tool
const result = await paidFetch(`${BASE_URL}/honeypot-check`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ token: '0xabcd...' }),
}).then(r => r.json())
More examples: docs/examples/
Bankr CLI
bankr x402 call 0xf31f59e7b8b58555f7871f71973a394c8f1bffe5/risk-gate \
-X POST -d '{"action":"swap 100 USDC","amount":"$100"}' -y
Services
Quantum Security
| Service | Price | Description |
|---|---|---|
quantum-premium |
$1.50 | Full quantum vulnerability report — exposure, threat level, migration steps |
quantum-batch |
up to $2.50 | Scan 1–10 wallets at $0.25 each |
quantum-migrate |
$2.00 | Step-by-step quantum-safe wallet migration plan |
quantum-timeline |
$0.40 | Evidence-based quantum threat timeline 2026–2035 |
key-exposure |
$0.50 | Check if wallet public key is exposed on-chain |
Agent Safety
| Service | Price | Description |
|---|---|---|
risk-gate |
$0.05 | Pre-transaction safety — APPROVE / WARN / BLOCK with risk score |
honeypot-check |
$0.05 | Detect honeypot or rug pull token contracts |
allowance-audit |
$0.20 | Find unlimited token approvals — revoke recommendations |
phishing-scan |
$0.10 | Scan URL, address, or @handle for phishing |
mev-shield |
$0.30 | MEV sandwich attack risk before large swaps |
contract-trust |
$0.25 | Trust score — verified, audited, safe for agent interaction? |
aml-screen |
$0.25 | AML compliance — CLEAN / SUSPICIOUS / HIGH_RISK |
circuit-breaker |
$0.50 | CONTINUE / PAUSE / HALT for autonomous agents and ZHC |
Research
| Service | Price | Description |
|---|---|---|
deep-analysis |
$0.35 | Deep due diligence — risk score, rug probability, recommendation |
tokenomics-score |
$0.50 | Supply, inflation, unlock cliff — sustainability score |
whitepaper-tldr |
$0.20 | Summarize any whitepaper into 5 key bullets |
narrative-pulse |
$0.40 | Trending narratives in crypto and Base ecosystem |
vc-tracker |
$1.00 | VC investment activity — hot sectors, who backs what |
launch-advisor |
$3.00 | Full token launch playbook — tokenomics, 8-week timeline, KPIs |
grant-evaluator |
$5.00 | Base ecosystem grant scoring — Fund/Decline recommendation |
x402-readiness |
$1.00 | Audit any API for x402 payment protocol readiness |
base-deploy-check |
$0.50 | Pre-deployment security check — vulnerabilities, go/no-go |
Data
| Service | Price | Description |
|---|---|---|
wallet-pnl |
$1.00 | Wallet PnL — win rate, trading style, smart money score |
whale-tracker |
$0.10 | Smart money flow — accumulation vs distribution |
dex-flow |
$0.15 | DEX buy/sell pressure — live DexScreener data |
airdrop-check |
$0.10 | Base airdrop eligibility — protocols, activity score, estimated value |
alert-check |
$0.10 | Check active alert triggers for any address |
Earn
| Service | Price | Description |
|---|---|---|
yield-optimizer |
$0.15 | Best APY on Base DeFi — live DeFiLlama data |
lp-analyzer |
$0.25 | LP position — impermanent loss, fee income, rebalance signal |
tax-report |
$2.00 | On-chain tax summary — realized gains, taxable events |
alert-subscribe |
$0.50 | Subscribe to whale/circuit-breaker alerts via webhook |
alert-check |
$0.10 | Check active alert triggers for any address |
ZHC Agent Safety Pattern
import { BlueAgent } from '@blueagent/sdk'
const ba = new BlueAgent({ privateKey: process.env.WALLET_PRIVATE_KEY })
async function safeExecute(action: string, contract: string, amount: string) {
const risk = await ba.security.riskcheck({ action, contractAddress: contract, amount })
if (risk.decision === 'BLOCK') return null
const hp = await ba.security.honeypotCheck({ token: contract })
if (hp.isHoneypot) return null
// execute transaction...
const cb = await ba.security.circuitBreaker({ context: 'loss detected', recentLosses: amount })
if (cb.decision === 'HALT') process.exit(0)
}
Deploy & Develop
# Deploy single service
bankr x402 deploy risk-gate
# Deploy all services
bankr x402 deploy
# After editing _lib/ — re-inline helpers then deploy
node scripts/inline-libs.js
bankr x402 deploy
Developer Docs
| Doc | Description |
|---|---|
docs/claude-code.md |
Full Claude Code MCP setup guide + all 31 tools |
docs/cursor.md |
Cursor MCP setup guide |
docs/mcp-tools.json |
Machine-readable MCP tool schema (input/output for all 31 tools) |
docs/examples/sdk-basic.ts |
SDK usage examples |
docs/examples/agentkit-safety.ts |
AgentKit safe agent pattern |
docs/examples/direct-x402.ts |
Direct HTTP x402 calls (no SDK) |
Resources
- GitHub: https://github.com/madebyshun/blueagent-x402-services
- Token: $BLUEAGENT on Base
- Community: https://t.me/blueagent_hub
- Skills: https://skills.bankr.bot
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。