io.github.sparkmastergrape/dns-of-money
Official3 toolsResolve, discover & pay pay: aliases for AI agents; returns a signed OFAC-screen attestation.
Resolve payment aliases and verify OFAC compliance for financial transactions.
Captured live from the server via tools/list.
resolve_alias
Resolve a human-readable financial alias (pay: address) to payment endpoints and routing metadata. Call this before initiating any payment to a pay: address. Returns the preferred rail, fallback endpoints, an ISO 20022 hint, and a compliance signal. Field visibility depends on the caller's API-key tier (anonymous callers see status only). Example: resolve_alias('pay:acme.user').
Parameters (4)
- alias_uristringrequired
The pay: address to resolve. E.g. 'pay:acme.user'.
- amountstring
Optional payment amount (decimal string) — refines rail scoring.
- currencystring
Optional ISO 4217 currency code. Defaults to USD.
- preferred_railstring
Optional rail hint (e.g. 'xrpl', 'fednow'). Advisory only.
discover_agent
Get the AP2/A2A agent-commerce block for a pay: address — the DNS of Money equivalent of an A2A agent-card lookup. Use this during agent discovery before initiating a mandate flow. Returns agent capabilities only; NO payment credentials. Example: discover_agent('pay:acme.user').
Parameters (1)
- alias_uristringrequired
The pay: address to discover. E.g. 'pay:acme.user'.
get_payment_requirements
Get x402 PaymentRequirements for paying a pay: alias. Returns the 402 `accepts` block (scheme, network, payTo, asset, amount, invoiceId) an x402 agent needs to construct and submit the payment. currency='XRP' settles on the XRP Ledger (amount in drops); currency='USDC' settles USDC on Algorand via the GoPlausible facilitator (amount in atomic micro-USDC, feePayer in `extra`). The deterministic resolver chooses the rail; this tool never moves money. Example: get_payment_requirements('pay:acme.user', amount='1.5').
Parameters (3)
- alias_uristringrequired
The pay: address to pay. E.g. 'pay:acme.user'.
- amountstringrequired
Amount to pay — decimal string in the asset's display unit (XRP).
- currencystring
Asset to pay in: 'XRP' (XRPL) or 'USDC' (Algorand). Defaults to XRP.
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"dns-of-money": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.dnsofmoney.com/mcp/rpc"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.