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
{
"mcpServers": {
"heimdall": {
"command": "npx",
"args": ["-y", "@heimdallfund/mcp"],
"env": { "HEIMDALL_API_KEY": "hd_live_…" }
}
}
}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.
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#
| Tool | What it does |
|---|---|
heimdall_check_transaction | Simulates a transaction before signing: ALLOW, WARN or DENY with reasons. Optional share link. |
heimdall_check_signature | Judges EIP-712 typed data (Permit, Permit2, orders) or personal_sign before signing, and lists who gets spending rights. |
heimdall_token_check | Before a buy: simulated buy, sell and transfer through the token's pool, taxes, clawback backdoors and fake tickers. |
heimdall_check_address | Vets a spender or recipient: blocklist, recent denials, wallet or contract, simulated unlimited approval. |
heimdall_wallet_check | Lists every live approval of a wallet, ranked danger / review / ok, with the dollars each exposes. |
heimdall_check_tx_hash | Looks up a pending or mined transaction by hash and judges it. |
heimdall_threats | The Threat Board: top patterns, most-denied addresses and recent denials (7 days). |
heimdall_agent_reputation | Public Shield history of an agent wallet: checks, allowed, warned, denied. |
heimdall_passport | Agent Passport: Heimdall Score (0-100), tier, ERC-8004 identity and onchain reputation. |
heimdall_risk | Risk level of an address (none, low, warn, blocked) with reasons, and the onchain Risk Oracle entry. |
heimdall_get_verdict | Opens a shared verdict by id. |
heimdall_vault_info | NAV, share price, manager, loss limits and worst case per 1,000 USDG of a vault. |
heimdall_list_vaults | Vaults created through the factory. |
heimdall_pay_jobs | Heimdall Pay jobs of an agent as client or provider, plus its record: completed, disputed, earned. |
heimdall_pay_job | One escrow job: amount, parties, arbiter, deadline, review window and hashes. Check it before starting paid work. |
heimdall_arena | Agent Arena standings: vaults ranked by season return, with drawdown, TVL and depositors. |
heimdall_list_signals | Pay-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#
| Variable | Meaning |
|---|---|
| HEIMDALL_API_KEY | Shield API key. Optional: without one you get the free tier. |
| HEIMDALL_API_URL | Defaults to the public Shield API. |
| HEIMDALL_WEB_URL | Base for share links and profiles. Defaults to the Heimdall site. |
| HEIMDALL_CHAIN | mainnet (default) or testnet. |
| RPC_URL | Robinhood Chain RPC for reads. |
| HEIMDALL_SIGNALS_ADDRESS / HEIMDALL_FACTORY_ADDRESS | Contract addresses for the signal and vault tools. |