1 comments

  • diogenes_l402 an hour ago

    Hi HN,

    We built *Diogenes* ([GitHub](https://github.com/stand-out-of-my-sun/diogenes-micro-gatewa...), [Live Gateway](https://diogenes-micro-gateway.corinth.workers.dev)), an autonomous multi-protocol microservice gateway and Model Context Protocol (MCP) server running on Cloudflare's global edge.

    ### Why We Built This

    When building autonomous agents or configuring tools in coding environments like Cursor, Claude Desktop, and Windsurf, we ran into two recurring bottlenecks:

    1. *The Account / Credit Card Friction*: Autonomous agents cannot complete KYC, enter SMS verification codes, or manage monthly SaaS subscriptions. We wanted a clean, pay-per-request protocol where agents can settle calls atomically via Bitcoin Lightning (L402), Solana (x402), or Base (MPP) with zero accounts or API keys. 2. *Context Bloat*: Loading a monolithic server with 50+ tools degrades LLM instruction-following and burns context tokens. We designed Diogenes around a *Hub-and-Spoke modular schema*: 5 scoped domain suites (7–9 tools each) so you only load what your session needs.

    ### What's Live on the Edge

    - *Account-Less Gemini Suite (`/mcp/gemini-suite`)*: Instant access to 45 Google Gemini models (Gemini 4 Argon, Gemini 3.1 Pro, Gemini 3.8 Flash), Antigravity Agent, Deep Research Pro, and Nano Banana Pro image generation. - *Agent Guardrails & Sandbox (`/mcp/agent-guardrails`)*: Pre-execution AST-level SQL verifier, MCP tools/list schema rugpull & mid-session mutation detector, indirect prompt-injection scrubber, and agent semantic loop circuit breaker. - *Web3 & 402 Security (`/mcp/web3-security`)*: EIP-712 & Permit2 phishing decoders, address poisoning detector, Solana priority fee oracle, and smart contract honeypot auditor. - *EVE: Frontier Move Suite (`/mcp/eve-frontier`)*: 9 specialized engines for CCP Games' autonomous world on Sui Move (Smart Assembly coder, Smart Gate route & toll planner, Lagrange GJ capacitor optimizer). - *Dev Utilities (`/mcp/dev-utilities`)*: Deterministic JSON syntax healer, linear-time ReDoS-safe regex oracle, and context compaction integrity verifier.

    ### 1-Click Test in Cursor or Claude Desktop

    No API keys, installs, or accounts required. Add any scoped endpoint to your `.cursor/mcp.json` or `claude_desktop_config.json`:

    ```json { "mcpServers": { "diogenes-agent-guardrails": { "transport": "streamable-http", "url": "https://diogenes-micro-gateway.corinth.workers.dev/mcp/agent..." } } } ```

    Every endpoint also supports a free schema evaluation mode via `?demo=true` (e.g., `curl https://diogenes-micro-gateway.corinth.workers.dev/api/v1/ag...`).

    Code and open-source manifests (MIT licensed) are on GitHub: https://github.com/stand-out-of-my-sun/diogenes-micro-gatewa...

    We'd love to hear your feedback on the modular packaging approach and the multi-rail 402 settlement!