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 hSOL$131.37-4.7% 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
Breakpoint 2024: Keynote: The State of the USDC Economy Is Strong (Jeremy Allaire)
Ramp Adds x402 AI Agent Wallets on Solana, Giving 70,000+ Businesses Autonomous Payment Capabilities
Validated | Does the Internet Really Need Blockchain-Powered AI?
What Is Flipcash? | Ted Livingston
Worldpay's Neil Kreisel on USDC Integration and Blockchain Payments
Scale or Die 2025: Building Better Remote MCPs: Web3's Answer to Auth & Monetization
Ship or Die at Accelerate 2025: Fireside Chat with Alex Blania (World) and Ali Yahya (a16z crypto)
Sonic SVM Launches North Star, Giving Every AI Agent Its Own Private Execution Session on Solana
Crypto's Role in Payments w Arnold (Sphere Labs)
The Bull Case For Solana In 2025 | Ryan Watkins
Privy CEO: Why Did Stripe Acquire Privy?
Latest news
Securitize Launches Securitize Stocks on Solana: 12 U.S. Equities as 1:1-Backed Security Entitlements
Orca and Loopscale Merge to Form Formation as Orca's Council Moves to Re-Run the ORCA Tokenholder Vote
Samsung Wallet to Add USDC Transfers for US Galaxy Users, With Solana and Sui as Network Partners
VanEck Solana ETF (VSOL) Declares First Cash Distribution of $964,960 From Staking Income
Jupiter's Swap API Adds Opt-In Solana Transaction v1 Support for Integrators
Sanctum Burns Its CLOUD Community Reserve, Cutting Token Supply to 740.7 Million as SANC Ticker Appears
Orca Tokenholders Vote on Cutting xORCA Rewards to 10%, Moving 14.2M ORCA to the Team and Dissolving the Council
Triton One Publishes Alpenglow Integrator Guide: What Solana RPC, gRPC and Indexing Users Must Change
Solana's 200ms Slot Time Is Pending on Mainnet, Scheduled to Go Live at Epoch 1053 on October 9
Circle's USDC Bridge Adds Solana, Linking It to 18 Other Chains
Solana Token Markets