Docs

Connect Claude to BNB Chain.

One file, no dependencies. Add it to Claude Code, Claude Desktop or any MCP client and your agent can read tokens and Flap launches, and act from a small wallet under limits you set.

Overview

ANTHROPOS ships as an MCP server: a small program your AI client starts locally and talks to over stdio. Version 0.2.0 reads BNB Chain mainnet (chain id 56) and Flap, and can act through a local burner wallet that you create: swap, bridge from BNB Chain and send, always under limits you set and checks it will not skip (the Guard).

Honest status. The signing and sending code is tested against a simulated chain with published test vectors and against live quotes. It has not yet been run with real funds by the author. Start with a few dollars.

Mainnet only. There is no testnet mode.

Quickstart

  1. Check Node.js 18 or newer. Run node -v. Install from nodejs.org if it is missing.
  2. Download the server and run the self-test.
    shell
    curl -fsSL https://anthropos-eb3.pages.dev/anthropos-mcp.mjs -o ~/anthropos-mcp.mjs
    node ~/anthropos-mcp.mjs --selftest
    powershell
    Invoke-WebRequest https://anthropos-eb3.pages.dev/anthropos-mcp.mjs -OutFile $HOME\anthropos-mcp.mjs
    node $HOME\anthropos-mcp.mjs --selftest

    Expected output: OK rpc reachable; WBNB contract holds … BNB. SHA-256 of the file: 6e2fc997645a5d6c8691aee6fff68d33064c50c8df05263370f5d93821ba7029 (also at /anthropos-mcp.mjs.sha256). Compare it before you run the file, and read it: it is one readable file of about 100 KB.

  3. Connect your client using one of the sections below, then ask Claude: “Use anthropos to scan 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82 and tell me the risks.”
  4. Optional: let it act. Run node ~/anthropos-mcp.mjs init. It creates a burner wallet on your machine and prints only the address. Fund it with a small amount of BNB. Details in Wallet and limits.

Connect Claude Code

Run this once in your terminal. Replace the path if you saved the file elsewhere.

terminal
claude mcp add anthropos -- node ~/anthropos-mcp.mjs
powershell
claude mcp add anthropos -- node $HOME\anthropos-mcp.mjs

Check that it registered, then open a Claude Code session and type /mcp. You should see anthropos connected with 15 tools.

terminal
claude mcp list

To use your own RPC node:

terminal
claude mcp add --transport stdio --env BSC_RPC_URL=https://your-rpc.example anthropos -- node ~/anthropos-mcp.mjs

Remove it any time with claude mcp remove anthropos.

Connect Claude Desktop

Edit claude_desktop_config.json (Settings, Developer, Edit Config), add the block below, then restart Claude Desktop. The file lives at ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows.

json
{
  "mcpServers": {
    "anthropos": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/anthropos-mcp.mjs"]
    }
  }
}
json
{
  "mcpServers": {
    "anthropos": {
      "command": "node",
      "args": ["C:\\Users\\YOU\\anthropos-mcp.mjs"]
    }
  }
}
Use an absolute path. Claude Desktop does not expand ~ or $HOME. On Windows escape backslashes as \\.

Hermes and other MCP clients

Any client that can start a stdio MCP server works. The server is the command node with the file path as its only argument.

yaml
# Hermes Agent: config.yaml
mcp_servers:
  anthropos:
    command: node
    args: ["/home/you/anthropos-mcp.mjs"]
    env:
      BSC_RPC_URL: "https://bsc-rpc.publicnode.com"

For Cursor, Windsurf, Cline and similar, use the same mcpServers JSON as Claude Desktop in that client’s MCP settings. Check your client’s own docs for the exact file location.

Tools

ToolInputWhat it returns
anthropos_statusnoneWhat is available now, whether a wallet is set up, and what is planned. Claude should call this first.
bnb_balanceaddressBNB balance and whether the address is a contract.
token_infoaddressName, symbol, decimals, supply, bytecode size, EIP-1167 clone detection.
token_scanaddressOwnership, pause, Flap curve state and tax, PancakeSwap V2 pool and LP burn. Returns flags and an explicit unchecked list.
flap_tokenaddressFlap bonding-curve state: status, price, supply, progress to DEX, buy/sell tax, vault risk level.
flap_recent_launchesblocks, limit (optional)Newest launches on the Flap Portal with live curve state for each.
wallet_infononeThe local wallet address, BNB balance, spending limits and how much of today’s limit is used. Never the key.
swap_quotetokenIn, tokenOut, amount, slippageBpsA quote plus what the Guard would block. Sends nothing.
swap_executesame as swap_quoteSigns and sends the swap if the Guard allows it. Above the auto-approve amount a person must approve first.
bridge_quotetoChain, amount, fromToken, toTokenA Relay bridge quote from BNB Chain to another chain, with Guard checks. Sends nothing.
bridge_executesame as bridge_quoteSigns and sends the bridge deposit if the Guard allows it. Funds go to your own address on the other chain.
send_bnbto, amountTransfers BNB. Only to addresses in your allowlist, and always needs approval.
send_tokentoken, to, amountTransfers a stablecoin or WBNB under the same rules. Other tokens cannot be valued, so they are refused.
confirm_actionidRuns an action that you approved in your own terminal with anthropos-mcp approve.
policy_shownoneThe active limits and the list of contracts transactions may call.

Try: “List the 10 newest Flap launches and flag any with a tax above 5%.” or “Scan this token and tell me whether the owner can still change things.”

Wallet and limits

1. Create the wallet. Run node anthropos-mcp.mjs init on the machine that runs the server. It makes a random key in ~/.anthropos/wallet.key (mode 600), writes a default policy.json and prints the public address only. The key is never printed, logged or sent anywhere. Fund the address with a small amount of BNB: it is a burner, keep in it only what you can lose.

