New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mmansillaf avatar

Defense Gateway

mmansillaf/a2a-defense-gateway

Remote gateway of 43 tools spanning US and Peruvian legal forensics, Lightning L402 payments, and agent escrow and defense.

tools
43
transport
HTTP
last updated
Nov 19, 2026
View on GitHub

What it does

  • Reads legal data with search_us_court_opinions, verify_normative_validity, and match_peruvian_procurement; checks deadlines and citations with compute_us_procedural_deadline and validate_bluebook_citation
  • Writes and settles payments with request_l402_challenge, verify_l402_payment, and create_escrow_deposit; refunds are automatic through auto_refund_dormant_escrow
  • Connects over a remote Streamable HTTP endpoint, with payments settled in Bitcoin Lightning satoshis per call
  • Designed for legal and compliance review of US and Peruvian documents, or for agents that pay for and audit one another's services

Tools

43 tools

Public tool metadata for what this MCP can expose to an agent.

compute_us_procedural_deadlineUS Federal and State court procedural deadline calculator (FRCP 6, FRAP 26, FRCrP 45, FRBP 9006).

US Federal and State court procedural deadline calculator (FRCP 6, FRAP 26, FRCrP 45, FRBP 9006).

No parameter schema in public metadata yet.

validate_bluebook_citationBluebook Rule 10 legal citation validator with good-law precedent verification.

Bluebook Rule 10 legal citation validator with good-law precedent verification.

No parameter schema in public metadata yet.

search_us_court_opinionsFull-text search and retrieval of US caselaw opinions (SCOTUS, Circuit Courts, Delaware Chancery).

Full-text search and retrieval of US caselaw opinions (SCOTUS, Circuit Courts, Delaware Chancery).

No parameter schema in public metadata yet.

audit_us_contract_clausesUS commercial contract and SEC Exhibit 10 clause forensics (liability caps, indemnification, AI data rights).

US commercial contract and SEC Exhibit 10 clause forensics (liability caps, indemnification, AI data rights).

No parameter schema in public metadata yet.

compute_procedural_deadlinePeruvian judicial and administrative deadline calculator excluding official holidays.

Peruvian judicial and administrative deadline calculator excluding official holidays.

No parameter schema in public metadata yet.

verify_normative_validityDeterministic graph verification of statute validity (VIGENTE, MODIFICADO, DEROGADO).

Deterministic graph verification of statute validity (VIGENTE, MODIFICADO, DEROGADO).

No parameter schema in public metadata yet.

audit_sunat_cpe_xmlForensic UBL 2.1 XML electronic invoice auditor for SUNAT Peru (RUC Modulo 11 check, 18% IGV balance).

Forensic UBL 2.1 XML electronic invoice auditor for SUNAT Peru (RUC Modulo 11 check, 18% IGV balance).

No parameter schema in public metadata yet.

audit_excel_macro_forensicsStatic forensic analysis and deobfuscation of Excel VBA macros (WinAPI, Shell, credentials).

Static forensic analysis and deobfuscation of Excel VBA macros (WinAPI, Shell, credentials).

No parameter schema in public metadata yet.

match_peruvian_procurementProcurement radar and classifier for Peruvian government tenders with CUBSO codes.

Procurement radar and classifier for Peruvian government tenders with CUBSO codes.

No parameter schema in public metadata yet.

request_l402_challengeGenerates RFC-compliant L402 Macaroon + Lightning Bolt11 invoices for micro-metered calls.

Generates RFC-compliant L402 Macaroon + Lightning Bolt11 invoices for micro-metered calls.

No parameter schema in public metadata yet.

verify_l402_paymentValidates preimage payments and settles machine-to-machine transactions.

Validates preimage payments and settles machine-to-machine transactions.

No parameter schema in public metadata yet.

redeem_credits_for_satsConverts earned service credits into Bitcoin satoshis paid to a destination Bolt11.

Converts earned service credits into Bitcoin satoshis paid to a destination Bolt11.

No parameter schema in public metadata yet.

create_escrow_depositDeploys conditional smart escrow contracts with slashing rules for autonomous jobs.

Deploys conditional smart escrow contracts with slashing rules for autonomous jobs.

No parameter schema in public metadata yet.

auto_refund_dormant_escrowDeterministic timelock auto-refund releasing 100% of collateral when an evaluator goes dormant.

Deterministic timelock auto-refund releasing 100% of collateral when an evaluator goes dormant.

No parameter schema in public metadata yet.

issue_verifiable_work_receiptImmutable HMAC-SHA256/Ed25519 work receipt with input/output digests and accounting deduction.

Immutable HMAC-SHA256/Ed25519 work receipt with input/output digests and accounting deduction.

No parameter schema in public metadata yet.

calculate_service_quoteSurge/load-aware algorithmic pricing engine based on token compute and USL capacity.

Surge/load-aware algorithmic pricing engine based on token compute and USL capacity.

No parameter schema in public metadata yet.

arbitrate_disputeWhy-Trail forensic court for adjudicating agentic contractual breaches.

Why-Trail forensic court for adjudicating agentic contractual breaches.

No parameter schema in public metadata yet.

underwrite_execution_policyParametric slashing insurance covering up to 80% collateral indemnity for agents.

Parametric slashing insurance covering up to 80% collateral indemnity for agents.

No parameter schema in public metadata yet.

enforce_session_spending_limitSession-level financial circuit breaker enforcing satoshi spending caps.

Session-level financial circuit breaker enforcing satoshi spending caps.

No parameter schema in public metadata yet.

certify_skill_safetyStatic AST SAST malware vetting against ClawHavoc / AMOS supply-chain malware.

