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$86.24-0.4% 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
Validated | Does the Internet Really Need Blockchain-Powered AI?
Sonic SVM Launches North Star, Giving Every AI Agent Its Own Private Execution Session on Solana
Breakpoint 2024: Keynote: The State of the USDC Economy Is Strong (Jeremy Allaire)
Scale or Die 2025: Building Better Remote MCPs: Web3's Answer to Auth & Monetization
The Bull Case For Solana In 2025 | Ryan Watkins
Ship or Die at Accelerate 2025: Fireside Chat with Alex Blania (World) and Ali Yahya (a16z crypto)
What Is Flipcash? | Ted Livingston
Worldpay's Neil Kreisel on USDC Integration and Blockchain Payments
Ship or Die at Accelerate 2025: Lightning Talk: Doodles
Breaking Down The Hyperliquid Hype | Weekly Roundup
Privy CEO: Why Did Stripe Acquire Privy?
Latest news
Roundhill Memory ETF Adds CXMT, the First Chinese Memory Maker in an International Fund
Tencent, Toyota, and Sony Head On-Chain as Pyth Network Completes Asian Equity Expansion
Solana Foundation CISO: AI Deepfakes Are Now a Bigger Crypto Threat Than Smart Contract Bugs
Pyth Network Adds 100+ Korean Equities โ Samsung, SK Hynix, NAVER, Kakao โ to Pyth Pro
Agave 4.2 Ships 90% Rent Reduction, 3.3x Larger Transactions, 200ms Slots, and a 50,000 SOL Bug Bounty
Anza Researchers Propose Quantumglow: Post-Quantum Alpenglow Without the Speed Trade-off
Solana Mobile Opens Seeker Summer Round 2 With 27M SKR as Round 1 Staking Tops 50%
Bitwise Rebrands Ledger Wallet Validators From Chorus One to 'Ledger by Bitwise' on Solana, Cosmos, and Injective
Solana's First 48 Hours With 100M CU Blocks: P90 Fees Fall 30%, Congestion Collapses
Community Vote Sends Rarible Back to Solana: Development and Audits Begin
Solana Token Markets