---
title: "Docs · Donut Browser"
description: "Everything Donut Browser exposes to your own code: the local REST API, the MCP server for AI agents, and the Wayfern Playwright wrapper, with examples."
url: "https://donutbrowser.com/docs/"
---

[Overview](https://donutbrowser.com/docs) [Quickstart](https://donutbrowser.com/docs/quickstart) [Import profiles](https://donutbrowser.com/docs/profile-import) [API reference](https://donutbrowser.com/docs/rest-api) [Authentication](https://donutbrowser.com/docs/authentication) [Wayfern · Playwright](https://donutbrowser.com/docs/wayfern) [MCP server](https://donutbrowser.com/docs/mcp) [OpenAPI spec](https://donutbrowser.com/docs/openapi)

Get started

- [Overview](https://donutbrowser.com/docs)

- [Quickstart](https://donutbrowser.com/docs/quickstart)

- [Import profiles](https://donutbrowser.com/docs/profile-import)

REST API

- [API reference](https://donutbrowser.com/docs/rest-api)

- [Authentication](https://donutbrowser.com/docs/authentication)

- [Wayfern · Playwright](https://donutbrowser.com/docs/wayfern)

Other surfaces

- [MCP server](https://donutbrowser.com/docs/mcp)

Reference

- [OpenAPI spec](https://donutbrowser.com/docs/openapi)

Documentation

# Drive Donut from code.

Copy as Markdown

View as Markdown

**The desktop app runs a local REST API and an MCP server on your machine.** Everything Donut does in the UI (profiles, proxies, VPNs, launches) is available programmatically. Free for everyone; the browser-launch and manipulation surface is Pro.

## Get started

- **[Quickstart](https://donutbrowser.com/docs/quickstart)**: where the local API lives, ports, base path, and the first curl.

- **[Import profiles](https://donutbrowser.com/docs/profile-import)**: migrate from Chrome, Chromium, or Brave in bulk — folders, ZIP archives, groups, proxy assignment.

## REST API

- **[API reference](https://donutbrowser.com/docs/rest-api)**: every endpoint across profiles, groups, tags, proxies, vpns, browsers. Worked examples.

- **[Authentication](https://donutbrowser.com/docs/authentication)**: bearer token from Settings → Integrations → Local API. Where to find it and how to rotate it.

- **[Wayfern · Playwright](https://donutbrowser.com/docs/wayfern)**: humanized Playwright wrapper with fingerprint control. Drop-in and CDP-attach modes.

## Other surfaces

- **[MCP server](https://donutbrowser.com/docs/mcp)**: drive Donut from Claude, Cursor, or any MCP host. Config snippet included.

## Reference

- **[OpenAPI spec](https://donutbrowser.com/docs/openapi)**: machine-readable spec, codegen recipes (TypeScript, Python, Rust).

[Next Quickstart →](https://donutbrowser.com/docs/quickstart)
