- Documentation
- Developers
- Overview
Bao’s technical surfaces
Where you come in, when you would rather not click.
Bao exposes three surfaces beyond the dashboard:
| Surface | Direction | Use |
|---|---|---|
| MCP connector | An AI agent drives Bao | Administration in plain language, model-driven automation |
| Premium webhook | Your system calls Bao | Grant and remove roles from your shop or your backend |
| Stripe webhook | Stripe calls Bao | Turnkey 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.