Docs › Get started
01 · Get started

Where the API lives.

|

AutoBrowser ships an HTTP server that starts when you launch the app. It listens on loopback only — your local API surface, never the network.

Ports and endpoints

  • REST API: http://127.0.0.1:10108 — base path /v1, OpenAPI spec at /openapi.json.
  • Per-profile CDP: the run response returns a per-profile CDP port (default 9222). Connect Playwright, Puppeteer, or any CDP client.
  • MCP server: stdio transport — invoked by Claude / Cursor / your MCP host via the donut-mcp binary shipped with the app. See the MCP page.

First request

Grab your bearer token from Settings → Integrations → Local API (see Authentication) and export it as DONUT_API_KEY (Unix shells) or $env:DONUT_API_KEY (PowerShell). Then ping the spec:

curl -sS http://127.0.0.1:10108/openapi.json \
  -H "Authorization: Bearer $DONUT_API_KEY" | head

List profiles:

curl -sS http://127.0.0.1:10108/v1/profiles \
  -H "Authorization: Bearer $DONUT_API_KEY"