Introduction

WalletAgent is an MCP (Model Context Protocol) server that enables Web3 wallet interactions in AI tools like Claude Code and Cursor. It provides safe testing with mock wallets and real wallet support via secure private key management.
What is WalletAgent?
WalletAgent enhances AI coding agents with Web3 development capabilities by providing:
🔐 Secure Wallet Management - Mock wallets for testing, encrypted private keys for real use
⛽ Contract Testing - Simulate contract calls without spending gas
🔗 Multi-chain Support - Works with Ethereum, Polygon, and major EVM chains
📋 Wagmi Integration - Extract, analyze, and test smart contract ABIs
🛡️ Security First - Private keys never logged, comprehensive validation
🤖 AI-Native - Prompts for complex Web3 operations
Beta Software Warning
This is beta software under active development. DO NOT use on mainnet or with wallets containing real funds. This software has not been audited and may contain bugs that could result in loss of funds. Use only on testnets or local development environments.
Quick Navigation
New to WalletAgent? Start here to set up the MCP server with your AI agent.
Learn how to perform wallet operations, send transactions, and manage tokens using prompts.
Build and test smart contracts, integrate with Wagmi, and extend WalletAgent's capabilities.
Complete reference for all AI agent tools and conversational commands.
Encrypted key management, advanced features, Hyperliquid integration, and extending functionality.
Key Features
Safe Development Environment
Mock Wallets: Pre-configured test accounts for safe development
Contract Simulation: Test functions without gas costs using
eth_callAnvil Integration: Local blockchain for accurate testing
Production-Ready Security
Encrypted Key Storage: AES-256-GCM with PBKDF2 key derivation
Session Management: 30-minute timeouts with automatic key clearing
Environment Variables: Secure private key loading from files or env vars
Comprehensive Web3 Toolkit
Multi-chain Support: Ethereum, Polygon, major EVM chains
Token Operations: ERC-20 transfers, approvals, balance checks
NFT Management: ERC-721 transfers and metadata
Contract Testing: Automated scenario generation and validation
Wagmi Integration: ABI extraction, function analysis, standard detection
AI-Optimized Experience
Prompts: "Send 100 USDC to 0x..." instead of complex function calls
Rich Feedback: Detailed transaction previews and error explanations
User Instructions: Customize behavior with plain English preferences
Context Aware: Remembers wallet state and provides relevant suggestions
Example Workflows
Basic Wallet Operations
Smart Contract Operations
Token Management
Supported AI Tools
Claude Code
Cursor
Configure in your MCP settings to enable Web3 operations through prompts with Cursor's AI agent.
Community & Support
GitHub: wallet-agent/wallet-agent
Issues: Report bugs or request features
Discussions: Community support and questions
Documentation: You're reading it! 📖
What's Next?
Install WalletAgent in your AI agent
Follow the Quick Start guide
Explore the User Guide for common operations
Dive into Development for advanced features
Ready to enhance your AI agent with Web3 capabilities? Let's get started.
Last updated
