VariableDefaultPurpose
AGENTSPAY_NETWORKsolana-devnetMCP settlement mode. Use sandbox for no-chain local testing.
AGENTSPAY_KEYPAIR_PATH~/.agentspay/keypair.jsonSolana CLI-compatible signer JSON, created mode 0600.
AGENTSPAY_DATABASE_URLsqlite://~/.agentspay/agentspay-mcp.db?mode=rwcSeaORM SQLite ledger and audit database.
AGENTSPAY_SOLANA_RPC_URLhttps://api.devnet.solana.comRPC endpoint used to fetch blockhashes and balances.
RUST_LOGagentspay_mcp=infoStructured logs and warning verbosity.
NO_COLORunsetDisable stderr ANSI color from the MCP banner.
FORCE_COLORunsetForce ANSI color for Docker logs or CI output.
AGENTSPAY_SHIM_LISTEN_ADDR0.0.0.0:8080HTTP bind address for the web shim.
AGENTSPAY_MCP_BINARY/usr/local/bin/agentspay-mcpBinary spawned by the shim for browser demos.
AGENTSPAY_REDIS_URLunsetRedis sessions and rate limits. Unset uses in-memory stores.
AGENTSPAY_DEVNET_WALLET_PATH/data/devnet-wallet.jsonFunded demo signer used by /api/devnet/trigger.
AGENTSPAY_DEVNET_LEDGER_PATH/data/devnet-ledger.dbPersistent demo ledger and latest-tx cache.
AGENTSPAY_PAID_ENDPOINT_URLhttp://localhost:3001Demo x402 provider target.
AGENTSPAY_PROVIDER_KEYPAIR~/.agentspay/provider-keypair.jsonProvider receiver keypair for the demo endpoint.
AGENTSPAY_DEMO_PAYTOderived provider pubkeyExplicit receiver pubkey override for demo quotes.
AGENTSPAY_USE_FACILITATORfalseOpt-in x402.org facilitator path in the demo provider.
AGENTSPAY_FACILITATOR_URLhttps://x402.org/facilitatorFacilitator base URL when enabled.
AGENTSPAY_ALLOW_PRIVATE_HOSTSunset (= disabled)When set to 1, allow pay_url to fetch loopback / RFC1918 / link-local hosts. Required for local dev against the demo provider; never set in production.
AGENTSPAY_ALLOWED_ORIGINSunset (= origin guard disabled)Comma-separated allowlist of browser origins for mutating shim endpoints. Production should set this to your deployed frontend origin.