Perplexity Browser MCP

v1.4.0
io.github.xs1128/perplexity-browser-mcp Checked 4 days ago Published 1 month ago

Search Perplexity using your browser login.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ask_start

Start a browser task planned through Perplexity Ask with manual copy/paste. Returns a prompt to show the user; wait for their actual Ask reply before executing any action.

ParameterTypeDescription
goal *string
demoboolean
urlstring

ask_prompt

Read or refresh the current Perplexity Ask prompt and handoffId. No model is called and no browser action is executed.

ask_reply

Execute one user-pasted Perplexity Ask JSON response for the current handoffId. Supports JSON fences and multiline JSON. Returns the updated snapshot and next prompt. Never fabricate the response; wait for the user to paste it.

ParameterTypeDescription
handoffId *string
response *string

web_connect

Open Perplexity Ask in a dedicated window. The user signs in directly in the browser. Arc and Safari reuse the browser account; Chromium uses a separate persistent profile. Returns connection status without reading account history.

web_status

Check whether the dedicated Perplexity Ask window is signed in and ready. Does not submit a prompt or return account history.

web_start

Open a target page with a goal for automatic Perplexity Ask website planning. Call web_connect and complete sign-in first. Call web_step to send a prompt and execute one actual website reply.

ParameterTypeDescription
goal *string
demoboolean
urlstring

web_step

Send the current target snapshot and goal to the real Perplexity Ask website, wait for its complete validated JSON reply, execute one action, and return the updated target snapshot. Stops without executing if the reply is invalid, times out, or the target snapshot changed. May take up to 90 seconds.

web_close

Close both owned browser windows and reset workflows. Website login persists in the dedicated profile or existing native browser account. Does not close unrelated windows.

browser_start

Start a local task browser using the selected Chromium, Arc, or Safari adapter. Choose url or demo=true. Native browsers control a dedicated tab and uses a DOM role/name snapshot. Close before starting another session.

ParameterTypeDescription
demoboolean
urlstring

browser_snapshot

Read the current page snapshot (up to 8000 characters), tabs, steps, and recent results. Arc and Safari use DOM role/name mapping; Chromium uses its accessibility tree. Call browser_start first.

browser_action

Execute one local browser action and return the updated snapshot. Match accessible roles/names from the snapshot. Actions count toward the session step limit. done records the planner outcome; it does not independently verify success.

ParameterTypeDescription
command *

browser_screenshot

Return a PNG image of the current viewport in Chromium mode. Arc and Safari native scripting do not support screenshots. Use only when text snapshots are insufficient; no file is written.

browser_close

Close the owned task browser and reset its step limit. Chromium discards task cookies; Arc and Safari keep your normal account login. The separate Perplexity Ask window remains until web_close.