Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMET_PATHNoCustom path to Comet executable (auto-detected if not set)
COMET_PORTNoCDP debugging port9223

Tools

Functions exposed to the LLM to take actions

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

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.

comet_mode

Switch Perplexity search mode. Modes: 'search' (basic), 'research' (deep research), 'labs' (analytics/visualization), 'learn' (educational). Call without mode 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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RapierCraft/Perplexity-Comet-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server