Diogenes Agent Guardrails & Sandbox MCP

io.github.stand-out-of-my-sunPublished by GitHub account stand-out-of-my-sunv1.0.0Updated Oct 25, 2026

Autonomous agent guardrails, bash sandboxing, MCP rugpull diffing & prompt firewalls.

VerifiedStreamable HTTPWeb executable

Overview

Diogenes Agent Guardrails & Sandbox's hosted MCP server (diogenes-micro-gateway.corinth.workers.dev); no sign-in required; Streamable HTTP; 12 tools.

No AI overview yet: these facts come from the registry entry and the server itself.

Endpoint
diogenes-micro-gateway.corinth.workers.dev
Last checked

Installation

In SourceWeft

  1. Open Diogenes Agent Guardrails & Sandbox MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.stand-out-of-my-sun%2Fdiogenes-agent-guardrails-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "diogenes-agent-guardrails-sandbox": {
      "type": "http",
      "url": "https://diogenes-micro-gateway.corinth.workers.dev/mcp/agent-guardrails"
    }
  }
}

README

Diogenes Agent Guardrails & Command Sandbox MCP (diogenes-agent-guardrails-mcp)

[Indexed on TensorBlock MCP Index] [Glama MCP Server] [M8ven Score] [Master Gateway]

Diogenes Agent Guardrails & Command Sandbox MCP is a focused, zero-bloat Model Context Protocol (streamable-http) package powered by the Diogenes Microservice Gateway.

Instead of loading all 121 gateway endpoints into your LLM's context window, installing this package exposes only the 12 specialized agent-guardrails tools needed for Security:

12 pre-execution and post-execution AI agent security tools: command injection gate, AST SQL validator, Python sandbox, MCP manifest & rug-pull auditors, sampling firewall, output scrubber, PII redactor, loop breaker, A2A card verifier, egress SSRF guard, and factuality auditor.


⚡ 1-Click Install for Cursor & Claude Desktop

No API keys, user accounts, or local dependencies required. Zero setup — paste directly into your client config:

🖱️ Cursor IDE (.cursor/mcp.json)

Add to .cursor/mcp.json in your project root or global Cursor settings:

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

🧠 Claude Desktop (claude_desktop_config.json)

Add to claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json | Windows: %APPDATA%\Claude\claude_desktop_config.json):

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

Prefer local stdio? Run via npx:

bash
npx -y @stand-out-of-my-sun/diogenes-agent-guardrails-mcp

Included Tools in agent-guardrails (12 Tools)

