Add One JSON Block: Give Claude Desktop a Multi-Chain Wallet
One JSON block in your Claude Desktop config gives your agent a multi-chain wallet with 45 tools for DeFi, NFTs, and onchain actions. WAIaaS provides the first MCP server specifically built for blockchain operations, turning Claude into a crypto-native agent in minutes.
Why MCP Changes Everything for Onchain AI
Model Context Protocol (MCP) bridges the gap between AI reasoning and external systems. Claude can analyze, plan, and execute — but it needs tools to interact with blockchains. Without MCP, you're stuck copying wallet addresses and transaction hashes between Claude and your wallet app.
With WAIaaS's MCP integration, Claude directly calls wallet functions, checks DeFi positions, and executes swaps. No more context switching. Your agent becomes truly autonomous onchain.
The One-Line Solution
WAIaaS runs as an MCP server that Claude Desktop connects to automatically. Add this block to your claude_desktop_config.json:
{
"mcpServers": {
"waiaas": {
"command": "npx",
"args": ["-y", "@waiaas/mcp"],
"env": {
"WAIAAS_BASE_URL": "http://127.0.0.1:3100",
"WAIAAS_SESSION_TOKEN": "wai_sess_<your-token>",
"WAIAAS_DATA_DIR": "~/.waiaas"
}
}
}
}
That's it. Claude now has 45 MCP tools spanning wallet operations, DeFi protocols, NFT management, and x402 micropayments.
What Claude Can Do After MCP Setup
Once connected, Claude gains access to multi-chain wallet capabilities:
Wallet Operations
- Check balances across Ethereum, Solana, and 18 networks
- Send native tokens and ERC-20/SPL tokens
- Sign transactions and messages
- View transaction history
DeFi Protocols Claude can interact with 15 integrated protocols:
- Swaps: Jupiter (Solana), 0x Protocol (EVM)
- Lending: Aave v3 with health factor monitoring
- Staking: Lido (Ethereum), Jito (Solana)
- Bridging: LI.FI cross-chain, Across protocol
- Trading: Hyperliquid perpetuals, Polymarket predictions
Advanced Features
- NFT Support: Transfer and metadata lookup for ERC-721/1155 and Metaplex
- Account Abstraction: ERC-4337 UserOp building and gasless transactions
- x402 Payments: Automatic API payment handling for paid services
Ask Claude: "Check my DeFi positions and rebalance if my Aave health factor is below 2.0"
Claude responds by:
- Calling
get-defi-positionsto fetch lending data - Analyzing health factors across positions
- If needed, calling
action-providerwith Aave repayment actions - Executing transactions through the session-authenticated wallet
Multi-Wallet MCP Configuration
For agents managing multiple wallets, configure separate MCP servers:
{
"mcpServers": {
"waiaas-trading": {
"command": "npx",
"args": ["-y", "@waiaas/mcp"],
"env": {
"WAIAAS_BASE_URL": "http://127.0.0.1:3100",
"WAIAAS_AGENT_ID": "019c47d6-51ef-7f43-a76b-d50e875d95f4",
"WAIAAS_AGENT_NAME": "trading-agent",
"WAIAAS_DATA_DIR": "~/.waiaas"
}
},
"waiaas-defi": {
"command": "npx",
"args": ["-y", "@waiaas/mcp"],
"env": {
"WAIAAS_BASE_URL": "http://127.0.0.1:3100",
"WAIAAS_AGENT_ID": "019c4cd2-86e8-758f-a61e-9c560307c788",
"WAIAAS_AGENT_NAME": "defi-wallet",
"WAIAAS_DATA_DIR": "~/.waiaas"
}
}
}
}
Each MCP server connects to a different WAIaaS wallet, allowing Claude to manage specialized portfolios with isolated permissions.
Security Through Policy Engine
WAIaaS enforces 21 policy types across 4 security tiers to keep AI agents safe:
- INSTANT: Small transactions execute immediately
- NOTIFY: Medium transactions execute with notifications
- DELAY: Large transactions wait 15 minutes (cancellable)
- APPROVAL: Huge transactions require human approval
Default-deny policies block unauthorized actions. ALLOWED_TOKENS and CONTRACT_WHITELIST policies ensure agents only interact with approved contracts.
Example policy restricting Claude to $100 instant swaps:
curl -X POST http://localhost:3100/v1/policies \
-H 'Content-Type: application/json' \
-H 'X-Master-Password: <password>' \
-d '{
"walletId": "<wallet-uuid>",
"type": "SPENDING_LIMIT",
"rules": {
"instant_max_usd": 100,
"delay_max_usd": 1000,
"delay_seconds": 900
}
}'
Quick Start: Claude + Wallet in 5 Steps
- Install WAIaaS CLI
npm install -g @waiaas/cli
- Initialize and start daemon
waiaas init
waiaas start
waiaas quickset --mode mainnet # Creates wallets + MCP sessions
- Auto-register MCP
waiaas mcp setup --all
Fund your wallet Transfer some ETH/SOL to the generated wallet address.
Test in Claude Desktop Ask Claude: "What's my wallet balance?" and watch it call the MCP tools directly.
The quickset command creates both Ethereum and Solana wallets with MCP sessions, then outputs the exact JSON config for Claude Desktop.
Real-World MCP Use Cases
Portfolio Rebalancing Agent "Check all my DeFi positions. If any protocol has over 40% allocation, rebalance by moving excess to Aave USDC lending."
Claude automatically:
- Calls
get-defi-positionsacross all 15 protocols - Calculates allocation percentages
- Executes withdraw/deposit actions to rebalance
- Reports final allocation
Cross-Chain Arbitrage "Monitor USDC prices on Ethereum vs Solana. If spread exceeds 0.1%, bridge and arbitrage."
Claude uses:
get-balanceon both chains via separate MCP servers- Price checking through DeFi position APIs
- LI.FI bridging when profitable spreads appear
NFT Collection Management "List all my NFTs. If any have floor prices 2x above purchase price, create OpenSea listings."
The MCP tools handle:
list-nftswith metadata caching- Floor price analysis through external APIs
transfer-nftcalls for marketplace interactions
Advanced MCP Integration Patterns
WAIaaS MCP servers support complex agent workflows through tool chaining:
Dry-Run Before Execute
// Claude can simulate transactions first
await client.callTool('simulate-transaction', {
type: 'TRANSFER',
to: 'recipient-address',
amount: '1.0',
dryRun: true
});
// Then execute if simulation succeeds
Batch Operations
// Group multiple operations into single transaction
await client.callTool('send-batch', {
transactions: [
{ type: 'APPROVE', spender: 'uniswap-router', amount: '1000' },
{ type: 'CONTRACT_CALL', to: 'uniswap-router', data: '0x...' }
]
});
x402 Micropayments
// Claude automatically pays for premium APIs
await client.callTool('x402-fetch', {
url: 'https://premium-api.com/data',
method: 'GET'
});
// WAIaaS handles 402 Payment Required responses transparently
What's Next
You've given Claude a multi-chain wallet through MCP, but that's just the beginning. Explore the 39 REST API routes for custom integrations, or try the TypeScript/Python SDKs for building dedicated trading bots.
Ready to make Claude crypto-native? Get WAIaaS from GitHub, or visit the official site for comprehensive documentation and examples.