Clone-AnySaaS / alt/treg
legacy: $149/mo builder: $29/mo savings: 5.1x cheaper probe: preseeded_verified

MeshBridge Unified Gateway — Self-Hostable Treg Alternative

Direct self-hosted MCP & REST execution gateway with SQLite WAL prepaid ledger, Creem billing, and 0% middleman commission.

Category: Agent Tool Marketplace & Enrichment Bus 1/5th Target: $29.80/mo Annual Savings: $1,440/yr HTTPSREST APISaaS Telemetry

3-Year TCO Price Demolition

MetricTreg (Team API Credits Tier)MeshBridge Unified Gateway (Builder)
Monthly Cost $149.00/mo $29.00/mo
36-Month Total Cost $5,364.00 $1,044.00
Anti-Fake-200 Policy Billed per seat / opaque usage $0 on WAF, empty, or junk 422
Download JSON Blueprint

Self-Hostable Architecture Blueprint

Runtime: Python 3.11+ Standard Library Only (zero pip dependencies)
Storage: SQLite WAL (BEGIN IMMEDIATE transactions)
Command: python3 -m src.server --host 127.0.0.1 --port 9081
CREATE TABLE IF NOT EXISTS tool_registry (id TEXT PRIMARY KEY, payload_json TEXT NOT NULL, created_at_utc TEXT NOT NULL);
CREATE TABLE IF NOT EXISTS ledger_entries (id TEXT PRIMARY KEY, payload_json TEXT NOT NULL, created_at_utc TEXT NOT NULL);
CREATE TABLE IF NOT EXISTS execution_receipts (id TEXT PRIMARY KEY, payload_json TEXT NOT NULL, created_at_utc TEXT NOT NULL);

Feature Parity & Unit Cost Breakdown

CapabilityLegacy TregClean-Room ReplacementVerified Cost
Zero-Commission Routing Treg commercial tier ($149/mo) Routes MCP tool calls directly without marketplace rake $0.001/call
Prepaid WAL Ledger Treg commercial tier ($149/mo) Atomic BEGIN IMMEDIATE credit debit & Creem webhook top-up $0.000/ledger
Unified MCP + OpenAPI Treg commercial tier ($149/mo) Serves Streamable HTTP /mcp and OpenAPI 3.1 side-by-side $0.002/call
Fake-200 Zero Charge Treg commercial tier ($149/mo) Guarantees $0 charge when upstream returns WAF or empty body $0.000/miss
SHA-256 Execution Receipts Treg commercial tier ($149/mo) Cryptographically signs every result payload and audit entry $0.000/receipt

OpenAPI 3.1.0 Specification

{
  "components": {
    "schemas": {
      "ExecutionInput": {
        "properties": {
          "options": {
            "type": "object"
          },
          "target": {
            "type": "string"
          }
        },
        "required": [
          "target"
        ],
        "type": "object"
      },
      "ExecutionReceipt": {
        "properties": {
          "charge_micros": {
            "type": "integer"
          },
          "ok": {
            "type": "boolean"
          },
          "sha256_signature": {
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "description": "Clean-room self-hostable replacement API for Treg (Agent Tool Marketplace & Enrichment Bus).",
    "title": "MeshBridge Unified Gateway API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/health": {
      "get": {
        "operationId": "treg_health",
        "responses": {
          "200": {
            "description": "Healthy"
          }
        },
        "summary": "Check service and SQLite WAL liveness"
      }
    },
    "/mcp": {
      "post": {
        "operationId": "treg_mcp",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecutionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecutionReceipt"
                }
              }
            },
            "description": "Verified execution result with SHA-256 receipt"
          },
          "422": {
            "description": "Invalid or fake-200 rejected at $0 charge"
          }
        },
        "summary": "Execute MeshBridge Unified Gateway capability on /mcp"
      }
    },
    "/v1/ledger/balance": {
      "post": {
        "operationId": "treg_v1_ledger_balance",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecutionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecutionReceipt"
                }
              }
            },
            "description": "Verified execution result with SHA-256 receipt"
          },
          "422": {
            "description": "Invalid or fake-200 rejected at $0 charge"
          }
        },
        "summary": "Execute MeshBridge Unified Gateway capability on /v1/ledger/balance"
      }
    },
    "/v1/tools/invoke": {
      "post": {
        "operationId": "treg_v1_tools_invoke",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecutionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecutionReceipt"
                }
              }
            },
            "description": "Verified execution result with SHA-256 receipt"
          },
          "422": {
            "description": "Invalid or fake-200 rejected at $0 charge"
          }
        },
        "summary": "Execute MeshBridge Unified Gateway capability on /v1/tools/invoke"
      }
    },
    "/v1/tools/list": {
      "post": {
        "operationId": "treg_v1_tools_list",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecutionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecutionReceipt"
                }
              }
            },
            "description": "Verified execution result with SHA-256 receipt"
          },
          "422": {
            "description": "Invalid or fake-200 rejected at $0 charge"
          }
        },
        "summary": "Execute MeshBridge Unified Gateway capability on /v1/tools/list"
      }
    }
  },
  "servers": [
    {
      "description": "FastMesh Hosted Gateway",
      "url": "https://clonesaas.fastmesh.dev"
    },
    {
      "description": "Local Self-Hosted Runtime",
      "url": "http://127.0.0.1:9081"
    }
  ]
}

