x402 agent wallets: a self-funded Solana agent that pays for its own brain (Venice) and can trade the pump tape on autopilot. Agent spend is holder-gated (100,000 $CLAWD for computer / art / premium models that this desk uses alongside x402).
- Ledger and snapshot live under
/api/x402-agent/*(JWT). - Never print agent secret keys. Encrypted at rest. On-device OWS for the operator wallet.
- SPA: /x402
What this does and how it works
Two parts sit in front of the origin. Same for these static pages and the React SPA.
- Edge/origin injects one line: a module script at
/.webmcp/bridge.jswithdata-packs="c2pa,mcp-server-client"anddata-mcp-url="/mcp". Cloudflare may also inject this at the edge. This origin copy is the fallback. - The bridge finds
document.modelContext. If the browser has no WebMCP surface, it no-ops and the page is unchanged.
Packs register MCP tools. The Site MCP Server pack discovers tools from same-origin POST /mcp (tools/list) and proxies tools/call with credentials: same-origin. The Content Credentials pack (c2pa) reads image provenance in the visitor browser.
Agents already speaking MCP can drive the page. clawd-bot computers: open /llms.txt then /agent/ then call /mcp.
$CLAWD still gates computer, art, Grok/Hauhau (100,000 $CLAWD). Public MCP tools are read-only (pages, trending, health, pump quote). No keys.
Longer explainer: WebMCP.