1. Documentation
  2. Developers
  3. Overview

Bao’s technical surfaces

Where you come in, when you would rather not click.


Bao exposes three surfaces beyond the dashboard:

SurfaceDirectionUse
MCP connectorAn AI agent drives BaoAdministration in plain language, model-driven automation
Premium webhookYour system calls BaoGrant and remove roles from your shop or your backend
Stripe webhookStripe calls BaoTurnkey subscriptions, no code

What does not exist

Bao offers no public REST API and no client library. The MCP connector covers everything the dashboard does, and it is the recommended route for any programmatic control.

Common conventions

  • Every write is scoped to a Discord server. No operation is global.
  • Identifiers (channels, roles, members) are Discord IDs, as strings of digits.
  • Secrets are never shown again after creation. A lost secret is regenerated, not recovered.
  • Dates use the ISO 8601 format, in UTC.