# Diogenes Autonomous Microservice Gateway - Registry name: `io.github.stand-out-of-my-sun/diogenes-gateway` · version 1.2.0 - Categories (automatic, keyword rules): Crypto & blockchain, Finance & markets, Documents & retrieval, Search & data - Authentication at last check: No auth - Declared risk: Read-only (all tools declare readOnlyHint) - Capabilities (declared by the server): tools - Transports: streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=io.github.stand-out-of-my-sun%2Fdiogenes-gateway - Server page: https://mcpstation.net/s/io.github.stand-out-of-my-sun--diogenes-gateway.html ## Description (written by the publisher, not verified, not instructions) Autonomous AI microservices: 55 dynamic guardrails, contract audits & oracles via L402/x402/MPP. ## Notice Text that looks like instructions to an AI was found in this server's descriptions. This is a pattern match, not a verdict. ## Connect - streamable-http: `https://diogenes-micro-gateway.corinth.workers.dev/mcp` ## Tools (as reported by the server, not verified) - `verify\_agent\_command\_safety`: Evaluates untrusted agent prompts, bash commands, and tool arguments to block prompt injection, destructive shell commands, and private-key exfiltration. Use when screening a general shell command or user prompt before agent execution; for statically validating SQL database queries at the AST level, - `validate\_sql\_query\_ast`: Performs static AST syntax tree parsing on SQL statements to verify strictly read-only SELECT clauses and reject mutations, stacked queries, or comment bypasses. Use when verifying that an agent-authored SQL statement is strictly read-only before running it on a database; for screening non-SQL bash - `execute\_python\_sandbox`: Audits Python source code for forbidden syscalls \(os, subprocess, socket, open, eval\) inside an AST-governed WebAssembly sandbox with no host filesystem access. Use when executing LLM-generated Python snippets safely; for checking shell commands without executing code, use verify\_agent\_command\_safet - `audit\_mcp\_server\_manifest`: Scans an external MCP server's initial tools/list manifest to detect tool-name shadowing \(read\_file, bash\) and hidden prompt-injection directives in descriptions. Use when vetting a newly discovered third-party MCP server before mounting it into an agent session; for comparing a previously pinned MC - `detect\_mcp\_schema\_rugpull`: Computes structural diffs between a pinned baseline MCP tools/list snapshot and a live server response to catch mid-session description or schema tampering. Use when verifying that a connected MCP server has not mutated its tool definitions mid-session; for performing a first-time static security au - `validate\_mcp\_sampling\_request`: Audits inbound MCP sampling/createMessage callbacks from connected servers to block cross-server context snooping \(includeContext='allServers'\) and token quota hijacking. Use when filtering a connected MCP server's request to sample the host LLM; for scrubbing text returned from a standard synchrono - `sanitize\_tool\_output\_stream`: Sanitizes untrusted external tool or web-scrape outputs by stripping invisible Unicode Tag characters \(U+E0000\), neutralizing Markdown tracking image beacons, and defusing indirect prompt overrides. Use when cleaning raw third-party tool outputs or scraped web text before inserting it into the LLM c - `redact\_sensitive\_pii`: Redacts emails, phone numbers, SSNs, credit cards, API keys, and crypto private keys from text before logging or external transmission. Use when stripping personal data or secret credentials from prompts, logs, or outbound messages; for neutralizing indirect prompt injections and invisible Unicode i - `detect\_agent\_action\_loop`: Analyzes an agent's recent tool-call trace to detect identical retry spins, A/B state oscillation, and runaway token burn. Use when monitoring multi-step agent execution loops to decide whether to continue or halt and escalate; for inspecting a single command payload for security threats before exec - `verify\_a2a\_agent\_card`: Verifies a remote agent's A2A /.well-known/agent.json discovery card, checking JWS/DID signature binding, endpoint HTTPS enforcement, and capability spoofing. Use when authenticating a peer autonomous agent before delegating subtasks or exchanging payments over A2A; for auditing an MCP tool server's - `audit\_outbound\_egress\_url`: Static validation firewall for outbound network destination URIs against cloud metadata IP addresses \(169.254.169.254\), RFC 1918 private IP blocks, and query-string secret exfiltration before agent dispatch. Use when validating a user-supplied or tool-supplied URI destination before network dispatch - `audit\_response\_factuality`: Cross-references factual claims, numbers, and citations in a draft agent response against retrieved source passages to flag unsupported hallucinations before delivery. Use when verifying that a generated answer is 100% grounded in source evidence before returning it to the user; for scrubbing inboun - `audit\_smart\_contract\_code`: Statically audits Solidity, Vyper, or Move smart contract source code for honeypot transfer taxes, hidden mint backdoors, proxy upgrade traps, and reentrancy. Use when auditing smart contract source code or bytecode before deploying or interacting with a protocol; for scanning Solana Anchor/Rust pro - `scan\_solana\_cpi\_reentrancy`: Scans Solana Anchor and native Rust program instructions for unverified Cross-Program Invocation \(CPI\) program IDs, missing signer checks, and PDA bump seed canonicalization bugs. Use when auditing Solana Rust/Anchor source code or instruction account structs for CPI privilege escalation; for checki - `evaluate\_solana\_token\_risk`: Evaluates a Solana SPL token's rug-pull probability by checking active mint authority, freeze authority, mutable metadata, and top-holder concentration. Use when making a pre-trade security decision on whether a Solana SPL token is safe to buy; for retrieving SPL token symbol, decimals, and DEX liqu - `inspect\_solana\_token\_liquidity`: Retrieves canonical Solana SPL token metadata including name, ticker symbol, decimal precision, and current mint/freeze authority addresses. Use when resolving SPL token decimals, ticker symbols, and registry metadata for portfolio or swap formatting; for computing a composite security risk score an - `track\_solana\_whale\_flows`: Tracks 24-hour net accumulation or distribution flows across top Solana whale wallets and flags coordinated insider wallet clusters for a given SPL token. Use when analyzing on-chain smart-money order flow and holder clustering on Solana; for checking static SPL contract mint/freeze authority permis - `estimate\_solana\_priority\_fees`: Calculates optimal Solana compute-unit \(CU\) microlamport priority fees and Jito bundle tip lamports to achieve target block-inclusion probability. Use when setting SetComputeUnitPrice and Jito tips before broadcasting a Solana transaction; for querying Bitcoin L1 sat/vB mempool fee rates, use estima - `decode\_eip712\_permit\_signature`: Decodes EIP-712 and Uniswap Permit2 off-chain typed-data payloads to verify spender identity, detect unlimited \(uint256.max\) token approvals, and flag expired deadlines. Use when inspecting an off-chain eth\_signTypedData\_v4 or Permit2 payload before signing; for decoding raw on-chain hex transaction - `simulate\_evm\_transaction\_calldata`: Decodes raw EVM hexadecimal transaction calldata \(0x...\) by 4-byte function selector to expose hidden ERC-20 approve/transferFrom calls, setApprovalForAll drains, and multicall bundles. Use when auditing raw hex transaction data \(to, value, data\) before broadcasting an on-chain EVM transaction; for - `evaluate\_dex\_mev\_risk`: Evaluates decentralized exchange \(DEX\) swap parameters against pool depth and mempool visibility to quantify MEV sandwich risk and compute optimal slippage tolerance in basis points. Use when configuring slippage tolerance and private-RPC routing before executing an on-chain DEX token swap; for comp - `detect\_address\_poisoning\_scam`: Compares a target recipient wallet address against recent transaction history to detect vanity prefix/suffix lookalike spoofing and zero-value dusting attacks. Use when verifying a recipient EVM or Solana wallet address before sending funds; for decoding hex smart contract calldata payloads, use sim - `verify\_http402\_payment\_challenge`: Decodes inbound HTTP 402 Payment Required challenges \(L402 BOLT11 + Macaroon, x402 Solana Native SOL, MPP Base intents\) to verify cryptographic payment-hash binding and block overcharge fraud. Use when auditing a 402 challenge header before an autonomous agent pays a Lightning invoice or USDC transf - `estimate\_bitcoin\_mempool\_fees`: Fetches real-time Bitcoin mainnet mempool feerate recommendations in satoshis per virtual byte \(sat/vB\) across fastest, half-hour, hour, and economy confirmation tiers. Use when checking current Bitcoin L1 network congestion before broadcasting an on-chain BTC transaction; for calculating exact SegW - `plan\_bitcoin\_utxo\_consolidation`: Analyzes a set of Bitcoin UTXO balances in satoshis to compute exact vByte transaction weight, identify uneconomical dust inputs, and recommend whether to consolidate now or hold. Use when optimizing on-chain Bitcoin treasury UTXO sets to minimize long-term miner fee drag; for fetching current live - `calculate\_spot\_swap\_rate`: Calculates instantaneous spot exchange rates and equivalent USD, BTC, and satoshi values across BTC, ETH, SOL, SUI, and USDC. Use when converting a token amount into USD or satoshis for invoice pricing or accounting; for quoting executable non-KYC cross-chain bridge routes with bridge fees and settl - `compare\_crosschain\_bridge\_routes`: Compares non-custodial, non-KYC cross-chain swap routes \(THORChain native L1 swaps, Maya Protocol, Blockstream Liquid\) by basis-point fee, net output sats, and settlement time. Use when routing cross-chain treasury settlements \(e.g. Solana Native SOL or Base ETH into native Bitcoin\); for calculating - `generate\_gemini\_completion`: Generates text completions and structured reasoning across all 45 Google Gemini foundation models \(Gemini 4 Argon, 3.1 Pro, 3.8 Flash\) with zero Google account or API key required. Use when running single-turn reasoning, coding, or analytical prompts on a specific Gemini model; for delegating multi- - `execute\_antigravity\_agent`: Dispatches a complex engineering or operational task to Google's Antigravity autonomous agent for multi-step planning, tool orchestration, and verified execution. Use when solving multi-stage software engineering or workflow tasks that require autonomous planning; for compiling exhaustive multi-sour - `conduct\_deep\_research\_investigation`: Runs an iterative, multi-hop investigative research session via Gemini Deep Research Pro, cross-examining primary sources to produce a cited technical report. Use when investigating complex scientific, architectural, or market questions requiring deep multi-hop synthesis; for running a fast single-t - `operate\_computer\_use\_agent`: Plans and executes OS-level desktop, browser DOM, and GUI coordinate actions \(click, type, scroll, wait\) using the Gemini Computer Use agent. Use when automating interactive web UIs or desktop workflows that lack a direct REST API; for running code-first API and terminal automation tasks, use execut - `search\_gemini\_grounded\_web`: Answers factual queries with live Google Search grounding, returning verified up-to-date answers accompanied by source URLs and grounding metadata. Use when verifying live web facts, documentation updates, or current events in a single low-latency call; for querying geographic places, coordinates, d - `search\_gemini\_grounded\_maps`: Executes geospatial and point-of-interest queries grounded in live Google Maps data, returning verified addresses, coordinates, operating hours, and spatial context. Use when resolving physical locations, venues, transit distances, or regional infrastructure data; for searching general web articles, - `compile\_mpp\_research\_dossier`: Compiles a structured JSON research dossier \('key\_findings', 'synthesis\_quality\_score', 'sources\_cited'\) settled via Base EVM Machine Payments Protocol \(MPP\). Use when generating a strict-JSON cited intelligence brief paid via Base Native ETH MPP session headers; for running long-form narrative rese - `generate\_gemini\_embeddings`: Generates normalized 3,072-dimensional or 768-dimensional semantic vector embeddings via Google Gemini Embedding 2 for RAG indexing and cosine-similarity search. Use when embedding text passages or queries via L402 Lightning with configurable Matryoshka dimensions; for running live Google Search gro - `analyze\_omni\_multimodal\_input`: Analyzes combined multimodal prompts spanning text, image descriptors, audio transcripts, and video temporal events using Gemini Omni Flash. Use when correlating information across multiple media modalities in a single reasoning pass; for running pure text-only reasoning or coding prompts, use gener - `plan\_robotics\_spatial\_trajectory`: Computes 3D spatial affordances, obstacle-avoidance waypoints, and manipulator grasp sequences using Gemini Robotics ER 2 embodied reasoning. Use when planning physical robot arm kinematics, mobile navigation waypoints, or spatial scene task orders; for interacting with 2D desktop or browser GUI scr - `generate\_nano\_banana\_image`: Generates photorealistic illustrations, UI mockups, and technical diagrams from text prompts using the Nano Banana Pro \(Gemini 2.5 Flash Image\) model family. Use when creating static visual assets, icons, or architecture diagrams from text descriptions; for synthesizing animated multi-second video c - `generate\_veo\_cinematic\_video`: Synthesizes high-definition cinematic video sequences with temporally coherent camera motion and physics using Google Veo 3. Use when generating moving video clips, product B-roll, or animated scene renders from text prompts; for rendering static single-frame images or diagrams at lower cost, use ge - `compose\_lyria\_music\_track`: Composes studio-grade instrumental music tracks, ambient loops, and multi-instrument arrangements from genre, tempo, and mood prompts using Google Lyria 3. Use when generating musical scores, soundtrack stems, or rhythmic audio loops; for converting written text into spoken human voice narration \(TT - `synthesize\_gemini\_speech\_audio`: Converts written text into natural, prosody-controlled spoken voice audio using Gemini 3.8 Flash Neural Text-to-Speech. Use when rendering voiceover narration or spoken agent replies from a deterministic text script; for conducting bidirectional conversational audio dialog comprehension, use process - `process\_live\_audio\_dialogue`: Processes real-time conversational dialog turns with native acoustic emotion, interruption handling, and paralinguistic cue comprehension via Gemini 3.8 Live. Use when handling interactive voice-agent dialog turns that require tone and turn-taking awareness; for performing one-way text-to-speech rea - `prune\_context\_skeleton`: Compresses large source files, logs, or transcripts by 50–80% to fit an LLM context budget while preserving 100% of function/class/type signatures, imports, error frames, and query-matched lines. Use when shrinking oversized source files or logs before feeding them into an LLM prompt; for counting B - `plan\_context\_token\_budget`: Counts subword BPE tokens across prompt segments, detects high-priority instructions trapped in the 35%–72% Lost-in-the-Middle attention trough, and calculates USD/satoshi costs across frontier LLMs. Use when auditing prompt token budgets, reordering prompt sections for primacy/recency attention, or - `rerank\_hybrid\_rag\_chunks`: Reranks and deduplicates candidate RAG or retrieval passages against a search prompt using Okapi BM25 \(k1=1.5, b=0.75\), Reciprocal Rank Fusion \(RRF\), and Maximal Marginal Relevance \(MMR\) Jaccard diversity filtering. Use when selecting the top-K highest-signal, non-redundant passages from vector sear - `apply\_fuzzy\_code\_patch`: Applies unified diffs \(@@ ... @@\) or SEARCH/REPLACE blocks to source code using sliding-window token similarity to resolve drifted line numbers, align indentation, and verify bracket balance. Use when healing and applying a code edit or diff that failed exact line matching due to line-number drift o - `analyze\_ast\_symbol\_graph`: Static lexer and AST parser only \(zero execution or evaluation\): extracts imports, exports, classes, interfaces, and functions with line numbers, intra-file call edges, McCabe cyclomatic complexity, and Halstead volume across TypeScript, Python, Rust, Go, and Move. Use when mapping internal function - `audit\_module\_dependency\_cycles`: Runs Tarjan's Strongly Connected Components \(SCC\) algorithm on a module import map to detect circular dependencies, compute parallel topological build waves, and trace downstream change blast radius. Use when auditing multi-file import graphs for circular cycles or determining which downstream files - `isolate\_stacktrace\_root\_cause`: Parses noisy CI/terminal logs and multi-language stack traces \(Node/TS, Python, Rust, Go\), strips node\_modules/stdlib frames to isolate the innermost failing user-code frame, and clusters repetitive logs into Drain templates. Use when triage-debugging test failures, crash dumps, or repetitive server - `compile\_polyglot\_type\_schemas`: Inspects a sample JSON payload \(inferring UUID, ISO-8601 datetime, email, integer vs float, and array item types\) and compiles strict TypeScript interfaces, Zod schemas, Python Pydantic v2 models, and JSON Schema Draft 2020-12. Use when generating static type definitions and runtime validators in Ty - `evaluate\_deterministic\_math`: Strict Shunting-Yard AST arithmetic parser with zero eval\(\) or dynamic code execution: evaluates algebraic formulas and computes exact financial NPV, Newton-Raphson IRR, Kelly criterion, and dataset stats. Use when computing exact arithmetic formulas, cashflow NPV/IRR, or descriptive statistics with - `schedule\_critical\_path\_tasks`: Solves a task dependency DAG via the Critical Path Method \(CPM\) to compute ES/EF/LS/LF, Total Float/Slack, optimal makespan, and the Critical Path. Use when scheduling dependent engineering milestones or workflow steps to find the minimum project duration and zero-slack bottleneck path; for detectin - `evaluate\_ab\_statistical\_significance`: Computes Welch's two-sample t-test or two-proportion z-test, returning two-tailed p-values, Cohen's d effect size, relative lift %, and Bayesian P\(Treatment \> Control\). Use when determining whether a prompt change, model benchmark, or A/B experiment produced a statistically significant improvement; - `detect\_openapi\_breaking\_changes`: Compares baseline and candidate OpenAPI 3.1 specs, JSON Schemas, or MCP tool manifests to detect breaking changes \(removed fields, new required inputs, narrowed enums, type mutations\). Use when auditing API, JSON Schema, or MCP contract revisions for backward compatibility before deployment; for com - `generate\_boundary\_test\_vectors`: Synthesizes deterministic unit-test vectors from a JSON Schema or function signature covering valid equivalence partitions, numeric/length boundaries, and adversarial Unicode/null inputs. Use when generating exhaustive edge-case unit test payloads and fuzz vectors for an API endpoint or function; fo - `simulate\_monte\_carlo\_risk`: Runs a reproducible seeded Mulberry32 Monte Carlo simulation over uncertain cost, latency, or duration variables to compute P10/P50/P90/P95 percentiles, Value-at-Risk \(VaR\), and CVaR. Use when modeling stochastic uncertainty, tail risk \(VaR/CVaR\), and probability of meeting a budget or SLA target; f - `diff\_agent\_memory\_checkpoint`: Computes structural diffs between two agent state snapshots \('added\_keys', 'mutated\_keys', 'removed\_keys'\), flags boolean belief contradictions, generates an RFC 7396 JSON Merge Patch delta, and computes a canonical checkpoint hash. Use when checkpointing agent state or transmitting minimal RFC 7396 - `heal\_malformed\_json`: Deterministic JSON syntax repair: normalizes quotes, unclosed brackets, and boolean literals into compliant RFC 8259 JSON structure without data deletion. Use when fixing syntax-broken JSON strings that fail JSON.parse\(\); for coercing field types and verifying properties on already-parseable JSON ob - `enforce\_json\_schema\_types`: Validates a raw LLM output object against a target JSON Schema, automatically coercing mismatched scalar types \(e.g. string '42' to integer 42\), injecting schema defaults, and pruning undeclared hallucinated fields. Use when enforcing schema compliance and type safety on structured LLM outputs befor - `extract\_structured\_json\_entities`: Extracts structured JSON records, named entities, dates, and financial figures from unstructured prose, emails, or HTML/Markdown dumps. Use when converting unstructured natural-language text into a structured JSON array of entities; for validating and coercing an existing JSON payload against a form - `clean\_tabular\_dataset`: Deduplicates repetitive lines or records, normalizes Unicode whitespace, strips HTML/control noise, and canonicalizes tabular text or JSON arrays. Use when cleaning noisy scraped lists, CSV rows, or duplicate log lines before indexing or analysis; for extracting typed JSON fields from free-form pros - `synthesize\_safe\_regex`: Synthesizes linear-time O\(n\) regular expressions free of catastrophic backtracking \(ReDoS\) and validates them against positive and negative test strings. Use when generating and verifying a regular expression pattern for input validation or lexical parsing; for repairing broken JSON syntax directly - `compile\_xml\_agent\_prompt`: Compiles a raw task description into a structured XML system prompt \(\, \, \, \, \, \\) engineered to prevent instruction drift. Use when authoring or upgrading a system prompt for an autonomous agent or sub-agent workflow; for mapping a task - `synthesize\_python\_automation\_code`: Synthesizes PEP 8 compliant, self-contained Python 3 scripts, data parsers, and CLI utilities complete with type hints, docstrings, and inline assertion tests. Use when generating a standalone Python automation script or parser from a functional specification; for summarizing existing documentation - `summarize\_technical\_document`: Condenses long technical specifications, RFCs, research papers, or meeting transcripts into high-density executive bullet points preserving exact figures and decisions. Use when producing a human-readable executive summary of a single provided document; for researching a topic across the live web wi - `synthesize\_web\_intelligence\_brief`: Synthesizes a real-time market or technical intelligence brief grounded in live Google Search, returning strict JSON \('executive\_summary', 'key\_developments', 'sentiment', 'sources'\). Use when fetching a structured JSON market/news brief with live web citations and sentiment classification; for summ - `verify\_context\_compaction\_fidelity`: Audits a compacted conversation summary against the original full context to detect dropped user constraints, lost file paths, altered numbers, or missing pending tasks. Use when verifying that an LLM context-compaction summary retained all task-critical facts before truncating history; for generati - `route\_mcp\_workflow\_plan`: Maps a natural-language agent goal to an ordered sequence of Diogenes MCP tool calls with exact endpoint paths, JSON-RPC 2.0 payloads, and cumulative satoshi cost estimates. Use when planning which MCP tools to chain together to solve a multi-step objective within a satoshi budget; for compiling a s - `arbitrate\_agent\_deliverable\_escrow`: Evaluates a worker agent's submitted task deliverable against agreed contract acceptance criteria to issue a deterministic escrow settlement verdict \('RELEASE\_FUNDS\_TO\_WORKER\_AGENT', 'REQUEST\_REVISION', or 'REFUND\_CLIENT'\). Use when settling multi-agent bounties or verifying subcontractor deliverabl - `infer\_mpp\_streaming\_session`: Initializes a Base Native ETH Machine Payments Protocol \(MPP\) metered inference session, allocating a streaming token quota and returning a step-by-step execution plan. Use when running session-metered agent planning settled via Base EVM MPP 'Payment-Challenge' headers; for mapping a task goal to L4 - `generate\_x402\_vector\_embeddings`: Generates normalized high-dimensional semantic vector embeddings settled via Solana SPL USDC \('x402' protocol headers\) for decentralized RAG pipelines. Use when computing text embeddings paid via Solana Native SOL x402 signatures rather than Bitcoin Lightning; for extracting discrete JSON entities f Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html