Guides¶
Learn how to use abi-to-mcp through practical, step-by-step tutorials.
By Use Case¶
-
ERC20 Token
Create an MCP server for any ERC20 token. Query balances, transfer tokens, and track transfers.
-
NFT Collection
Build an MCP server for ERC721 NFTs. Query ownership, transfer NFTs, and explore metadata.
-
DeFi Protocol
Integrate with complex DeFi protocols like Uniswap, Aave, or Compound.
-
Custom Network
Add support for networks not included by default, including private chains.
-
Claude Desktop
Complete setup guide for using generated MCP servers with Claude Desktop.
-
Web Builder
Generate MCP servers in your browser with security scanning and plain English explanations.
Quick Reference¶
| I want to... | Guide |
|---|---|
| Check token balances | ERC20 Guide |
| Transfer tokens | ERC20 Guide |
| See who owns an NFT | NFT Guide |
| Swap tokens on Uniswap | DeFi Guide |
| Use Polygon or Arbitrum | Custom Networks |
| Set up Claude Desktop | Claude Desktop |
Prerequisites¶
Before starting any guide, make sure you have:
- [x] Installed abi-to-mcp (
pip install abi-to-mcp) - [x] Python 3.10 or later
- [x] Access to an RPC endpoint (Alchemy, Infura, or public)
- [ ] (Optional) Private key for write operations
- [ ] (Optional) Etherscan API key for address lookups
Skill Level¶
| Guide | Difficulty | Time |
|---|---|---|
| ERC20 Token | Beginner | 10 min |
| NFT Collection | Beginner | 15 min |
| DeFi Protocol | Intermediate | 30 min |
| Custom Network | Intermediate | 20 min |
| Claude Desktop | Beginner | 15 min |
Getting Help¶
If you run into issues:
- Check the CLI Reference for command details
- Review Core Concepts for understanding
- See Troubleshooting for common errors
- Open an issue on GitHub
Ready-to-Use Examples
The examples/ folder contains complete, runnable examples with ABIs and generation scripts for ERC20 tokens, NFT collections, DeFi protocols, and Claude Desktop configuration.