Skip to main content
Glama
Hanny658

browser-mcp-demo

by Hanny658

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost to bind the HTTP server
PORTNoPort to bind the HTTP server
HEADLESSNoWhether to run browser headless
VIEW_MODENoView mode: info or novnc
UI_DIST_DIRNoPath to serve built UI from
MAX_SESSIONSNoMaximum number of concurrent sessions
OPENAI_MODELNoOpenAI model name
PROFILES_DIRNoDirectory to store browser profiles
XHS_BASE_URLNoBase URL for XHS
AUDIT_LOG_PATHNoPath for audit log file
DELETE_PROFILENoWhether to delete profile after session
OPENAI_API_KEYNoOpenAI API key for agent functionality
PUBLIC_BASE_URLNoPublic base URL for the server
NOVNC_URL_TEMPLATENoTemplate for noVNC URL, supports {sessionId}
SESSION_TTL_MINUTESNoTTL for browser sessions in minutes
AGENT_RUN_TTL_MINUTESNoTTL for agent runs in minutes

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

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/Hanny658/browser-mcp-demo'

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