Install web3agent for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"apegurus-web3agent": {
"command": "npx",
"args": [
"-y",
"web3agent@0.6.2"
],
"env": {
"CHAIN_ID": "",
"CONFIRM_WRITES": "",
"ETHERSCAN_API_KEY": "YOUR_ETHERSCAN_API_KEY",
"ZEROX_API_KEY": "YOUR_ZEROX_API_KEY",
"COINGECKO_API_KEY": "YOUR_COINGECKO_API_KEY",
"CCXT_CONFIG_PATH": "",
"OWS_PASSPHRASE": "YOUR_OWS_PASSPHRASE"
}
}
}
}