perplexity-comet-mcp
v2.5.0Bridge Claude Code with Perplexity Comet for autonomous browsing and tab management
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
comet_connect
Connect to Comet browser (auto-starts if needed)
comet_ask
Send a prompt to Comet/Perplexity and wait for the complete response (blocking). Ideal for tasks requiring real browser interaction (login walls, dynamic content, filling forms) or deep research with agentic browsing.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Question or task for Comet - focus on goals and context |
newChat | boolean | Start a fresh conversation (default: false) |
timeout | number | Max wait time in ms (default: 15000 = 15s) |
comet_poll
Check agent status and progress. Call repeatedly to monitor agentic tasks.
comet_stop
Stop the current agent task if it's going off track
comet_screenshot
Capture a screenshot of current page
comet_tabs
View and manage browser tabs. Shows all open tabs with their purpose, domain, and status. Helps coordinate multi-tab workflows without creating duplicate tabs.
| Parameter | Type | Description |
|---|---|---|
action | string | Action to perform: 'list' (default) shows all tabs, 'switch' activates a tab, 'close' closes a tab |
domain | string | For switch/close: domain to match (e.g., 'github.com') |
tabId | string | For switch/close: specific tab ID |
comet_mode
Switch Perplexity search mode. Modes: 'search' (basic), 'research' (deep research), 'labs' (analytics/visualization), 'learn' (educational). Call without mode to see current mode.
| Parameter | Type | Description |
|---|---|---|
mode | string | Mode to switch to (optional - omit to see current mode) |
comet_upload
Upload a file to a file input on the current page. Use this to attach images, documents, or other files to forms, posts, or upload dialogs. The file must exist on the local filesystem.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path to the file to upload (e.g., '/home/user/image.png' or 'C:\Users\user\image.png') |
checkOnly | boolean | If true, only checks if file inputs exist on the page without uploading |
selector | string | Optional CSS selector for the file input element. If not provided, auto-detects the first file input on the page. |