home / mcp / 0xgasless mcp server
Provides gasless blockchain actions via Claude AI across multiple networks using ERC-4337 account abstraction.
Configuration
View docs{
"mcpServers": {
"0xgasless-mcp": {
"command": "npx",
"args": [
"0xgasless-mcp-server"
],
"env": {
"API_KEY": "your_0xgasless_api_key",
"RPC_URL": "https://...",
"CHAIN_ID": "43114",
"PRIVATE_KEY": "0x...",
"SXT_API_KEY": "your_space_&_time_api_key",
"OPENROUTER_API_KEY": "your_openrouter_key"
}
}
}
}You deploy the 0xGasless MCP Server to connect Claude AI with multiple blockchains, enabling gasless transactions and token operations directly from conversations. It provides a streamlined, secure way to interact with blockchain networks without holding native tokens, across several networks and with instant setup options.
Interact with your Claude conversations to perform gasless blockchain actions. You can retrieve your smart account address, check token balances, transfer tokens, swap assets, bridge tokens across chains, and purchase AI credits for OpenRouter-empowered features. Use natural language prompts to trigger these actions, for example asking for your wallet balance, initiating a token transfer, or swapping assets.
Prerequisites: you need Node.js installed on your system. You will also use npm or npx to install and run the MCP server locally.
# Global installation (recommended)
npm install -g 0xgasless/mcpConfiguration involves supplying your blockchain connection details and API keys. You can use an automatic setup flow or a manual environment file. The automatic flow configures your environment and Claude Desktop integration with a single command. The manual flow requires you to create a .env file with required and optional settings.
0xgasless-mcp configureCreate a .env file with the required configuration to enable gasless operations on your target network.
# π 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 supported networks)
SXT_API_KEY= # Space & Time Api Key
# π― Optional Configuration
OPENROUTER_API_KEY=your_key # For AI credit purchasesYou can automatically configure Claude Desktop to work with your MCP server, or you can manually add the MCP server configuration to Claudeβs settings.
0xgasless-mcp configureRetrieve your smart account address
Check token balances (ERC20 support)
Send tokens gaslessly
Exchange tokens without gas
Purchase AI credits with USDC
Bridge tokens across chains using deBridge
Query blockchain data using Space and Time