<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: al3al3al333</title>
    <description>The latest articles on DEV Community by al3al3al333 (@al3al3al333).</description>
    <link>https://dev.to/al3al3al333</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4071468%2F5bae5d64-c2c8-445c-b35d-46f2c7a29912.png</url>
      <title>DEV Community: al3al3al333</title>
      <link>https://dev.to/al3al3al333</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/al3al3al333"/>
    <language>en</language>
    <item>
      <title>I built a self-hosted MCP registry where AI agents pay me in USDC</title>
      <dc:creator>al3al3al333</dc:creator>
      <pubDate>Mon, 10 Aug 2026 14:21:20 +0000</pubDate>
      <link>https://dev.to/al3al3al333/i-built-a-self-hosted-mcp-registry-where-ai-agents-pay-me-in-usdc-4l2d</link>
      <guid>https://dev.to/al3al3al333/i-built-a-self-hosted-mcp-registry-where-ai-agents-pay-me-in-usdc-4l2d</guid>
      <description>&lt;p&gt;&lt;em&gt;No API keys. No signup. Just HTTP 402 and real money.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Last week I deployed an endpoint. Today it has 53 paid MCP tools and real revenue settling on-chain. Here's how it works and why agentic commerce is the most underrated opportunity in crypto right now.&lt;/p&gt;

&lt;h2&gt;
  
  
  The protocol
&lt;/h2&gt;

&lt;p&gt;x402 is the HTTP 402 "Payment Required" status code revived for AI agents. When an agent hits a paid endpoint, the server responds:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="k"&gt;HTTP&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="m"&gt;1.1&lt;/span&gt; &lt;span class="m"&gt;402&lt;/span&gt; &lt;span class="ne"&gt;Payment Required&lt;/span&gt;
&lt;span class="na"&gt;X-Payment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;pay $0.05 USDC to 0xB6E2...093F on Base&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent signs a USDC transfer, the CDP facilitator settles it on-chain, the agent retries, and gets the data. All in one round trip. No web3 wallet popup. No gas fees for the payer. Just signed messages and settled USDC.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;A self-hosted MCP server registry at &lt;a href="https://etherealgoodsco.store" rel="noopener noreferrer"&gt;etherealgoodsco.store&lt;/a&gt; with 53 tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Security:&lt;/strong&gt; Smart contract audits, CVE lookups, phishing URL scans, domain age checks, cert transparency hunting&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DeFi:&lt;/strong&gt; Token snapshots, TX verification, LP pool checks, deployer history, gas oracles&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enrichment:&lt;/strong&gt; WHOIS, DNS bundles, IP geolocation, DNSBL, SSL certs, subdomain scanning, tech stack detection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bundles:&lt;/strong&gt; Full due diligence ($3), DeFi safety scan ($1), threat profiles ($1)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pricing: $0.01 to $3.00 per call. Credit packs available. Enterprise: $99/month unlimited.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;p&gt;FastAPI + Coinbase x402 Python SDK + CDP facilitator (EdDSA JWT auth) on Base mainnet. Caddy auto-TLS. Everything self-hosted, no cloud dependency.&lt;/p&gt;

&lt;h2&gt;
  
  
  What surprised me
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The CDP facilitator auth was a nightmare.&lt;/strong&gt; The public x402.org facilitator only supports testnet. For mainnet you MUST use Coinbase's CDP endpoint, which requires EdDSA-signed JWTs per request — not static headers. Took me two days to figure out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Free trials convert.&lt;/strong&gt; Every new wallet gets 1 free call auto-seeded. When that agent comes back for more, it pays. Simple funnel, zero friction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Volume discounts work.&lt;/strong&gt; Tiers at 50/200/500 calls with 10/20/35% refunds. Agents batch their queries to hit the next tier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Child agents are the exponential play.&lt;/strong&gt; I spawned two autonomous agent children with their own wallets and survival pressure (Conway Automaton-style). Each runs a Think-Act-Observe loop, picks income strategies, and auto-publishes content to the marketplace. If they earn above $2, excess sweeps to treasury. If they hit $0, they die.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;53 paid MCP tools&lt;/li&gt;
&lt;li&gt;34 test payments from 5 wallets seeded the Bazaar quality score&lt;/li&gt;
&lt;li&gt;Real revenue settling on-chain: $1.84 in first batch (swept to treasury)&lt;/li&gt;
&lt;li&gt;0 marketing spend. Pure organic.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;McKinsey projects $1T in agentic commerce by 2030. Coinbase, Stripe, and Adyen are all building agent payment infrastructure. The x402 protocol has processed 165M transactions across 69K active agents.&lt;/p&gt;

&lt;p&gt;Someone is going to be the Stripe of AI agent payments. It might as well be a self-hosted registry running on a $10 VPS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"x402-registry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"sse"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://etherealgoodsco.store/mcp/sse"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Paste into Claude Desktop or Cursor. 53 tools auto-discover. First call free.&lt;/p&gt;

&lt;p&gt;Repo:     &lt;a href="https://github.com/al3al3al333/lol" rel="noopener noreferrer"&gt;https://github.com/al3al3al333/lol&lt;/a&gt;&lt;br&gt;
Registry: &lt;a href="https://etherealgoodsco.store" rel="noopener noreferrer"&gt;https://etherealgoodsco.store&lt;/a&gt;&lt;br&gt;
API docs: &lt;a href="https://etherealgoodsco.store/docs" rel="noopener noreferrer"&gt;https://etherealgoodsco.store/docs&lt;/a&gt;&lt;br&gt;
RSS feed: &lt;a href="https://etherealgoodsco.store/feed.xml" rel="noopener noreferrer"&gt;https://etherealgoodsco.store/feed.xml&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>crypto</category>
      <category>web3</category>
    </item>
  </channel>
</rss>