MCP Tool NameUnderlying REST RouteSettlementCapability
verify_agent_command_safetyPOST /api/v1/agent/guardrail-verify100 sats (L402)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, use validate_sql_query_ast instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'payload' ('action_type' defaults to 'bash_command'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid.
validate_sql_query_astPOST /api/v1/agent/sql-guard75 sats (L402)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 commands or general agent prompts, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sql_statement' ('dialect' defaults to 'postgres'), supports '?demo=true' or L402 (75 sats), and returns HTTP 400 if invalid.
execute_python_sandboxPOST /api/v1/mpp/code-sandbox1500 sats (MPP)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_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'python_script' ('timeout_profile' defaults to 'fast_1s'), supports '?demo=true' or MPP (1500 sats), and returns HTTP 400 if invalid.
audit_mcp_server_manifestPOST /api/v1/agent/mcp-manifest-auditor150 sats (L402)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 MCP baseline against a live mid-session tools/list response, use detect_mcp_schema_rugpull instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'manifest_json' ('audit_profile' defaults to 'strict'), supports '?demo=true' or L402 (150 sats), and returns HTTP 400 if invalid.
detect_mcp_schema_rugpullPOST /api/v1/agent/mcp-rugpull-diff85 sats (L402)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 audit on a single MCP manifest, use audit_mcp_server_manifest instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'baseline_tools_json' ('current_tools_json' defaults to 'standard'), supports '?demo=true' or L402 (85 sats), and returns HTTP 400 if invalid.
validate_mcp_sampling_requestPOST /api/v1/agent/mcp-sampling-guard100 sats (L402)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 synchronous tools/call response, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sampling_request_json' ('max_tokens_ceiling' defaults to '512'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid.
sanitize_tool_output_streamPOST /api/v1/agent/tool-output-firewall75 sats (L402)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 context window; for redacting personal identifiable information (emails, SSNs, keys) from outbound text, use redact_sensitive_pii instead. Read-only edge call (32 KB, 60 RPM): accepts 'raw_tool_output' (with enum defaults), uses '?demo=true' or L402 (75 sats); HTTP 400 if invalid.
redact_sensitive_piiPOST /api/v1/scrub-pii150 sats (L402)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 in inbound tool responses, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('redaction_style' defaults to 'typed_token'), supports '?demo=true' or L402 (150 sats), and returns HTTP 400 if invalid.
detect_agent_action_loopPOST /api/v1/agent/loop-circuit-breaker70 sats (L402)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 execution, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'action_trace_json' ('sensitivity' defaults to 'strict_2_repeats'), supports '?demo=true' or L402 (70 sats), and returns HTTP 400 if invalid.
verify_a2a_agent_cardPOST /api/v1/agent/a2a-card-verifier90 sats (L402)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 tools/list manifest rather than a peer agent's A2A card, use audit_mcp_server_manifest instead. Read-only edge call (32 KB, 60 RPM): accepts 'agent_card_json' ('trust_policy' defaults to 'require_https_and_did'), supports '?demo=true' or L402 (90 sats), and returns HTTP 400 if invalid.
audit_outbound_egress_urlPOST /api/v1/agent/audit-egress-url65 sats (L402)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; for auditing local shell commands or general prompts, use verify_agent_command_safety instead. Read-only edge call (32 KB, 60 RPM): accepts 'destination_uri' ('egress_policy' defaults to 'block_private_and_metadata'), supports '?demo=true' or L402 (65 sats), and returns HTTP 400 if invalid.
audit_response_factualityPOST /api/v1/agent/hallucination-auditor150 sats (L402)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 inbound tool outputs for prompt-injection and invisible Unicode, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'claim' ('context' defaults to 'standard'), supports '?demo=true' or L402 (150 sats), and returns HTTP 400 if invalid.

Free Account-Less Demo Mode: Append ?demo=true to any REST endpoint above for an instant HTTP 200 schema preview at zero cost.


Other Modular Diogenes MCP Packages

Install only the domain packages relevant to your workflow:

PackageScoped MCP EndpointSpoke Repository
1. EVE: Frontier Sui Move Suite (14 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/eve-frontierstand-out-of-my-sun/diogenes-eve-frontier-mcp
2. Agent Guardrails & Sandbox (12 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/agent-guardrailsstand-out-of-my-sun/diogenes-agent-guardrails-mcp
3. Web3, DeFi & 402 Security (15 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/web3-securitystand-out-of-my-sun/diogenes-web3-security-mcp
4. Gemini Suite & AI Agents (15 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/gemini-suitestand-out-of-my-sun/diogenes-gemini-suite-mcp
5. Context, Code & Solvers (15 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/context-code-solverstand-out-of-my-sun/diogenes-context-code-solver-mcp
6. Dev, Data & Workflow Utilities (14 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/dev-utilitiesstand-out-of-my-sun/diogenes-dev-utilities-mcp
7. Web Extraction, Readability & Markdown Engine (12 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/web-scraping-enginestand-out-of-my-sun/diogenes-web-scraping-engine-mcp
8. Neural Search, Grounded Research & Deep Intelligence (12 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/neural-search-enginestand-out-of-my-sun/diogenes-neural-search-engine-mcp
9. Database Intelligence, SQL Engine & Schema Guard (12 Tools)https://diogenes-micro-gateway.corinth.workers.dev/mcp/database-intelligencestand-out-of-my-sun/diogenes-database-intelligence-mcp
10. Full Master Gateway (All 121 Services)https://diogenes-micro-gateway.corinth.workers.dev/mcpstand-out-of-my-sun/diogenes-micro-gateway

TensorBlock & MCP Index Profile Metadata

FieldValue
CategorySecurity
Transportstreamable-http
Endpointhttps://diogenes-micro-gateway.corinth.workers.dev/mcp/agent-guardrails
Manifesthttps://diogenes-micro-gateway.corinth.workers.dev/.well-known/mcp/agent-guardrails.json
Health Checkhttps://diogenes-micro-gateway.corinth.workers.dev/api/v1/health
Authnone (100% account-less free tier, MCP discovery & ?demo=true previews; optional 6 flexible crypto payment rails for production calls: L402, x402, Base MPP, Garlicoin 0-Conf, BSC WGRLC, or Prepaid GRLC session API keys)
Install Confidencehigh (Zero-install remote Streamable HTTP endpoint + root package.json, smithery.yaml, server.json, glama.json, and mcp.json)
LicenseMIT
Verificationverified (@stand-out-of-my-sun verified via https://diogenes-micro-gateway.corinth.workers.dev/.well-known/tensorblock.json & https://diogenes-micro-gateway.corinth.workers.dev/.well-known/mcp/agent-guardrails.json)
Maintainer@stand-out-of-my-sun
Docshttps://diogenes-micro-gateway.corinth.workers.dev/llms.txt
Supporthttps://github.com/stand-out-of-my-sun/diogenes-agent-guardrails-mcp/issues

Source: README.md at commit 46d20ee

Tools

12

verify_agent_command_safety

Autonomous Agent Pre-Execution Command & Prompt Injection Gate

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, use validate_sql_query_ast instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'payload' ('action_type' defaults to 'bash_command'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid.

Parameterspayloadrequiredaction_type

validate_sql_query_ast

AST-Level Read-Only SQL Query & Injection Safety Validator

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 commands or general agent prompts, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sql_statement' ('dialect' defaults to 'postgres'), supports '?demo=true' or L402 (75 sats), and returns HTTP 400 if invalid.

Parametersdialectsql_statementrequired

execute_python_sandbox

AST-Audited Ephemeral Python Code Execution 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_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'python_script' ('timeout_profile' defaults to 'fast_1s'), supports '?demo=true' or MPP (1500 sats), and returns HTTP 400 if invalid.

Parameterspython_scriptrequiredtimeout_profile

audit_mcp_server_manifest

External MCP Server Manifest & Tool-Poisoning Security Auditor

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 MCP baseline against a live mid-session tools/list response, use detect_mcp_schema_rugpull instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'manifest_json' ('audit_profile' defaults to 'strict'), supports '?demo=true' or L402 (150 sats), and returns HTTP 400 if invalid.

Parametersaudit_profilemanifest_jsonrequired

detect_mcp_schema_rugpull

Mid-Session MCP tools/list Rug-Pull & Schema Mutation Detector

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 audit on a single MCP manifest, use audit_mcp_server_manifest instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'baseline_tools_json' ('current_tools_json' defaults to 'standard'), supports '?demo=true' or L402 (85 sats), and returns HTTP 400 if invalid.

Parametersdiff_modecurrent_tools_jsonbaseline_tools_jsonrequired

validate_mcp_sampling_request

Inbound MCP sampling/createMessage Reverse-Injection Firewall

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 synchronous tools/call response, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sampling_request_json' ('max_tokens_ceiling' defaults to '512'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid.

Parametersmax_tokens_ceilingsampling_request_jsonrequired

sanitize_tool_output_stream

Indirect Prompt-Injection, Invisible Unicode & Beacon Output Scrubber

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 context window; for redacting personal identifiable information (emails, SSNs, keys) from outbound text, use redact_sensitive_pii instead. Read-only edge call (32 KB, 60 RPM): accepts 'raw_tool_output' (with enum defaults), uses '?demo=true' or L402 (75 sats); HTTP 400 if invalid.

Parameterswrap_tagraw_tool_outputrequired

redact_sensitive_pii

Zero-PII & Secret Credential Redaction Engine

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 in inbound tool responses, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('redaction_style' defaults to 'typed_token'), supports '?demo=true' or L402 (150 sats), and returns HTTP 400 if invalid.

Parameterstextrequiredredaction_style

detect_agent_action_loop

Autonomous Agent Action-Trace Loop & Token-Burn Circuit Breaker

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 execution, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'action_trace_json' ('sensitivity' defaults to 'strict_2_repeats'), supports '?demo=true' or L402 (70 sats), and returns HTTP 400 if invalid.

Parameterssensitivityaction_trace_jsonrequired

verify_a2a_agent_card

A2A /.well-known/agent.json Identity & Capability Card Verifier

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 tools/list manifest rather than a peer agent's A2A card, use audit_mcp_server_manifest instead. Read-only edge call (32 KB, 60 RPM): accepts 'agent_card_json' ('trust_policy' defaults to 'require_https_and_did'), supports '?demo=true' or L402 (90 sats), and returns HTTP 400 if invalid.

Parameterstrust_policyagent_card_jsonrequired

audit_outbound_egress_url

Outbound Agent URL SSRF, Metadata & Secret Exfiltration Firewall

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; for auditing local shell commands or general prompts, use verify_agent_command_safety instead. Read-only edge call (32 KB, 60 RPM): accepts 'destination_uri' ('egress_policy' defaults to 'block_private_and_metadata'), supports '?demo=true' or L402 (65 sats), and returns HTTP 400 if invalid.

Parametersegress_policydestination_urirequired

audit_response_factuality

Draft Agent Response Groundedness & Hallucination Auditor

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 inbound tool outputs for prompt-injection and invisible Unicode, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'claim' ('context' defaults to 'standard'), supports '?demo=true' or L402 (150 sats), and returns HTTP 400 if invalid.

Parametersclaimrequiredcontextrequiredstrictness

Version history

1
  1. v1.0.0LatestOct 20, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts