Skip to main content

🤖 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

ToolParametersDescription
create_walletname, chainGenerates a new wallet for the agent
get_balanceaddress, chainRetrieves native token balance
list_wallets-Lists all wallets owned by this API key
send_transactionfrom, to, value, chainDispatches funds (routes through Policy Engine)
get_tx_statushash, chainChecks transaction inclusion and status
list_chains-Returns all supported networks
create_identitywallet, name, typeRegisters ERC-8004 identity

Security Model

When an AI model attempts to send_transaction:

  1. The MCP server calls the CLAW API.
  2. CLAW checks the Policy Engine.
  3. If it exceeds the auto-approval threshold, the transaction is Paused.
  4. The user receives a WebSocket/Webhook notification to approve the action.
  5. The AI model is informed that the operation is Pending Approval.