Pay.sh Adds MCP Elicitations, Requiring Human Approval Before AI Agents Spend USDC
Pay.sh v0.19.0 adds Elicitations: AI agents must get human sign-off before spending USDC on Solana, routed through MCP when biometrics aren't present.
The Solana Foundation's pay.sh command-line tool now pauses before spending. Version 0.19.0, released June 16 from the Foundation's GitHub, adds Elicitations: when an AI agent attempts a paid API call through the Model Context Protocol, pay.sh fires an approval request back through the MCP connection before any USDC moves.
Pay.sh is a CLI and MCP server, launched with Google Cloud in early June, that lets AI agents call paid APIs (Google Cloud's Gemini, BigQuery, and Vertex AI among them, plus 72 community providers including Helius Helius) using USDC micropayments on Solana. No accounts or API keys required; the agent's wallet is the credential, and each request settles as an on-chain stablecoin payment.
How the Elicitation Gate Works
The implementation, built by Ludo Galabru (@lgalabru on GitHub), introduces ElicitationAuth as a fallback authentication layer. When a signing request comes in, pay.sh first checks for platform biometrics (Touch ID on macOS, Windows Hello, polkit on Linux). If biometrics are available, they handle the approval as they always have. If not, the system routes the request through MCP's elicitation/create message, prompting the connected AI client (Claude Desktop, Codex, or any MCP-compatible host) to surface an explicit approval dialog to the human operator.
The gate is designed to fail closed: even when the MCP client returns an acceptance response, pay.sh verifies the payload doesn't contain a contradicting approved=false before it will sign. A timeout or transport failure also prevents signing.
Developers running pay.sh in remote environments or wanting to enforce the elicitation path regardless of biometric availability can set PAY_FORCE_ELICITATION=1.
Why Protocol-Level Approval Matters for Agentic Spending
The shift is architectural. Prior implementations relied on wallet-level biometric approval, which works when a human is sitting in front of the machine. Elicitations extend that gate to remote MCP sessions and AI-hosted environments where biometrics aren't reachable. The human approval requirement now travels with the MCP connection itself, not contingent on what's available at the machine running pay.sh.
As AWS CloudFront added x402-based per-request billing for AI bots in USDC on Solana two days after this release, the broader pattern is clear: AI agents are becoming paying customers at scale, and the tooling to govern that spending is maturing alongside it. Elicitations are one answer to how much autonomous spending humans should delegate, choosing explicit sign-off before each transaction.
Pay.sh v0.20.0 followed on June 18 with a separate change: when agents have pre-funded credits, the tool now prefers spending those credits over generating a new payment transaction, reducing on-chain overhead for repeat callers.
The Solana Foundation maintains the repo, which has collected 1.7k stars and 575 forks. The pay-skills companion repository catalogs the API providers whose endpoints pay.sh can authenticate against autonomously.
Comments
Please login to leave a comment.
Related Content
The Rise Of AI Agents | Jeffy Yu & Yash Agarwal
Product Keynote: ShardLab
TinyHumans AI Launches Tiny Place, an Agent-to-Agent Social Economy on Solana
Metaplex DAS Now Indexes On-Chain AI Agents Across All Major Solana RPC Providers
Ramp Adds x402 AI Agent Wallets on Solana, Giving 70,000+ Businesses Autonomous Payment Capabilities
Validated | Does the Internet Really Need Blockchain-Powered AI?
Breakpoint 2024: Keynote: The State of the USDC Economy Is Strong (Jeremy Allaire)
What Is Flipcash? | Ted Livingston
Scale or Die 2025: Building Better Remote MCPs: Web3's Answer to Auth & Monetization
Worldpay's Neil Kreisel on USDC Integration and Blockchain Payments
Sonic SVM Launches North Star, Giving Every AI Agent Its Own Private Execution Session on Solana
Ship or Die at Accelerate 2025: Fireside Chat with Alex Blania (World) and Ali Yahya (a16z crypto)
The Bull Case For Solana In 2025 | Ryan Watkins
Privy CEO: Why Did Stripe Acquire Privy?
Solana Claims Top Spot on x402 as AI Agents Settle $3.3M USDC in a Single Week
Latest news
Cypherpunk Technologies' $CYPH Tokenized Stock Lists on Solana via Backpack Securities and Sunrise
Agave 4.3 Hits Mainnet: Three Breaking Changes for RPC Providers and dApp Developers
xStocks Crosses $6 Billion in Solana Tokenized Stock Volume as Raydium Q3 Tops $2.3B
SP3ND Launches Stockbacks: Stablecoin Shoppers Earn Tokenized Equity in Amazon, Walmart, Nvidia, and More
peaqOS Goes Live on Solana, Letting Any Machine Activate, Bond, and Build a
AI Research Agent Flags Zero-Key Signing Risk in SIMD-0376 Before Mainnet Activation
Solana Activates 250ms Slot Time at Epoch 1037, Fourth Step of SIMD-0525
Coinbase Upgrades x402 Facilitator on Solana: 'Upto' Scheme Live, Verify Latency Cut 66%
SEC Issues Five-Year Innovation Exemption for Tokenized NMS Stock to Trade Onchain
Solana Explorer Launches MCP Server for AI Agent Access to On-Chain Data
Solana Token Markets