ao-mcp-tollbooth
Queries GraphQL endpoints on Arweave gateways to fetch AO process history and transaction metadata for use in risk triage scoring.
🛡️ AO MCP Tollbooth A Model Context Protocol (MCP) server providing automated risk triage, liquidity checks, and security guardrails for AI agents operating on the AO / Arweave network.
🌐 Community & Ecosystem Integration ao-mcp-tollbooth is registered as a specialized Community Server for autonomous agents across the Web3 and AO ecosystems.
Registry Entry: * ao-mcp-tollbooth - Automated risk triage and security guardrails for AI agents on AO/Arweave.
Category: Security, Risk Triage & Infrastructure
Target Network: AO / Arweave Ecosystem
🚀 Overview ao-mcp-tollbooth acts as an automated safety gate for autonomous agents. Before executing financial interactions or interacting with unknown processes on AO, agents pass process metadata to Tollbooth to receive a real-time risk assessment and actionable trigger responses.
Key Features
GraphQL Process Triage: Fetches process history and transaction metadata directly via Arweave gateways.
Financial Risk Heuristics: Computes a normalized financial_risk_score (0–100) based on verified credentials, transaction volume, and interaction history.
Agent Decision Triggers: Emits standardized actions (ALLOW, FLAG_FOR_REVIEW, BLOCK) for seamless integration with LLM decision loops.
Monetized Tollbooth Gate: Pay-per-use verification layer powered by $AO microtransactions.
💳 Monetization & Payment Gate (v0.2.0)
This MCP server features an automated pay-per-use tollbooth powered by the AO Network / Arweave.
Payment Details Cost per Triage Call: 0.001 $AO
Recipient Wallet Address: qh28RzVBtCyMkTBZSXmpp_ioNassydJru-rgnjA2ns0
Accepted Token: $AO
How It Works for AI Agents & Clients Send a transaction of at least 0.001 $AO to the recipient wallet address above via the AO Network.
Obtain the transaction ID (tx_id).
Include the transaction ID in your tool call parameter:
{ "process_id": "YOUR_PROCESS_ID", "payment_tx_id": "YOUR_AO_TRANSACTION_ID" }
The server automatically verifies the transaction on-chain (verifying recipient, amount, and execution status) before executing the triage analysis.
🛠️ Quickstart
Prerequisites
Python 3.10+
Git
Installation
git clone https://github.com/Ryddegutt/ao-mcp-tollbooth.git cd ao-mcp-tollbooth pip install -e .
Configuration Create a .env file in the root directory:
TOLLBOOTH_WALLET_ADDRESS=qh28RzVBtCyMkTBZSXmpp_ioNassydJru-rgnjA2ns0 PRICE_PER_TRIAGE_AO=0.001 REQUIRE_PAYMENT=true
💡 Usage Start the MCP server locally:
python server.py
Response Schema Example
{ "process_id": "0x123...abc", "alpha_score": 85, "financial_risk_score": 20, "is_verified": true, "agent_action": "ALLOW" }
⚖️ Disclaimer This software provides heuristic risk scoring based on publicly available ledger metadata. It does not constitute financial or legal advice, nor does it guarantee the absolute safety of target processes.
📜 License MIT License © 2026 Ryddegutt
This server cannot be deployed
Maintenance
Related MCP Connectors
Pre-execution governance for AI agents. Deterministic PASS/FAIL/REVIEW verdicts, replayable proof.
DeFi safety layer for AI agents: wallet safety, token risk, tx decode/simulate. 20 tools.
Check, limit, record and prove AI agent actions with 2-of-3 validators and onchain proofs.
511Pay-per-call safety checks for AI agents: screen a crypto address or URL before you transact.
Related MCP Servers
- AlicenseAqualityDmaintenanceSafety layer for autonomous DeFi agents. Scans contracts for exploit patterns, simulates transactions, blocks honeypots.48 npm1MIT
- AlicenseNot gradedqualityDmaintenancePre-execution safety layer for autonomous agent wallets. Risk scoring, transaction simulation, and policy enforcement via MCP.MIT
- AlicenseNot gradedqualityDmaintenanceSecurity layer for AI agents that evaluates transaction intents and returns verdicts (ALLOW/WARN/DENY) using deterministic rules, on-chain checks, and simulation.4 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides risk guardrails for AI trading agents by analyzing portfolio risk, checking trades against policies, and generating risk policies.64 PyPI2MIT