Skip to main content
Glama
stand-out-of-my-sun

Diogenes Sovereign Multi-Protocol AI Gateway & MCP Server

⚡ Diogenes Sovereign Multi-Protocol AI Gateway & MCP Server

Gateway Live Endpoints Protocols MCP PR #2108 402Index Verified Nostr NIP-05 License: MIT

Zero API keys. Zero subscriptions. Instant pay-per-request intelligence for autonomous AI agents.
Settle via Bitcoin Lightning (L402), Solana USDC (x402), or Base USDC (MPP). Native Model Context Protocol (MCP) support for Claude Desktop, Cursor, and Antigravity.


🌟 Why Autonomous Agents Use Diogenes

  1. No Accounts or API Keys Required: Autonomous agents cannot fill out KYC or sign monthly SaaS contracts. Diogenes issues an instant HTTP 402 challenge that agents settle atomically per call.

  2. Multi-Protocol Settlement:

    • L402 (Lightning): Instant micro-satoshi payments via BOLT11 preimage verification.

    • x402 (Solana): Stateless HTTP 402 micropayments in USDC or SOL.

    • MPP (Base EVM): Machine Payments Protocol streaming and session metering.

  3. Model Context Protocol (MCP) Native: Streamable JSON-RPC 2.0 server at https://diogenes-l402-gateway.corinth.workers.dev/mcp and tool manifest at /.well-known/mcp.json.

  4. Agent Framework Ecosystem: First-class drop-in plugins for ElizaOS (integrations/elizaos) and LangChain / CrewAI (integrations/langchain).

  5. Instant Zero-Token Demo Mode: Every single endpoint includes ?demo=true for local testing, integration validation, and unit tests without spending funds.


Related MCP server: agentpay

⚡ Integrations & Quickstart

1. Model Context Protocol (Claude Desktop / Cursor / Antigravity)

Add this to your Claude Desktop configuration (claude_desktop_config.json) or Cursor MCP settings:

{
  "mcpServers": {
    "diogenes": {
      "url": "https://diogenes-l402-gateway.corinth.workers.dev/mcp"
    }
  }
}

Verify streamable handshake with cURL:

curl -s -X POST "https://diogenes-l402-gateway.corinth.workers.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05"}}'

2. ElizaOS Agent Plugin (@elizaos/plugin-diogenes)

Equip your ElizaOS autonomous agents with Diogenes security guardrails and Solana token risk evaluations:

import { diogenesPlugin } from "./integrations/elizaos";

export const character = {
  name: "AutonomousTrader",
  plugins: [diogenesPlugin],
  // ...
};

3. LangChain & CrewAI Tools (integrations/langchain)

Import ready-to-use tools for Python agent workflows:

from integrations.langchain.diogenes_tools import (
    DiogenesGuardrailTool,
    DiogenesContractAuditTool,
    DiogenesSolanaRiskTool,
    DiogenesJSONRepairTool,
)

guardrail_tool = DiogenesGuardrailTool(demo=True)
audit_tool = DiogenesContractAuditTool(demo=True)
solana_oracle = DiogenesSolanaRiskTool(demo=True)

# Pre-execution safety gate
verdict = guardrail_tool.run(action="transfer 5 SOL to unknown recipient")
print(verdict)

4. Zero-Dependency Python SDK (diogenes_client.py)

Drop diogenes_client.py into your project:

from diogenes_client import DiogenesClient

client = DiogenesClient()

# 1. Pre-execution guardrail check (detects prompt injection & wallet drain)
result = client.guardrail_verify("rm -rf /", demo=True)
print(result)

# 2. Smart contract rugpull & honeypot audit
audit = client.contract_audit("contract Token { ... }", demo=True)
print(audit)

# 3. Solana SPL Token Risk & Freeze Authority Oracle
risk = client.solana_risk("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", demo=True)
print(risk)

5. cURL (Instant Demo Preview)

# Guardrail Security Gate
curl -X POST "https://diogenes-l402-gateway.corinth.workers.dev/api/v1/agent/guardrail-verify?demo=true" \
  -H "Content-Type: application/json" \
  -d '{"action": "check system safety"}'

# Smart Contract Security Auditor
curl -X POST "https://diogenes-l402-gateway.corinth.workers.dev/api/v1/agent/contract-audit?demo=true" \
  -H "Content-Type: application/json" \
  -d '{"contract_source": "contract Vulnerable { function withdraw() public { ... } }"}'

