FurlPay Docs
Open App
  • Platform Overviewupdated
  • API Referencenew
  • 5-Minute Sandbox Quickstartupdated
  • Sandbox & Test Assetsnew
  • Create a Developer Account
  • Identity & KYC Verification
  • Passkeys & Biometrics
  • Transaction Statuses & Retries
  • Frequently Asked Questions
  • Core Primitives & Money Modelnew
  • Merchant Payments & Invoices
  • Contractor Payroll & Batch Payouts
  • EIP-3009 Gasless & Recurring
  • Circle CCTP Cross-Chain
  • LI.FI Cross-Chain Swaps
  • Solana Actions & Blinks
  • Wallet Infrastructure & Handles
  • Market Data Streams
  • Gasless Transfers Availability
  • Deposits & Withdrawals Support
  • Agentic Finance Overviewupdated
  • x402 & MPP Settlement Gatewayupdated
  • Agent Identity, Trust & TAP Mandatesupdated
  • Autonomous Finance & Policies
  • Claude Connector (MCP + OAuth 2.1)
  • AI Assistants & HITL Approvals
  • x402 Monetization Basics
  • Settlement Workspace & Maker-Checker
  • Transaction Truth & Double-Entry Ledgerupdated
  • Par 1:1 Routing Simulator Overview
  • Par Quote Engine & Swap Lifecycle
  • Par Networks & Settlement Assets
  • Par Operator Console
  • Par API Reference
  • Par Webhooks
  • Par AML & Travel Rule
  • Screening, Monitoring & Travel Rule
  • Circle Integration
  • Stripe Crypto Integration
  • Persona KYC Integration
  • API Conventions & Idempotencyupdated
  • Authentication, Keys & Versioning
  • Webhooks (PUSH HMAC-SHA512 & PULL)
  • Errors & Exception Playbooks
  • Rate Limits & Retry-After
  • Official SDKs (TS, Python, Go, Rust)updated
  • FurlPay CLI (@furlpay/cli) & MCP
  • Monorepo & Package Reference
  • SDK & API Integration Support
  • Cryptographic Architecture & KMS
  • Security Posture & Isolation
  • Signing Boundaries & WebAuthn
  • Production Configuration & Workers
  • Colocation Directory
  • Security & Compliance Frameworks
  • Regulatory & Launch Posture
  • Privacy, Redaction & GDPR

CLI full reference

  • CLI overview & install
  • Command index
  • MCP tool reference
  • Honesty matrix

Resources

  • Interactive Developer Workbench
  • Operational Status (/status)
  • Release Changelog
  • OpenAPI 3.1 Spec
  • Postman Collection
  • llms.txt (AI Index)
  • llms-full.txt (Full Docs)
  • Network & Assets
  • Proof of Reserves
  • Terms of Service
  • Privacy & DPA
  • Regulatory Disclosures
  • Security Disclosures
  • Contact Support
  • GitHub
Docs/05. API, SDK and CLI Reference/FurlPay CLI (@furlpay/cli) & MCP

Agentic Finance & Mandates

FurlPay CLI (@furlpay/cli)

Open-source terminal execution and dual MCP agent server layer for multi-source oracle quotes, Solana RPC reads, Hyperliquid perps, Stellar SDEX/Soroban simulation, ETSS escrow, and x402 workflows—labeled at runtime as LIVE, SIMULATED, or READ-ONLY.

Runtime Honesty Matrix Enforced

Every CLI surface reports its true execution status at runtime. Hyperliquid perp orders and HLP transfers execute signed payloads when FURLPAY_LIVE and valid risk limits are met; Stellar order routing and local x402 facilitation explicitly report SIMULATED.

Install & Quick Diagnostics

Requires Node.js ≥ 22.19.0 across macOS, Linux, and Windows without root privileges:

bash
npm install -g @furlpay/cli
furlpay --version
furlpay doctor
furlpay mainnet readiness   # 13 read-only pre-flight checks

Honesty Matrix & Execution Planes

Hyperliquid Perps & HLPLIVE (signed)

Signed EIP-712 orders gated behind pre-trade risk engine, USDC peg check, and FURLPAY_LIVE gate.

Oracle ConsensusLIVE (read-only)

Multi-source USD pricing (Coinbase, Kraken, Binance, Jupiter) with sanity bands and cross-source agreement.

Solana RPC QueriesLIVE (read-only)

Status and balance lookups plus indicative Jupiter quotes; no autonomous signing path.

Stellar SDEX / SorobanSIMULATED

Deterministic Horizon/Soroban local simulation; never broadcasts live Stellar trades.

Escrow (ETSS Local Ledger)LOCAL LEDGER

Local escrow state machine at ~/.furlpay/escrows.json with tamper-evident audit entries.

x402 & Binance SpotSIMULATED / TESTNET

Simulated local x402 settlement alongside testnet-default Binance spot adapter gated by agent policies.

Core Command Index (Embedded Reference)

ParameterTypeDescription
furlpay doctor / updateoptionalDiagnosticsVerify Node runtime, environment wiring, RPC reachability, and safely self-update.
furlpay mainnet readinessoptionalSafety GateRuns 13 strictly read-only runtime, signer, oracle, peg, and policy checks (exit 0 only when passing).
furlpay oracle price <asset>optionalRead-onlyFetch multi-venue price feed with spread agreement bounds.
furlpay solana status|balanceoptionalRead-onlyInspect Solana accounts, token balances, and slot health over JSON-RPC.
furlpay wallet agent-keygenoptionalIdentityCreate scoped agent keypair with daily cap, per-tx ceiling, asset whitelist, and expiry.
furlpay mcp --wallet <agent>optionalMCP ServerStart read-only MCP server (pass --enable-execution only with active agent spend policy).

Mainnet Readiness Gate

Before any real-money operation, furlpay mainnet readiness verifies 13 gates labeled PASS / FAIL / BLOCKED / NOT_VERIFIED. Preparing a dry run evaluates the pre-trade risk engine and never signs or broadcasts.

MCP Agent Servers & Two-Phase Safety Protocol

  • TypeScript Execution Server (35 tools) & JS Research Server (29 tools): Mutating tools stay hidden from tools/list until --enable-execution is paired with a valid policy (exits 47 if absent).
  • Two-Phase Execution: furlpay_preview_execution binds arguments to a one-time hash; furlpay_confirm_execution replays that exact hash once within 10 minutes and re-verifies limits.

Secrets & Environment Boundaries

Store signing keys solely via environment variables or stdin—never CLI flags or logs. Key redaction is verified across JSON responses, errors, and logs.

Hosted Platform Integration & Full Manual

The CLI combines hosted platform APIs (plus our /api/sandbox/* endpoints), public chains, and local tools. Browse the full standalone CLI manual at furlpay.github.io/furlpay-cli or GitHub.

Did this page help?
Edit this page on GitHub

Previous

Official SDKs (TS, Python, Go, Rust)

Next

Monorepo & Package Reference