Provides integration with Binance Smart Chain (BSC), allowing users to check balances, transfer BNB and BEP-20 tokens, and perform token swaps without gas fees.
Enables gasless transactions on the Ethereum blockchain using ERC-4337 Account Abstraction, allowing token transfers and swaps without holding native ETH.
Enables gasless transactions on the Fantom network, supporting token transfers and swaps without requiring FTM tokens for gas.
Supports gasless operations on the Polygon network, including checking balances, transferring tokens, and performing swaps without requiring MATIC tokens.
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., "@0xGasless MCP Serverswap 50 USDC for AVAX"
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.
🚀 0xGasless MCP Server
🔗 Seamless Blockchain Integration for Claude AI
Execute gasless transactions, swaps, and transfers directly from your Claude conversations
🚀 Quick Start • 📖 Documentation • 🛠️ Development • 🤝 Contributing
🌟 What is 0xGasless MCP Server?
The 0xGasless MCP Server is a powerful Model Context Protocol server that bridges Claude AI with blockchain networks. Built on ERC-4337 Account Abstraction, it enables gasless blockchain operations through natural language conversations.
✨ Key Highlights
🆓 Zero Gas Fees - Execute transactions without holding native tokens
🌐 Multi-Chain Support - 8+ blockchain networks supported
🤖 AI-Native - Natural language blockchain interactions
🔒 Secure - Smart account abstraction with enhanced security
⚡ Instant Setup - One-command Claude integration
Related MCP server: Polygon MCP Server
🛠️ Available Tools
Tool | Description | Example Usage |
🏠 | Retrieve your smart account address | "What's my wallet address?" |
💰 | Check token balances (ERC20 support) | "Show my USDC balance" |
📤 | Send tokens gaslessly | "Send 10 USDT to alice.eth" |
🔄 | Exchange tokens without gas | "Swap 100 USDT for USDC" |
🎯 | Purchase AI credits with USDC | "Buy $25 OpenRouter credits" |
🌉 | Bridge tokens across chains using deBridge | "Bridge 100 USDC from Avalanche to Ethereum" |
📊 | Query blockchain data using Space and Time | "Show my transaction history" |
🚀 Quick Start
📦 Installation
Preferred installation method:
⚙️ Configuration
1️⃣ Automatic Setup (Easiest)
This interactive command will:
✅ Collect your API keys and configuration
✅ Detect your operating system
✅ Configure Claude Desktop automatically
✅ Validate all inputs
2️⃣ Manual Environment Setup
Create a .env file with your configuration:
🌐 Supported Networks
🌍 Network | 🆔 Chain ID | 💎 Native Token | 🔗 RPC Endpoint |
🔴 Avalanche |
| AVAX |
|
🟡 BSC |
| BNB |
|
🔵 Base |
| ETH |
|
⚫ Ethereum |
| ETH |
|
🟣 Polygon |
| MATIC |
|
🔵 Sonic |
| S |
|
🌙 Moonbeam |
| GLMR |
|
🔗 Claude Desktop Integration
🎯 Automatic Configuration
The easiest way to integrate with Claude Desktop:
📝 Manual Configuration
Add to your Claude Desktop configuration file:
📍 Configuration Locations:
🍎 macOS:
~/Library/Application Support/Claude/claude_desktop_config.json🪟 Windows:
%APPDATA%\Claude\claude_desktop_config.json🐧 Linux:
~/.config/Claude/claude_desktop_config.json
💬 Usage Examples
Once configured, interact with blockchain using natural language:
💰 Balance Inquiries
📤 Token Transfers
🔄 Token Swaps
📝 Space & Time info
🎯 AI Credit Purchases
🔑 API Keys Setup
🎯 0xGasless API Key
🌐 Visit 0xGasless Dashboard
📝 Create an account and new project
🔑 Copy your API key
💳 Add credits to your account
🤖 OpenRouter API Key (Optional)
🌐 Visit OpenRouter.ai
📝 Sign up and navigate to API Keys
🔑 Generate a new API key
💰 Add credits for AI model access
🛠️ Development
🏗️ Local Development Setup
📁 Project Structure
🔐 Security & Best Practices
🛡️ Security Guidelines
🔒 Private Keys: Store securely in environment variables, never in code
🔑 API Keys: Keep 0xGasless and OpenRouter keys confidential
🏦 Smart Accounts: Enhanced security through account abstraction
⛽ Gasless Operations: No native tokens required for transactions
⚠️ Important Notes
🚫 Never share your private key with anyone
💾 Use environment variables for sensitive data
🔄 Regularly rotate your API keys
📊 Monitor your account usage and credits
🆘 Troubleshooting
🐛 Common Issues & Solutions
Solution:
✅ Verify you're using a supported chain ID from the table above
✅ Check the supported networks section
Solution:
✅ Verify your 0xGasless API key is correct
✅ Ensure sufficient credits in your 0xGasless account
✅ Check API key permissions and expiration
Solution:
✅ Check token balance before operations
✅ Ensure you have enough tokens for the transaction
✅ Verify token contract address is correct
Solution:
✅ Ensure private key starts with "0x"
✅ Verify it's exactly 66 characters (64 + "0x")
✅ Check for any extra spaces or characters
🔍 Debug Mode
Enable detailed logging for troubleshooting:
🤝 Contributing
We welcome contributions! Here's how to get started:
🚀 Quick Contribution Guide
🍴 Fork the repository
🌿 Create a feature branch:
git checkout -b feature/amazing-feature💾 Commit your changes:
git commit -m 'Add amazing feature'📤 Push to branch:
git push origin feature/amazing-feature🔄 Open a Pull Request
📋 Development Guidelines
✅ Follow TypeScript best practices
✅ Add tests for new features
✅ Update documentation as needed
✅ Ensure all tests pass before submitting
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
Special thanks to the amazing teams and projects that make this possible:
🎯 0xGasless - Smart account infrastructure
🤖 Model Context Protocol - MCP specification
🧠 Claude - AI integration capabilities
🌐 OpenRouter - AI API access platform
📚 Resources & Links
📖 Documentation
🔗 Project Links
🚀 Made with ❤️ for the blockchain community
Empowering AI-driven blockchain interactions