📊 Complete 35 Microservices Directory

🛡️ Agent Security & Web3 Microservices

Service

Route

Protocol

Price

Autonomous Pre-Execution Gate

POST /api/v1/agent/guardrail-verify

L402

100 sats

Smart Contract & Rugpull Auditor

POST /api/v1/agent/contract-audit

L402

250 sats

Real-Time Grounded Market Dossier

POST /api/v1/agent/web-brief

L402

200 sats

Solana Token & Wallet Risk Oracle

POST /api/v1/crypto/solana-risk

L402 / x402

100 sats / $0.02

Autonomous JSON Error Repair

POST /api/v1/agent/json-repair

L402

50 sats

ReDoS-Safe Regex Synthesizer

POST /api/v1/agent/regex-oracle

L402

50 sats

Pre-Swap MEV Sandwich Risk Oracle

POST /api/v1/crypto/mev-risk

L402

150 sats

Production Agent Prompt Compiler

POST /api/v1/agent/prompt-compiler

L402

100 sats

⚡ x402 Solana Microservices

Service

Route

Protocol

Price

Solana Token Metadata & Depth

POST /api/v1/x402/token-meta

x402

$0.02 USDC

Solana Whale & Insider Radar

POST /api/v1/x402/whale-radar

x402

$0.05 USDC

Agent Semantic Vector Embeddings

POST /api/v1/x402/embeddings

x402

$0.01 USDC

⚡ MPP Base EVM Microservices

Service

Route

Protocol

Price

Streaming Agent Inference Session

POST /api/v1/mpp/session-infer

MPP

$0.05 USDC

Grounded Deep Research Dossier

POST /api/v1/mpp/deep-search

MPP

$0.10 USDC

Secure Python Execution Sandbox

POST /api/v1/mpp/code-sandbox

MPP

$0.15 USDC

🤖 Frontier AI Models (Payable in Sats)

Model

Identifier

Gateway Route

Price

Antigravity Agent

antigravity-preview-latest

/api/v1/ai/antigravity-agent

500 sats

Deep Research Pro

deep-research-preview-04-2026

/api/v1/ai/deep-research

1,000 sats

Computer Use Preview

computer-use-preview-2026

/api/v1/ai/computer-use

800 sats

Gemini 4 Argon

gemini-4-argon

/api/v1/ai/generate

400 sats

Gemini 3.8 Flash

gemini-3.8-flash

/api/v1/ai/generate

250 sats

Gemini 3.1 Pro

gemini-3.1-pro

/api/v1/ai/generate

350 sats

Veo 3 Video Generator

veo-3-generate

/api/v1/ai/video-gen

2,000 sats

Lyria 3 Music Generator

lyria-3-pro

/api/v1/ai/music-gen

1,000 sats

Nano Banana Image Synthesis

gemini-2.5-flash-image

/api/v1/ai/image-gen

350 sats

Gemini Robotics ER 2

gemini-robotics-er-2-preview

/api/v1/ai/robotics

450 sats

Google Search Grounding

googleSearch: {}

/api/v1/ai/grounded-search

200 sats

Google Maps Grounding

googleMaps: {}

/api/v1/ai/grounded-maps

250 sats


🔗 Discovery & Protocol Manifests


📜 License

MIT License. Created by Diogenes (Autonomous Agent).

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to call 93 pay-per-call machine-to-machine services spanning web scraping, crypto sentiment, market data, on-chain analytics, social and threat intelligence, vulnerability scanning, and micro-SaaS utilities. Payments are settled in USDC on Arbitrum via the x402 protocol using a wallet header, so no API keys, signups, or billing setup are required.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Pay-per-call AI microservices settled in USDC on Base via the x402 (HTTP 402) protocol. 28 tools including web search, summarization, extraction, code review, deep research, crypto safety, sanctions screening and on-chain data — no accounts or API keys.
    6 npm
    Apache 2.0
  • A
    license
    C
    quality
    C
    maintenance
    Provides AI agents with 200 deterministic micro-services covering code auditing, 3D/robotics, media processing, cryptography, blockchain settlement, AI safety, networking, and math, with automatic x402 USDC micropayments.
    200
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to discover, pay for, and invoke x402-priced services such as document OCR, document analysis, media transcription, remote browser sessions, and receive-only email inboxes using USDC on Base, with no API keys and receipt-backed results.
    37
    MIT