2. Set your limits. Edit ~/.anthropos/policy.json. The agent can read the policy with policy_show but cannot change it.

policy.json
{
  "perTxUsd": 25,
  "dailyUsd": 100,
  "autoApproveUsd": 5,
  "maxSlippageBps": 300,
  "maxGasUsd": 2,
  "maxLossPct": 5,
  "blockDangerousTokens": true,
  "allowedRecipients": [],
  "extraAllowedTargets": []
}
RuleWhat it does
perTxUsd, dailyUsdHard caps in US dollars for one action and for one UTC day. The value comes from the chain price of BNB and from Relay’s quote, whichever is higher.
autoApproveUsdUp to this value an action runs on its own. Above it a person must approve. Transfers always need approval.
maxSlippageBps, maxLossPct, maxGasUsdRefuse high slippage, a quote that returns much less value than it takes in, or expensive gas.
blockDangerousTokensRefuse to buy a token the scanner flags as dangerous.
allowedRecipientsThe only addresses send_bnb and send_token may pay. Empty means no transfers.
extraAllowedTargetsContracts beyond the built-in list (Flap Portal and Relay’s router, proxy and depository). Anything else is refused.

3. Every action is checked before it is signed. The tool builds the exact transactions, checks the limits, the allowed contracts and that approvals are for the exact amount to the contract that is called next (never unlimited), simulates each transaction against the live chain, and only then signs. If anything fails nothing is sent and the reasons come back to Claude.

4. Approval. If your client supports MCP elicitation, it asks you directly. Otherwise the tool returns an id and waits; you run node anthropos-mcp.mjs approve <id> in your own terminal, read what it will do and type approve, then Claude calls confirm_action. The command refuses to run without an interactive terminal.

What this does not protect against. Anyone who can read your key file can spend from it, and an agent that can run shell commands as you can read it too. Keep the wallet small. The approve step relies on you not letting an agent type into your terminal. Limits stop mistakes and prompt injection; they are not a vault.

Everything the agent tries, including blocked attempts, is appended to ~/.anthropos/audit.log. Set ANTHROPOS_HOME to use another folder.

Reading a scan

token_scan returns plain JSON with three parts that Claude should always show you:

  • flags: findings with a level (info, warn, danger).
  • unchecked: what was not checked, such as holder distribution, honeypot simulation, source verification and liquidity locks.
  • disclaimer: it is a heuristic read of public data, not an audit.
No flags is not “safe”. A clean scan only means the checks it can do found nothing. Always look at the unchecked list.

Configuration

VariableDefaultMeaning
BSC_RPC_URLpublic nodes (publicnode, Binance dataseed, defibit)Comma-separated RPC URLs, tried in order. Use your own node for heavy use. flap_recent_launches needs a node that allows eth_getLogs over a few thousand blocks.
ANTHROPOS_HOME~/.anthroposFolder for the wallet key, policy.json, the daily ledger, pending approvals and audit.log.
ANTHROPOS_KEY_FILE$ANTHROPOS_HOME/wallet.keyUse a key file somewhere else (it must not be readable by other users on macOS and Linux).
ANTHROPOS_PRIVATE_KEYnot setKey as an environment variable. Works, but a file is safer because environments leak into logs and child processes.

Commands: init, address, pending, approve <id>, --selftest, --version.

Pair with Flap Skills for launches

Flap publishes official agent skills that work with Claude Code and Hermes, including Launch a BNB Token on Flap and a walkthrough for the Binance Agentic Wallet, which signs with your confirmation on each step. ANTHROPOS can trade tokens that already exist but cannot launch one yet, so for a launch today use those skills for the launch itself and use ANTHROPOS to read and scan before you act.

Flap: Agent Skills · Using Flap Skills with the Binance Agentic Wallet

Safety model

  • Reads: need no key. The only network calls go to the RPC URLs listed in anthropos_status, plus Relay for swap and bridge quotes.
  • Acting: only from a burner wallet whose key stays in a private file on your machine. No key is ever returned by a tool, written to the audit log or sent to a server.
  • Guard: caps per action and per day, slippage and gas caps, a deny-by-default contract list, exact-amount approvals, simulation before signing, a dangerous-token check, and human approval above a threshold and for every transfer. See Wallet and limits.
  • Not yet proven with real funds. The signer matches the published EIP-155 test vector and the whole path is tested on a simulated chain, but the author has not yet sent real transactions with it. Test with a few dollars first.
  • Mainnet only. Keep any wallet you connect to an agent small. An agent with a funded key can lose it.

Troubleshooting

SymptomFix
node: command not foundInstall Node.js 18+, reopen the terminal.
Claude shows the server as failedRun node anthropos-mcp.mjs --selftest by hand. If it prints FAIL your network blocks the RPC; set BSC_RPC_URL.
limit exceeded on launchesThe RPC rejects wide log queries. Lower blocks or use your own node.
Claude Desktop does not list the toolsUse an absolute path, restart the app fully, check the JSON is valid.
No wallet is set upRun node anthropos-mcp.mjs init on the machine that runs the server, then fund the address it prints.
readable by other usersRun chmod 600 on the key file it names.
An action says approval_requiredRun node anthropos-mcp.mjs approve <id> in your own terminal, then ask Claude to call confirm_action.

Status

CapabilityState
Token and Flap readsAvailable now
Web scanner, chart, holders and bubble map, wallet sign-inAvailable now
Local burner wallet, spending limits, allowlist, simulation, approvals (Guard)Available now
Swaps (Flap curve and Relay), bridge from BNB Chain, transfersAvailable now
Sending from the web app (switched off until a real test passes)Planned
PerpsPlanned
Flap launch with approvalPlanned