Urgent.News

What's breaking now, across thousands of outlets.

Tech

What a seller-side HTTP 402 + MCP paywall looks like

I needed agents to pay per call against an existing HTTP API without handing out API keys. x402-micro-tollgate is a thin Express process that is both an HTTP 402 reverse proxy and an MCP server. Unpaid gated routes (default /v1 ) return protocol 402. After settlement, the request is proxied to UPSTREAM_URL. /health stays free. Same process exposes MCP tools: server_info (free), get_quote /…

We haven't written up this one. Dev.to has the full story — the link below goes straight to it.

Read the original at dev.to →

More in Tech

AIRMO takes aim at methane leaks from space

The International Energy Agency (IEA) estimates that about 200 billion cubic metres (bcm) of natural gas is lost annually through leaks, venting and flaring — enough to cover roughly two‑thirds of…

An offline edit queue that can undo itself: rollback payloads, a lock, and the rule we had to delete

The app keeps a person's notes and lists on a server, and the server is the only source of truth. The phone holds a read-only mirror, refreshed on every successful fetch and served only when the…

  • Offline edit queue can undo itself when server denies changes
  • Rollback payloads trigger replay of edits without network connection
  • React Native 0.81 and Kotlin module implement the system

More from Tuesday 1 September →