perplexity-comet-mcp

v2.5.0
io.github.RapierCraft/perplexity-comet-mcp Checked 5 days ago Published 10 months ago

Bridge 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.

ParameterTypeDescription
prompt *stringQuestion or task for Comet - focus on goals and context
newChatbooleanStart a fresh conversation (default: false)
timeoutnumberMax 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.

ParameterTypeDescription
actionstringAction to perform: 'list' (default) shows all tabs, 'switch' activates a tab, 'close' closes a tab
domainstringFor switch/close: domain to match (e.g., 'github.com')
tabIdstringFor 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.

ParameterTypeDescription
modestringMode 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.

ParameterTypeDescription
filePath *stringAbsolute path to the file to upload (e.g., '/home/user/image.png' or 'C:\Users\user\image.png')
checkOnlybooleanIf true, only checks if file inputs exist on the page without uploading
selectorstringOptional CSS selector for the file input element. If not provided, auto-detects the first file input on the page.