BlueAgent x402 Services
Integrates with Coinbase AgentKit to add 31 BlueAgent actions for autonomous agent safety and DeFi operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BlueAgent x402 ServicesCheck my wallet for dangerous approvals"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
|
Use BlueAgent tools inside Cursor |
|
Call tools from TypeScript/Node.js code | |
Use with Coinbase AgentKit | |
Call via HTTP (any language) | |
Explore from terminal |
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 readyThen 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 |
MCP server — 31 tools for Claude Code, Claude Desktop, Cursor |
| |
TypeScript SDK — namespaced methods |
| |
Coinbase AgentKit plugin — 31 actions |
| |
Terminal CLI — TUI, natural language |
|
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 availableDirect 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"}' -yServices
Quantum Security
Service | Price | Description |
| $1.50 | Full quantum vulnerability report — exposure, threat level, migration steps |
| up to $2.50 | Scan 1–10 wallets at $0.25 each |
| $2.00 | Step-by-step quantum-safe wallet migration plan |
| $0.40 | Evidence-based quantum threat timeline 2026–2035 |
| $0.50 | Check if wallet public key is exposed on-chain |
Agent Safety
Service | Price | Description |
| $0.05 | Pre-transaction safety — APPROVE / WARN / BLOCK with risk score |
| $0.05 | Detect honeypot or rug pull token contracts |
| $0.20 | Find unlimited token approvals — revoke recommendations |
| $0.10 | Scan URL, address, or @handle for phishing |
| $0.30 | MEV sandwich attack risk before large swaps |
| $0.25 | Trust score — verified, audited, safe for agent interaction? |
| $0.25 | AML compliance — CLEAN / SUSPICIOUS / HIGH_RISK |
| $0.50 | CONTINUE / PAUSE / HALT for autonomous agents and ZHC |
Research
Service | Price | Description |
| $0.35 | Deep due diligence — risk score, rug probability, recommendation |
| $0.50 | Supply, inflation, unlock cliff — sustainability score |
| $0.20 | Summarize any whitepaper into 5 key bullets |
| $0.40 | Trending narratives in crypto and Base ecosystem |
| $1.00 | VC investment activity — hot sectors, who backs what |
| $3.00 | Full token launch playbook — tokenomics, 8-week timeline, KPIs |
| $5.00 | Base ecosystem grant scoring — Fund/Decline recommendation |
| $1.00 | Audit any API for x402 payment protocol readiness |
| $0.50 | Pre-deployment security check — vulnerabilities, go/no-go |
Data
Service | Price | Description |
| $1.00 | Wallet PnL — win rate, trading style, smart money score |
| $0.10 | Smart money flow — accumulation vs distribution |
| $0.15 | DEX buy/sell pressure — live DexScreener data |
| $0.10 | Base airdrop eligibility — protocols, activity score, estimated value |
| $0.10 | Check active alert triggers for any address |
Earn
Service | Price | Description |
| $0.15 | Best APY on Base DeFi — live DeFiLlama data |
| $0.25 | LP position — impermanent loss, fee income, rebalance signal |
| $2.00 | On-chain tax summary — realized gains, taxable events |
| $0.50 | Subscribe to whale/circuit-breaker alerts via webhook |
| $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 deployDeveloper Docs
Doc | Description |
Full Claude Code MCP setup guide + all 31 tools | |
Cursor MCP setup guide | |
Machine-readable MCP tool schema (input/output for all 31 tools) | |
SDK usage examples | |
AgentKit safe agent pattern | |
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
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/madebyshun/blueagent-x402-services'
If you have feedback or need assistance with the MCP directory API, please join our Discord server