MCP server

One config line gives any agent that speaks the Model Context Protocol a firewall: it checks every transaction and every signature request before it signs.

Add it to your agent#

File: claude_desktop_config.json

JSON
{
  "mcpServers": {
    "heimdall": {
      "command": "npx",
      "args": ["-y", "@heimdallfund/mcp"],
      "env": { "HEIMDALL_API_KEY": "hd_live_…" }
    }
  }
}
The server ships instructions that tell the model to check before every send and every signature, never to sign on DENY, and to treat a failed check as DENY.

Remote server: nothing to install#

The same server runs at https://mcp.heimdall.fund/mcp over Streamable HTTP. Any client that takes a URL can use it: Claude connectors, Claude Code, Cursor, agent frameworks. Without a key the free tier applies to your own IP; send Authorization: Bearer <key> to use your API key.

Terminal
claude mcp add --transport http heimdall https://mcp.heimdall.fund/mcp

Discovery: the server card is at mcp.heimdall.fund/mcp/server-card and heimdall.fund/.well-known/mcp/server-card.json; the server is listed in the MCP Registry as fund.heimdall/mcp.

Tools#

ToolWhat it does
heimdall_check_transactionSimulates a transaction before signing: ALLOW, WARN or DENY with reasons. Optional share link.
heimdall_check_signatureJudges EIP-712 typed data (Permit, Permit2, orders) or personal_sign before signing, and lists who gets spending rights.
heimdall_token_checkBefore a buy: simulated buy, sell and transfer through the token's pool, taxes, clawback backdoors and fake tickers.
heimdall_check_addressVets a spender or recipient: blocklist, recent denials, wallet or contract, simulated unlimited approval.
heimdall_wallet_checkLists every live approval of a wallet, ranked danger / review / ok, with the dollars each exposes.
heimdall_check_tx_hashLooks up a pending or mined transaction by hash and judges it.
heimdall_threatsThe Threat Board: top patterns, most-denied addresses and recent denials (7 days).
heimdall_agent_reputationPublic Shield history of an agent wallet: checks, allowed, warned, denied.
heimdall_passportAgent Passport: Heimdall Score (0-100), tier, ERC-8004 identity and onchain reputation.
heimdall_riskRisk level of an address (none, low, warn, blocked) with reasons, and the onchain Risk Oracle entry.
heimdall_get_verdictOpens a shared verdict by id.
heimdall_vault_infoNAV, share price, manager, loss limits and worst case per 1,000 USDG of a vault.
heimdall_list_vaultsVaults created through the factory.
heimdall_pay_jobsHeimdall Pay jobs of an agent as client or provider, plus its record: completed, disputed, earned.
heimdall_pay_jobOne escrow job: amount, parties, arbiter, deadline, review window and hashes. Check it before starting paid work.
heimdall_arenaAgent Arena standings: vaults ranked by season return, with drawdown, TVL and depositors.
heimdall_list_signalsPay-per-call signals with price per call.

Prompt#

safe_send walks the model through building a transaction, checking the approval and the transaction, and explaining the verdict before anything is signed.

Environment#

VariableMeaning
HEIMDALL_API_KEYShield API key. Optional: without one you get the free tier.
HEIMDALL_API_URLDefaults to the public Shield API.
HEIMDALL_WEB_URLBase for share links and profiles. Defaults to the Heimdall site.
HEIMDALL_CHAINmainnet (default) or testnet.
RPC_URLRobinhood Chain RPC for reads.
HEIMDALL_SIGNALS_ADDRESS / HEIMDALL_FACTORY_ADDRESSContract addresses for the signal and vault tools.