Integration · Coinbase AgentKit

OFAC Screens Before AgentKit Agents Send Payments

One MCP tool adds sanctions screening to Coinbase AgentKit before your agent sends ETH, Base, Sol, or BTC.

The problem

Coinbase AgentKit agents can interact with any on-chain address. The agent does not know if the destination wallet belongs to a sanctioned entity. OFAC liability does not disappear because a smart contract sent the transaction.

Code example

import { Agentkit } from "@coinbase/agentkit";
  import { AgentMailMCP } from "@agentmail/mcp";

  const ofac = new AgentMailMCP({
    mode: "mcp",
    apiKey: "am_your_key"
  });

  // Before your agent sends:
  const screen = await ofac.screenWallet({
    address: "0x742d35Cc6634C0532929dC57EB0615e2383E2f96",
    chain: "ethereum"
  });
  if (screen.flagged) throw new Error("Blocked by sanctions");

Setup steps

Install MCPpip install -U sanctions-mcp
Add to AgentKitRegister mcp__agentmail__sanctions_check in your agent config
Screen before sendCall screenWallet before any funds transfer
AuditEvery screen is logged - export to CSV anytime

Pricing

$99/mo Pro plan · Free: 5 checks/day

Add OFAC screening to Coinbase AgentKit

Free tier: 5 checks/day, no API key. Scale from $19/mo.

See pricing