πŸš€ 0xGasless MCP Server

by achiit

254 downloads Not rated yet MIT license

About

# πŸš€ 0xGasless MCP Server **πŸ”— Seamless Blockchain Integration for Claude AI** *Execute gasless transactions, swaps, and transfers directly from your Claude conversations* [πŸš€ Quick Start](#-quick-start) β€’ [πŸ“– Documentation](#-documentation) β€’ [πŸ› οΈ Development](#️-development) β€’ [🀝 Contributing](#-contributing) </div> ---…

Details

License
MIT license

Explore

- Zero gas fees for blockchain transactions
- Support for 8+ blockchain networks including BSC, Base, Ethereum, Polygon
- Natural language blockchain interactions through Claude AI
- Smart account abstraction with enhanced security
- One-command Claude Desktop integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name πŸš€ 0xGasless MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Choose your preferred installation method:


npm install -g 0xgasless-mcp

bash
0xgasless-mcp configure

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:

bash

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=56 # Target blockchain (see table below)

OPENROUTER_API_KEY=your_key # For AI credit purchases


---

The easiest way to integrate with Claude Desktop:

bash
0xgasless-mcp configure

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

json
{
"mcpServers": {
"0xgasless": {
"command": "npx",
"args": ["0xgasless-mcp-server"],
"env": {
"PRIVATE_KEY": "0x...",
"RPC_URL": "https://...",
"API_KEY": "your_0xgasless_api_key",
"CHAIN_ID": "56",
"OPENROUTER_API_KEY": "your_openrouter_key"
}
}
}
}

---

Once configured, interact with blockchain using natural language:

bash

npm install

1. 🍴 Fork the repository
2. 🌿 Create a feature branch: git checkout -b feature/amazing-feature
3. πŸ’Ύ Commit your changes: git commit -m 'Add amazing feature'
4. πŸ“€ Push to branch: git push origin feature/amazing-feature
5. πŸ”„ Open a Pull Request

| 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" |

---

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "\ud83d\ude80 0xgasless mcp server": {
            "0xgasless": {
                "command": "npx",
                "args": [
                    "0xgasless-mcp"
                ],
                "env": {
                    "PRIVATE_KEY": "YOUR_SMART_ACCOUNT_WALLET_PRIVATEKEY",
                    "RPC_URL": "BNB OR AVALANCHE OR SONIC RPC URLS",
                    "API_KEY": "YOUR_0xgasless_API_KEY",
                    "CHAIN_ID": "CHAIN ID",
                    "OPENROUTER_API_KEY": "OPENROUTER_API_KEY"
                }
            }
        }
    }
}

McpServers

{
    "0xgasless": {
        "command": "npx",
        "args": [
            "0xgasless-mcp"
        ],
        "env": {
            "PRIVATE_KEY": "YOUR_SMART_ACCOUNT_WALLET_PRIVATEKEY",
            "RPC_URL": "BNB OR AVALANCHE OR SONIC RPC URLS",
            "API_KEY": "YOUR_0xgasless_API_KEY",
            "CHAIN_ID": "CHAIN ID",
            "OPENROUTER_API_KEY": "OPENROUTER_API_KEY"
        }
    }
}

πŸ”— Seamless Blockchain Integration for Claude AI

Execute gasless transactions, swaps, and transfers directly from your Claude conversations

πŸš€ Quick Start β€’ πŸ“– Documentation β€’ πŸ› οΈ Development β€’ 🀝 Contributing

</div>

---

🌟 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" |

---

πŸš€ Quick Start

πŸ“¦ Installation

Choose your preferred installation method:

```bash

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.