Causal Bazaar Paid Card & SHA-256 Receipt

{
  "card_id": "clone_treg_v1",
  "category": "Agent Tool Marketplace & Enrichment Bus",
  "description": "Direct self-hosted MCP & REST execution gateway with SQLite WAL prepaid ledger, Creem billing, and 0% middleman commission.",
  "inputs_spec": {
    "properties": {
      "brand_name": {
        "type": "string"
      },
      "target_url": {
        "type": "string"
      }
    },
    "type": "object"
  },
  "is_public": 1,
  "mcp_endpoint": "https://clonesaas.fastmesh.dev/mcp",
  "outputs_spec": {
    "properties": {
      "blueprint": {
        "type": "object"
      },
      "openapi_spec": {
        "type": "object"
      },
      "receipt": {
        "type": "object"
      }
    },
    "type": "object"
  },
  "payload_sha256": "f4f7824a52dfbb667296a3a872f4ea1b24d298dba076dd7e9939aa2a08bd9c16",
  "pricing": {
    "builder_monthly_usd": 29.0,
    "creem_tiers": [
      {
        "checkout_url": "https://www.creem.io/product/prod_5YTmBS1AJVStf0nTYjKaP2",
        "credits_granted": 2500,
        "price_usd": 29,
        "tier": "Builder"
      },
      {
        "checkout_url": "https://www.creem.io/product/prod_4TXd1wGn4p1yOlHy9YEfqe",
        "credits_granted": 12000,
        "price_usd": 99,
        "tier": "Factory Pro"
      },
      {
        "checkout_url": "https://www.creem.io/product/prod_3eyoWKwE8jQm6LHceGFjKn",
        "credits_granted": 50000,
        "price_usd": 299,
        "tier": "Empire Unlimited"
      }
    ],
    "currency": "USD",
    "empty_result_charge_micros": 0,
    "legacy_monthly_usd": 149.0,
    "price_micros": 25000,
    "price_usd": 0.025
  },
  "public_url": "https://clonesaas.fastmesh.dev/alt/treg",
  "registry": "FastMesh Causal Bazaar",
  "schema_version": "1.0.0",
  "slug": "treg",
  "title": "MeshBridge Unified Gateway (Treg 1/5th Alternative)",
  "trust_policy": {
    "anti_fake_200_zero_charge": true,
    "clean_room_non_impersonation": true,
    "ssrf_guard_enabled": true,
    "zero_prompt_and_trajectory_resale": true
  }
}

// SHA-256 Receipt
{
  "algorithm": "sha256",
  "billing_decision": "PRESEEDED_ZERO_CHARGE",
  "charge_micros": 0,
  "issued_at_utc": "2026-12-03T19:59:53Z",
  "operation": "clone_saas",
  "payload_sha256": "f4f7824a52dfbb667296a3a872f4ea1b24d298dba076dd7e9939aa2a08bd9c16",
  "receipt_id": "rcpt_4bdaefddb0f74138",
  "sha256_signature": "3571d8a30d202c4b984be11fc3ba9aff6805f3580061500fbf3fc0d1b2591783",
  "status": "preseeded",
  "target": "https://treg.ai"
}

1/5th-Price Creem Prepaid & Subscription Tiers (Treg)

Builder
$29/mo
  • 50 live SaaS demolition blueprints & /alt/<slug> pages/mo
  • 100 Repo-to-MCP zero-dependency server.py compilations/mo
  • OpenAPI 3.1.0 spec + Smithery / Glama / Causal Bazaar manifests
  • Strict SSRF guard + anti-fake-200 zero-charge protection
Subscribe Builder ($29/mo)
Empire Unlimited
$299/mo
  • Everything in Factory Pro
  • Unlimited team seats & multi-tenant Causal Bazaar card publishing
  • SHA-256 tamper-evident audit chain & signed execution receipts
  • Dedicated fastmesh.dev gateway routing & Creem webhook ledger
Subscribe Empire Unlimited ($299/mo)
Independent clean-room alternative to Treg. Not affiliated with, endorsed by, or impersonating Treg.