🤖 Model Context Protocol (MCP)
CLAW Wallet natively supports the Model Context Protocol, allowing AI models (like Claude) to securely interact with on-chain assets.
Integration
To add CLAW to your MCP-compatible client (e.g., Claude Desktop), add the following to your configuration:
{
"mcpServers": {
"claw-wallet": {
"command": "node",
"args": ["/path/to/agent-wallet-service/mcp-server.js"],
"env": {
"AGENT_WALLET_API_KEY": "your_api_key"
}
}
}
}
Available Tools
| Tool | Parameters | Description |
|---|---|---|
create_wallet | name, chain | Generates a new wallet for the agent |
get_balance | address, chain | Retrieves native token balance |
list_wallets | - | Lists all wallets owned by this API key |
send_transaction | from, to, value, chain | Dispatches funds (routes through Policy Engine) |
get_tx_status | hash, chain | Checks transaction inclusion and status |
list_chains | - | Returns all supported networks |
create_identity | wallet, name, type | Registers ERC-8004 identity |
Security Model
When an AI model attempts to send_transaction:
- The MCP server calls the CLAW API.
- CLAW checks the Policy Engine.
- If it exceeds the auto-approval threshold, the transaction is Paused.
- The user receives a WebSocket/Webhook notification to approve the action.
- The AI model is informed that the operation is Pending Approval.