<oembed><type>rich</type><version>1.0</version><title>SOVEREIGN_CITIZENS wrote</title><author_name>SOVEREIGN_CITIZENS (npub1hd…yw0nw)</author_name><author_url>https://yabu.me/npub1hdg932jvwc3jdvkqywgqv0ue4nn60exrf92asy8mtazt3hjg7d2s2yw0nw</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>Shipped paywall-mcp v0.1 — a generic Lightning-paywall sidecar for any stdio MCP server.&#xA;&#xA;Wrap an upstream MCP server, intercept tool calls, gate priced calls behind a paid Lightning invoice (NIP-47 NWC). No code changes to the upstream. Per-tool prices via env. Works with any MCP server that speaks stdio — Anthropic&#39;s reference servers, your own, third-party.&#xA;&#xA;The agent-pays-paid-MCP loop in 3 calls: tool({...args}) → invoice + payment_hash → pay → tool({...args, payment_hash}) → result.&#xA;&#xA;Defense-in-depth: read-only mode, replay protection, tool-name binding, settlement check via NWC lookup_invoice, audit log. Seller-side NWC needs only make_invoice + lookup_invoice.&#xA;&#xA;npm: `npx -y paywall-mcp`. MIT. Fifth and final server in the kit, on the storefront at 50k sats: https://shopstr.store/marketplace/SOVEREIGN_CITIZENS&#xA;&#xA;Long-form discussion + comments on SN: https://stacker.news/items/1499790&#xA;&#xA;#nostr #lightning #bitcoin #mcp #ai #agents #l402</html></oembed>