Agentmail

by kindrat86

366 downloads
Not rated
GitHub

About

Compliance & verification toolkit for AI agents. Screen counterparties against real OFAC sanctions data (782 crypto wallets + 19,086 names + 16 embargoed jurisdictions), score transaction fraud risk before payment, Know-Your-Agent trust scoring. MCP + HTTP + CLI. Free, no API key

Details

Author
kindrat86
Downloads
366
Categories
Developer Tools, Security, API

- OFAC sanctions screening – 782 crypto wallets & 19,086 names
- Disposable email inbox for receiving OTPs / magic links
- Rentable SMS numbers for phone verification
- Transaction risk scoring (0–100, allow/review/decline)
- Know-Your-Agent (KYA) trust verification for counterparty agents
- Dispute tool for reporting failed transactions
- Self-host free & open source (MIT); hosted API also available
- MCP, HTTP API, and CLI surfaces – same core, same data

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Agentmail
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via pip install sanctions-mcp. Configure as an MCP server in .mcp.json for Claude Code/Cursor, run as an HTTP API (python -m agentmail.api), or use the CLI (python -m agentmail.cli). Then call tools like sanctions_check, risk_score, kya_verify, dispute_open, create_inbox, fetch_code, create_number, and fetch_sms.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "agentmail": {
            "agentmail": {
                "command": "python",
                "args": [
                    "-m",
                    "agentmail.api",
                    "#",
                    "serves",
                    "on",
                    ":8000"
                ]
            }
        }
    }
}

McpServers

{
    "agentmail": {
        "command": "python",
        "args": [
            "-m",
            "agentmail.api",
            "#",
            "serves",
            "on",
            ":8000"
        ]
    }
}

agentmail — compliance & verification toolkit for AI agents

PyPI Python 3.11+ License: MIT > Your agent is about to send USDC to a stranger. Is that stranger sanctioned? > 782 OFAC crypto wallets · 19,086 sanctioned names · 16 embargoed jurisdictions. > No API key. No signup. 30-second setup. Free & open source. agentmail gives any AI agent three capabilities it can't provide itself: | Layer | What | Status | |---|---|---| | 🛡️ Compliance | OFAC sanctions screen, KYA, transaction risk score, disputes | ✅ Live — real OFAC data | | 📧 Email | Disposable verification inbox (receive OTP/magic links) | ✅ Live | | 📱 SMS | Rentable phone numbers (receive SMS/OTP) | ✅ Live (mock free, 5sim/Twilio paid) | It exposes all of these through three surfaces — MCP tools (for Claude Code / Cursor / Hermes), an HTTP API (for any agent), and a CLI (for you). Same core, same data. ---

Why this exists

Agents are starting to pay for things (x402, AP2, ACP, Coinbase AgentKit). But every payment rail assumes a human is watching. If your agent autonomously pays a wallet that's on the OFAC Specially Designated Nationals list, that's your legal problem — and the big payment infra players (OpenAI, Stripe, Coinbase) explicitly do not handle per-jurisdiction sanctions screening, Know-Your-Agent, or agent-transaction fraud signals. That's the gap this fills. `` agent ──about to pay──▶ sanctions_check(wallet) ──▶ clean? proceed. sanctioned? ABORT. ` ---

Quick start (30 seconds)

`bash pip install sanctions-mcp `

Option A — use it from an MCP client (Claude Code / Cursor)

`jsonc // .mcp.json or your client's MCP config { "mcpServers": { "agentmail": { "command": "python", "args": ["-m", "agentmail.mcp_server"] } } } ` Now your agent can call sanctions_check, risk_score, kya_verify, dispute_open, create_inbox, fetch_code, create_number, fetch_sms, release_number, list_inboxes. > Note: the PyPI package is sanctions-mcp (the name agentmail was taken). The Python import name is still agentmail.

Option B — use it as an HTTP API

`bash python -m agentmail.api # serves on :8000 ` ``bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.