Static AST SAST malware vetting against ClawHavoc / AMOS supply-chain malware.

No parameter schema in public metadata yet.

certify_mcp_marketplace_packageSupply chain security notary auditing MCP tool descriptions for Base64/Unicode smuggling.

Supply chain security notary auditing MCP tool descriptions for Base64/Unicode smuggling.

No parameter schema in public metadata yet.

audit_agent_dependency_livenessPre-flight HEAD liveness probe with TLS verification to prevent escrow deadlocks.

Pre-flight HEAD liveness probe with TLS verification to prevent escrow deadlocks.

No parameter schema in public metadata yet.

sanitize_delegated_task_payloadRegex and entropy scrubbing of 10 families of API keys, tokens, and PII prior to subdelegation.

Regex and entropy scrubbing of 10 families of API keys, tokens, and PII prior to subdelegation.

No parameter schema in public metadata yet.

enforce_chain_postconditionsMulti-agent pipeline postcondition validator preventing hollow 200 OK responses.

Multi-agent pipeline postcondition validator preventing hollow 200 OK responses.

No parameter schema in public metadata yet.

audit_context_pruningForensic information loss and gap auditor comparing raw vs compacted context.

Forensic information loss and gap auditor comparing raw vs compacted context.

No parameter schema in public metadata yet.

report_malicious_agentAutonomous CTI reporting of malicious agents, exploits, and attacks.

Autonomous CTI reporting of malicious agents, exploits, and attacks.

No parameter schema in public metadata yet.

query_agent_threat_scoreQuery CTI threat history, risk score, and quarantine status.

Query CTI threat history, risk score, and quarantine status.

No parameter schema in public metadata yet.

store_secret_envelopeE2EE cryptographic vault with Timelock and Dead Man's Switch for mission secrets.

E2EE cryptographic vault with Timelock and Dead Man's Switch for mission secrets.

No parameter schema in public metadata yet.

query_deep_context_archiveGoogle Drive 2M token context archive query engine.

Google Drive 2M token context archive query engine.

No parameter schema in public metadata yet.

publish_enterprise_artifactGenerates and exports HTML, PDF, and DOCX documents to Google Drive.

Generates and exports HTML, PDF, and DOCX documents to Google Drive.

No parameter schema in public metadata yet.

generate_audio_briefingTwo-character (Alex & Camila) audio deliberation overview synthesis.

Two-character (Alex & Camila) audio deliberation overview synthesis.

No parameter schema in public metadata yet.

sync_tabular_ledgerLive bi-directional sync of transaction ledgers to Google Sheets.

Live bi-directional sync of transaction ledgers to Google Sheets.

No parameter schema in public metadata yet.

attest_agent_did_identityDecentralized ID attestation and cryptographic verification.

Decentralized ID attestation and cryptographic verification.

No parameter schema in public metadata yet.

recalibrate_agent_cognitionCognitive therapy and loop-breaker for repetitive agent states.

Cognitive therapy and loop-breaker for repetitive agent states.

No parameter schema in public metadata yet.

request_antigravity_reasoningDeep reasoning oracle using Antigravity thought chains.

Deep reasoning oracle using Antigravity thought chains.

No parameter schema in public metadata yet.

execute_sandboxed_computationDeterministic, isolated Python runtime with strict memory and CPU limits.

Deterministic, isolated Python runtime with strict memory and CPU limits.

No parameter schema in public metadata yet.

dispatch_colab_gpu_jobEphemeral GPU compute worker dispatch for batch inference/training.

Ephemeral GPU compute worker dispatch for batch inference/training.

No parameter schema in public metadata yet.

dispatch_agent_transactional_emailRFC 5322 compliant outbound transactional email dispatch.

RFC 5322 compliant outbound transactional email dispatch.

No parameter schema in public metadata yet.

get_alpha_intelligence_feedReal-time B2B market intelligence, 0-day exploits, and unmet agentic demand.

Real-time B2B market intelligence, 0-day exploits, and unmet agentic demand.

No parameter schema in public metadata yet.

request_epistemic_auditFactual truth attestation with S_c scoring.

Factual truth attestation with S_c scoring.

No parameter schema in public metadata yet.

compile_gbnf_grammarCompiles schemas into context-free GBNF grammars for constrained decoding.

Compiles schemas into context-free GBNF grammars for constrained decoding.

No parameter schema in public metadata yet.

get_agent_reputation_profileCounterparty credit scoring bureau (0-1000) tracking contract fulfillment and slashing history.

Counterparty credit scoring bureau (0-1000) tracking contract fulfillment and slashing history.

No parameter schema in public metadata yet.

submit_service_feedbackA2A customer satisfaction (CSAT) rating oracle (1-5) and feedback submission.

A2A customer satisfaction (CSAT) rating oracle (1-5) and feedback submission.

No parameter schema in public metadata yet.

Readme

A2A Defense & Monetization Gateway

License: MIT MCP Standard L402 Protocol Why-Trail Ledger Live Endpoint

Production-grade Agent-to-Agent (A2A) economic, defense, and monetization infrastructure. Exposes a Streamable HTTP Model Context Protocol (MCP) server providing cryptographic truth verification, Why-Trail forensic dispute resolution, Bitcoin Lightning L402 payments, AST SAST malware scanning, and GBNF grammar compilation.


⚡ Core Capabilities (43 Production MCP Tools)


View the full README on GitHub

Details

Repository
github.com/mmansillaf/a2a-defense-gateway
Categories
Business, Legal & HR, Web3 & Crypto
Transport
HTTP
Registry
MCP registry, active

Similar to Defense Gateway

More Business, Legal & HR