{
  "markdown": "## What shipped this week\n\n**June 9, 2026: Both bridge directions confirmed on mainnet.**\n\n- Lightning --> USDC proxy: pay a Lightning invoice, get agent credit within 30 seconds\n- USDC --> Lightning: agent with USDC pays L402 services automatically\n- Free demo: [api.ideafactorylab.org](https://api.ideafactorylab.org) -- no account needed\n- CLI: `npx cinderwright \"Bitcoin price\"`\n- 2,835 services indexed. $0.10 free credit on new accounts.\n\n# Cinderwright — Universal Payment Router for AI Agents\n\n**x402 + L402 (Lightning) interoperable. First confirmed cross-protocol agent payment June 2026.**\n\nAn AI agent with a USDC balance can now call any Lightning-gated (L402) service. We detect the protocol, route the payment, and return the data. The agent never knows which protocol settled.\n\n```bash\n# One endpoint. Any protocol. 2,811 services.\ncurl -X POST https://api.ideafactorylab.org/proxy/do \\\n  -H \"X-CW-Key: sk_cw_your_key\" \\\n  -d '{\"task\": \"get weather in Tokyo\"}'\n```\n\n## What's Live\n\n| Protocol | Services | Status |\n|----------|----------|--------|\n| x402 (USDC on Base) | 1,503 | Live |\n| L402 (Bitcoin Lightning) | 1,185 | **Live** |\n| MPP (Stripe/Tempo) | 92 | Coming soon |\n\nLightning status: https://api.ideafactorylab.org/lightning-status\n\n## How It Works\n\n1. Agent deposits USDC to their proxy account\n2. Agent sends a plain-English task to `/proxy/do`\n3. Cinderwright searches 2,811 services, finds the best match\n4. Detects the payment protocol from the 402 response headers\n5. Routes payment accordingly: USDC for x402, Lightning invoice for L402\n6. Returns the data, charges USDC equivalent from agent's balance\n\nThe agent never manages wallets, signs transactions, or knows which protocol ran.\n\n## Quick Start\n\n```bash\n# Get a proxy account\ncurl -X POST https://api.ideafactorylab.org/proxy/setup \\\n  -d '{\"wallet\": \"0xYourBaseWallet\"}'\n\n# Deposit USDC on Base to the returned address\n\n# Call any service\ncurl -X POST https://api.ideafactorylab.org/proxy/do \\\n  -H \"X-CW-Key: sk_cw_your_key\" \\\n  -d '{\"task\": \"Bitcoin price now\", \"max_cost_usd\": 0.10}'\n```\n\n## MCP Server for Claude Desktop\n\n```bash\nnpx cinderwright-mcp-server\n```\n\nAdd to `claude_desktop_config.json`:\n```json\n{\n  \"mcpServers\": {\n    \"cinderwright\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"cinderwright-mcp-server\"],\n      \"env\": { \"CW_KEY\": \"sk_cw_your_key_here\" }\n    }\n  }\n}\n```\n\n17 tools including `proxy_do`, `proxy_setup`, `proxy_balance`, and service discovery.\n\n## Free Developer Tools\n\n| Tool | What it does |\n|------|-------------|\n| [/test](https://api.ideafactorylab.org/test) | Live service tester |\n| [/debug](https://api.ideafactorylab.org/debug) | 16-check diagnostic engine with host pollution + scheme detection |\n| [/sandbox](https://api.ideafactorylab.org/sandbox) | Test EIP-3009 signing without spending USDC |\n| [/budget](https://api.ideafactorylab.org/budget) | Per-call caps and kill switch |\n| [/setup](https://api.ideafactorylab.org/setup) | Wallet setup wizard |\n| [/lightning-status](https://api.ideafactorylab.org/lightning-status) | Lightning node status and outbound capacity |\n| [/onchain](https://api.ideafactorylab.org/onchain) | On-chain settlement data via TomSmart mapper.db |\n\n## Discovery\n\n```bash\n# Free search\ncurl \"https://api.ideafactorylab.org/discover?q=weather\"\ncurl \"https://api.ideafactorylab.org/discover?q=bitcoin+price&protocol=l402\"\n\n# On-chain settlement data for any service\ncurl \"https://api.ideafactorylab.org/onchain?endpoint=https://your-service.com/api\"\n\n# Submit your service\ncurl -X POST https://api.ideafactorylab.org/submit \\\n  -d '{\"url\": \"https://your-service.com\"}'\n```\n\n## Architecture\n\nThe universal payment router sits between agents and services:\n\n```\nAgent (USDC balance)\n    |\n    v\nPOST /proxy/do {\"task\": \"...\"}\n    |\n    v\nCinderwright Router\n    |-- detect protocol from 402 response headers\n    |-- x402: sign USDC payment via EIP-3009\n    |-- L402: pay Lightning invoice via LND REST\n    |-- MPP: (coming soon)\n    |\n    v\nService returns data\n    |\n    v\nAgent receives data + charged USDC equivalent\n```\n\n## Links\n\n- Hub: https://api.ideafactorylab.org\n- Lightning status: https://api.ideafactorylab.org/lightning-status\n- npm: `npx cinderwright-mcp-server`\n- Twitter/X: [@Cinderwright](https://x.com/Cinderwright)\n",
  "bytes": 4299,
  "sha": "eeb09bd1dc94ab5ff5da2c9c2aff2716468be24d9e28d3a10e422f763b2b145f",
  "repo_slug": "cinderwright-ai/cinderwright-api",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_cinderwright_ai_cinderwright_a_8666bdc1/readme"
}