Skip to content

AI agents

MCP tools for AI agents.

On this page

Donut Browser speaks MCP through Remote MCP. Your desktop app keeps an outgoing connection to Donut cloud, an MCP client sends each call to https://api.donutbrowser.com/api/mcp, and your desktop answers it. Remote MCP is part of the Solo, Pro, Team and Enterprise plans. Free does not include MCP.

  • Solo: MCP without browser automation: profiles, groups, proxies, VPNs, extensions and the human-in-the-loop tools.
  • Pro, Team and Enterprise: also the browser automation tools and recipes.

Set it up

Follow Remote MCP: turn on remote control in Integrations → Remote MCP (sidebar, Cmd/Ctrl+I), and point your client at the endpoint. A client with OAuth asks you to sign in; other clients send a credential. The app can set up the clients it knows: it installs an extension in Claude Desktop and writes the config of Claude Code, Cursor, VS Code, Zed and others. AI agents has the setup per client, OpenClaw included, and a local path that keeps page data off Donut’s servers.

Tools

Your desktop answers 117 tools, and the Donut API answers 7 recipe tools. They come in groups (toolsets):

Group Tools Examples
Core 54 list_profiles, create_profile, run_profile, navigate, click_locator, press_and_hold, type_text, select_option, file_upload, screenshot, extract_structured, ask_human
organize 6 create_group, assign_profiles_to_group, import_browser_profiles
network 18 create_proxy, rotate_proxy_ip, distribute_proxies, import_vpn, update_profile_dns_blocklist
traffic 4 start_network_capture, list_network_requests, get_network_request
fingerprint 2 get_profile_fingerprint, update_profile_fingerprint
extensions 11 add_extension, create_extension_group, assign_extension_group_to_profile
cookies 11 import_profile_cookies, set_cookie_bot_schedule, run_cookie_bot_now
sync 6 get_team_locks, start_sync_session
remote 5 run_profile_remote, get_remote_hours_quota
recipes 7 save_recipe, run_recipe, get_recipe_run

A tool that your plan does not include answers with PLAN_REQUIRED and names the feature; nothing in your client breaks. On Solo, this applies to every tool that launches, drives or reads a browser. Changing a fingerprint, or making one for another operating system, needs Pro, Team or Enterprise.

Answers are compact JSON. Tools with a fixed shape also send it as structuredContent, with an outputSchema in tools/list. list_profiles gives a short summary per profile (group, status, proxy or VPN by name, whether it runs here or on the remote fleet, last launch, note) and takes query, group, tag and running filters, a limit and a cursor. get_profile has the settings of one profile and get_profile_fingerprint its device. A list longer than about 100 KB is cut, with a note that says how many items were left out.

Reading and acting on pages

perceive_page reads the page in one call: every visible element with its role, accessible name, text, value, state and bounds, plus the readable text. On current Wayfern builds it injects no script into the page. resolve_locator, click_locator and type_locator act on an element by role and name. extract_structured reads rows off the page with a container locator and field locators, and can follow a next-page link. pick_element waits for you to click an element and returns a locator for it. press_and_hold presses an element and keeps the button down for duration_ms (100 to 30,000 ms, 3,000 by default), with the small movements of a real hand, for press-and-hold checks. type_text and type_locator type with human timing and correct a few typos. When the keys do not reach a tab in the background, the text is typed again as key events, and the answer says so. Tools that open a URL accept only http, https and about:blank.

While a site shows a native dialog (alert, confirm, prompt or “leave this page?”), the page does nothing else, and every page tool fails at once with DIALOG_OPEN and the dialog’s text. get_dialog reads the dialog, and handle_dialog accepts or dismisses it.

select_option picks options of a <select> by value or visible label. file_upload puts files into a file input. The agent sends their content as text or content_base64, at most 10 files and 700 KB per call. Your desktop keeps the files in a private folder and deletes them when the browser stops. It never reads a file from your disk. file_upload works only for profiles that run on your computer.

Network traffic

The traffic toolset records the requests that the tabs of a running profile make. start_network_capture starts the record and stop_network_capture deletes it. list_network_requests lists the requests and filters them by URL, method, type, status, failure or body text. get_network_request shows one request with its headers, its request body and its response body when that is text.

  • The record stays in the memory of your desktop: at most 2,000 requests and 32 MB of response bodies. It ends when the browser stops.
  • The values of Cookie, Set-Cookie, Authorization and Proxy-Authorization headers read [redacted].
  • Nothing is recorded while you hold the profile or pause agents.
  • Capture works only for profiles that run on your computer.

select_option, file_upload and the traffic toolset need a version newer than 0.34.0, press_and_hold a version newer than 0.35.5, and get_dialog and handle_dialog a version newer than 0.36.0.

The person at the computer

Your desktop answers ask_human, request_human_help, wait_for_human, get_human_updates and report_progress. With them an agent asks you a question, asks for your help in a profile, waits for you, reads the notes you send and reports its progress. You answer on the Agent page of the desktop app. While you hold a profile or pause agents, tools answer PROFILE_HELD_BY_HUMAN or AGENT_PAUSED.

With send_feedback an agent tells the Donut team about a tool that failed or a capability it needed, optionally with the app’s recent logs (email addresses, IP addresses, web addresses and secrets are removed first). What it sent also shows on the Agent page.

Recipes

The Donut API answers list_recipes, get_recipe, save_recipe, delete_recipe, run_recipe, get_recipe_run and cancel_recipe_run. A recipe is a flow recorded once that an agent repeats on other profiles without model tokens. Steps can hold {{name}} placeholders that run_recipe fills from its variables. Recipes need Pro, Team or Enterprise; on Solo, tools/list does not list them and a call answers RECIPES_NOT_ENTITLED. See Agent page and recipes.

Tools that stay in the app

A remote caller must not read your disk or your stored secrets, so these tools answer TOOL_IS_LOCAL_ONLY over MCP:

  • add_extension and update_extension read a local file or folder.
  • detect_browser_profiles and import_browser_profiles read browser folders, with their cookies and passwords.
  • export_proxies returns proxy passwords.

Use the app or the REST API for them. list_proxies and get_proxy return [redacted] in place of proxy passwords, VLESS URIs, dynamic proxy list URLs and change-IP links.

Older versions

Earlier versions of the app ran an MCP server on your own computer, at http://127.0.0.1:51080/mcp/<token>. The app has no local MCP server now. Point the client at the remote endpoint with a dmk_ credential, or click Add next to the client on the Integrations → Remote MCP tab to rewrite its config.

See Pricing for what each plan includes.

Checked against the app on .