Execute gasless transactions, swaps, and transfers directly from your Claude conversations
概览
Execute gasless transactions, swaps, and transfers directly from your Claude conversations The is a powerful Model Context Protocol server that bridges Claude AI with blockchain networks. Built on , it enables gasless blockchain operations through natural language conversations. - 🆓 - Execute transactions without holding native tokens - 🌐 - 8+ blockchain networks supported - 🤖 - Natural language blockchain interactions - 🔒 - Smart account abstraction with enhanced security - ⚡ - One-command Claude integration This interactive command will: - ✅ Collect your API keys and configuration - ✅ Detect your operating system - ✅ Configure Claude Desktop automatically - ✅ Validate all inputs Create a .env file with your configuration: The easiest way to integrate with Claude Desktop: Add to your Claude Desktop configuration file: - 🍎 : ~/Library/Application Support/Claude/claude_desktop_config.json - 🪟 : %APPDATA%\Claude\claude_desktop_config.json - 🐧 : ~/.
README
以下为原文 README 节选,完整内容请查看原文。
🚀 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
🛠️ Available Tools
| Tool | Description | Example Usage |
|---|---|---|
🏠 get-address |
Retrieve your smart account address | “What’s my wallet address?” |
💰 get-balance |
Check token balances (ERC20 support) | “Show my USDC balance” |
📤 transfer-token |
Send tokens gaslessly | “Send 10 USDT to alice.eth” |
🔄 swap-tokens |
Exchange tokens without gas | “Swap 100 USDT for USDC” |
🎯 buy-openrouter-credits |
Purchase AI credits with USDC | “Buy $25 OpenRouter credits” |
🌉 bridge-tokens |
Bridge tokens across chains using deBridge | “Bridge 100 USDC from Avalanche to Ethereum” |
📊 sxt-query-data |
Query blockchain data using Space and Time | “Show my transaction history” |
🚀 Quick Start
📦 Installation
Preferred installation method:
# Global installation (recommended)
npm install -g 0xgasless/mcp
⚙️ Configuration
1️⃣ Automatic Setup (Easiest)
0xgasless-mcp configure
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:
# 🔑 Required Configuration
PRIVATE_KEY=0x... # Your wallet private key
RPC_URL=https://... # Blockchain RPC endpoint
API_KEY=your_0xgasless_api_key # From dashboard.0xgasless.com
CHAIN_ID=43114 # Target blockchain (see table below)
SXT_API_KEY= # Space & Time Api Key
# 🎯 Optional Configuration
OPENROUTER_API_KEY=your_key # For AI credit purchases
🌐 Supported Networks
| 🌍 Network | 🆔 Chain ID | 💎 Native Token | 🔗 RPC Endpoint |
|---|---|---|---|
| 🔴 Avalanche | 43114 |
AVAX | https://api.avax.network/ext/bc/C/rpc |
安装
npx 0xgasless-mcp-server配置
{
"mcpServers": {
"0xgasless": {
"command": "npx",
"args": ["0xgasless-mcp-server"],
"env": {
"PRIVATE_KEY": "0x...",
"RPC_URL": "https://...",
"API_KEY": "your_0xgasless_api_key",
"CHAIN_ID": "43114",
"SXT_API_KEY": "your_space_&_time_api_key",
"OPENROUTER_API_KEY": "your_openrouter_key"
}
}
}
}