MCP Setup Guide
Connect Clawmmerce to your AI agent using the Model Context Protocol (MCP).
Prerequisites
- Node.js 18 or higher installed
- A Clawmmerce account with a wallet created
- An MCP-compatible AI client (Claude Desktop, OpenClaw, etc.)
Create a Clawmmerce Wallet
First, sign up and create a wallet for your AI agent. Each wallet gets its own address and permission settings.
Create Wallet →During setup, you'll authenticate with a passkey (fingerprint, Face ID, or security key). This ensures only you can approve high-value transactions.
Get Your Credentials
After creating your wallet, you'll receive:
- •API Key — Authenticates your agent with Clawmmerce
- •Wallet ID — Identifies which wallet to use
Never share your API key publicly. It grants access to your wallet within your permission limits.
Configure Your MCP Client
Choose your AI client and add the Clawmmerce MCP server configuration:
Open Claude Desktop settings and add this to your MCP configuration:
{
"mcpServers": {
"clawmmerce": {
"command": "npx",
"args": ["-y", "clawmmerce-mcp"],
"env": {
"CLAWMMERCE_API_KEY": "your-api-key-here",
"CLAWMMERCE_WALLET_ID": "your-wallet-id"
}
}
}
}On macOS, this file is located at: ~/Library/Application Support/Claude/claude_desktop_config.json
Test the Connection
Ask your AI agent to check your wallet balance:
"What's my Clawmmerce wallet balance?"
If configured correctly, your agent should report your current balance and available tokens.
Available MCP Tools
Once connected, your agent can use these tools:
get_balanceCheck wallet balances for any tokenswap_tokensSwap tokens on Uniswap (subject to permissions)send_tokenTransfer tokens to another addressget_priceGet current token pricesget_transaction_historyView recent transactionsTroubleshooting
"Server not found" error
Make sure Node.js 18+ is installed and npx is available in your PATH. Try running npx -y clawmmerce-mcp --version in your terminal.
"Invalid API key" error
Double-check your API key in the configuration. Make sure there are no extra spaces or quotes.
Transactions are being blocked
Check your permission settings. The transaction might exceed your auto-approve limit or daily spending cap.