Give Claude a wallet it cannot empty: the Bulwark MCP server→
Bulwark Guard

Connect your agent

Everything ships as one file served by this site: /sdk/bulwark.mjs. It is the SDK, the bulwark CLI and a local MCP server. It needs Node 20 or later and nothing else.

curl -sO https://www.bulwarkguard.xyz/sdk/bulwark.mjs

SDK

import { wrap } from "./bulwark.mjs";

const bulwark = wrap(process.env.BULWARK_AGENT_KEY, process.env.BULWARK_WALLET);

await bulwark.check({ to, data });               // every check, nothing signed
await bulwark.sendTransaction({ to, value, data }); // becomes wallet.execute(to, value, data)
await bulwark.writeContract({ address, abi, functionName, args });
await bulwark.sendToken("USDG", payee, "0.50");
await bulwark.swapUsdgToWeth("1");               // Universal Router, one checked batch
await bulwark.status();

A refusal throws BulwarkRefusal with a code and a message the agent can read, for example blocked: daily USDG cap reached 1.00/1.00 (last 24 h). signTypedData always throws. Refusals and reverted calls are posted to the wallet's Activity, signed by the agent key (set BULWARK_REPORT=0 or report: false to turn it off).

CLI

node bulwark.mjs status
node bulwark.mjs check 0xTarget 0xCalldata
node bulwark.mjs send USDG 0xPayee 0.50
node bulwark.mjs call 0xTarget 0xCalldata [valueWei]
node bulwark.mjs swap 1
node bulwark.mjs topup

MCP server

Tools: wallet_status, send_token, swap, call_contract, check_address. The server signs with the agent key only.

Claude Code

claude mcp add bulwark --env BULWARK_AGENT_KEY=0x... --env BULWARK_WALLET=0x... -- node /path/to/bulwark.mjs mcp

Claude Desktop and Cursor

{
  "mcpServers": {
    "bulwark": {
      "command": "node",
      "args": ["/path/to/bulwark.mjs", "mcp"],
      "env": { "BULWARK_AGENT_KEY": "0x...", "BULWARK_WALLET": "0x..." }
    }
  }
}

The app's Connect your agent page fills these snippets with your wallet address.