Skip to main content

AiFinPay

io.github.daochild/aifinpay

v2.20.0Updated Nov 25, 2026stdio · npmremote · http

Payment infrastructure for AI agents: wallet, passport, owner-enabled Polygon and Base payments.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add --transport http aifinpay https://mcp.aifinpay.io/mcp

Configuration

12 settings.

  • SEED_HASH
    Env var· optional· secret
    32-byte hex seed (64 hex characters), the highest-priority wallet source. Solana, EVM and Casper addresses derive from it.
  • AIFINPAY_AGENT_SECRET
    Env var· optional· secret
    Legacy base58 Ed25519 secret for a persistent agent identity; Solana, EVM and Casper addresses derive from it. Without any wallet source the server uses an unfunded ephemeral identity.
  • AIFINPAY_WALLET_PASSPHRASE
    Env var· optional· secret
    Passphrase for an encrypted ~/.aifinpay/agent.json keystore created by `npx @aifinpay/mcp init`.
  • AIFINPAY_PAYMENTS_ENABLED
    Env var· optional
    Payments (payable_fetch, AIFP-1 v1.4 on the owner's pay chain) are on unless this is 0. Only a persistent wallet signs, within the built-in ceiling of $5 per payment and $20 per 24 hours; an unfunded wallet spends nothing.
  • AIFINPAY_MAX_USD
    Env var· optional
    Lowers the built-in $5 per-payment ceiling of payable_fetch (default 5; a higher value is refused). The working limits are the dashboard Controls. A tool argument can lower it for one call, never raise it.
  • AIFINPAY_DAILY_USD
    Env var· optional
    Lowers the built-in $20 rolling 24-hour ceiling (default 20; a higher value is refused).
Show 6 more
  • AIFINPAY_GATEWAY_ORIGINS
    Env var· optional
    Optional allowlist: comma-separated exact HTTPS origins the agent may pay. Unset, any https site; who is paid is decided by the AiFinPay-signed quote, never by the 402.
  • AIFINPAY_PAY_CHAIN
    Env var· optional
    Payment chain, polygon by default. Other supported networks only by explicit owner selection; a quote for any other chain is refused.
  • AIFINPAY_MAX_GAS
    Env var· optional
    Gas cap per payment in the pay chain's native currency. Required with payments unless AIFINPAY_MAX_GAS_POL is set on Polygon.
  • AIFINPAY_RPC_URL
    Env var· optional
    Optional HTTPS RPC for the payment chain.
  • AIFINPAY_MAX_GAS_POL
    Env var· optional
    Gas cap per payment in POL, e.g. 0.3. Polygon only; on other chains use AIFINPAY_MAX_GAS.
  • AIFINPAY_BASE_URL
    Env var· optional
    Override the AiFinPay backend. Unset, read-only tools use https://aifinpay.io and payable_fetch quotes and receipts use https://api.aifinpay.io.

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.