MCP tools & local HTTP API
Understand profile leases, browser sessions, page snapshots, and the optional authenticated loopback API.
The required sequence
check_connection→list_profilesopen_profilewith the exactprofile_id; retain the returnedbrowser_session_id.browser_pagesto select the exactpage_id.browser_snapshotto get fresh element references and asnapshot_id.- Use matching session, page, snapshot, and element references for actions. Take a new snapshot after page changes.
release_browserwhen finished. Useclose_profileonly when asked to close the profile.
A profile has one exclusive controlling client at a time. IDs are opaque and cannot be reused after a browser restart. Choose visible mode when a person needs to sign in or inspect the work; headless is for compatible background tasks.
Tool groups
Profiles & pages
check_connectionlist_profilesopen_profileclose_profilerelease_browserbrowser_pagesbrowser_new_pagebrowser_close_pagebrowser_activate_page
Navigation & interaction
browser_navigatebrowser_backbrowser_forwardbrowser_reloadbrowser_snapshotbrowser_clickbrowser_click_coordinatesbrowser_typebrowser_pressbrowser_hoverbrowser_selectbrowser_scrollbrowser_dragbrowser_waitbrowser_handle_next_dialog
Data & files
browser_screenshotbrowser_upload_filesbrowser_get_cookiesbrowser_set_cookiesbrowser_clear_cookiesbrowser_storage_getbrowser_storage_setbrowser_storage_clearbrowser_grant_permissionsbrowser_prepare_downloadbrowser_wait_downloadbrowser_evaluate
These are tool names, not complete request schemas. The connected MCP server advertises current parameter names and required fields to the AI client; use that schema instead of guessing arguments. Cookie, storage, upload, and JavaScript tools can access sensitive data.
Optional local HTTP API
Enable Local API only if a local integration needs HTTP. Copy the current loopback endpoint and access token from AI Assistant (API & MCP in earlier builds); the port is assigned dynamically. MCP remains available with HTTP disabled.
GET http://127.0.0.1:<port>/v1/status Authorization: Bearer <access-token> X-IFox9-Client-ID: my-integration
The token is required. The optional client ID is recommended and must be 1–64 ASCII letters, digits, underscores, or hyphens. Examples use placeholders only. Never publish your real token.
GET /v1/profiles lists profiles; POST /v1/profiles/open opens one. Successful responses use {"ok":true,"data":…}; failures use {"ok":false,"error":{"code":…,"message":…}}. See common error codes.
Keep the API local
The HTTP listener binds to 127.0.0.1, validates Host headers, and does not enable browser CORS. Do not expose it through a public reverse proxy or publish its discovery files. Token rotation invalidates old credentials; update your local integration afterwards.