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$119.88+6.2% 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?
Ramp Adds x402 AI Agent Wallets on Solana, Giving 70,000+ Businesses Autonomous Payment Capabilities
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
Sonic SVM Launches North Star, Giving Every AI Agent Its Own Private Execution Session on Solana
What Is Flipcash? | Ted Livingston
The Bull Case For Solana In 2025 | Ryan Watkins
Worldpay's Neil Kreisel on USDC Integration and Blockchain Payments
Ship or Die at Accelerate 2025: Fireside Chat with Alex Blania (World) and Ali Yahya (a16z crypto)
Solana Claims Top Spot on x402 as AI Agents Settle $3.3M USDC in a Single Week
Privy CEO: Why Did Stripe Acquire Privy?
Latest news
First SGP-0003 Simulation Quantifies Protocol Costs: DeFi Routers and CLOB Market Makers Most Exposed
Fidelity's FSOL Stakes 99.64% of SOL Holdings as New Prospectus Formalizes 100% Authority
Arcium's Benchdot Markets Goes Live on Solana With $7.67M in Alpha Stake Volume
US Spot Solana ETFs Cross $1.19 Billion in Cumulative Inflows as BSOL Claims 80% Market Share
Solana V1 Transactions Now Testable Locally as Mainnet Activation Nears
Solana DApp Ecosystem Revenue Hits $35M in Seven Days, Its Highest Since February
Solflare Adds Native PhoenixTrade Perps, Giving Users 65+ Leveraged Markets Inside the Wallet
Solana Processes 1.318 Billion Non-Vote Transactions in One Week, Setting an All-Time High
FOMO Captures 46% of Solana Trading Platform Spot Volume as Weekly Revenue
Jupiter Lend v2 AMM Crosses $100M in 7-Day Volume Two Weeks After Launch
Solana Token Markets