browser-mcp-demo
by Hanny658
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host to bind the HTTP server | |
| PORT | No | Port to bind the HTTP server | |
| HEADLESS | No | Whether to run browser headless | |
| VIEW_MODE | No | View mode: info or novnc | |
| UI_DIST_DIR | No | Path to serve built UI from | |
| MAX_SESSIONS | No | Maximum number of concurrent sessions | |
| OPENAI_MODEL | No | OpenAI model name | |
| PROFILES_DIR | No | Directory to store browser profiles | |
| XHS_BASE_URL | No | Base URL for XHS | |
| AUDIT_LOG_PATH | No | Path for audit log file | |
| DELETE_PROFILE | No | Whether to delete profile after session | |
| OPENAI_API_KEY | No | OpenAI API key for agent functionality | |
| PUBLIC_BASE_URL | No | Public base URL for the server | |
| NOVNC_URL_TEMPLATE | No | Template for noVNC URL, supports {sessionId} | |
| SESSION_TTL_MINUTES | No | TTL for browser sessions in minutes | |
| AGENT_RUN_TTL_MINUTES | No | TTL for agent runs in minutes |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_sessionC | Create a new browser session and return sessionId + viewUrl. |
| wait_for_loginC | Poll login status for a session (site-specific when provided). |
| platform_searchC | Search a site and return a list of notes. |
| xhs_open_and_extractC | Open a note and extract full detail (site-specific). |
| destroy_sessionC | Destroy a browser session. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/Hanny658/browser-mcp-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server