Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BWB_CDP_PORTNoRemote debugging port (0 for random free port)0
BWB_HEADLESSNoRun headless (true/false)true
BWB_CHROME_PATHNoPath to Chrome/Chromium binaryauto-detected
BWB_NAV_TIMEOUTNoNavigation timeout in ms30000
BWB_USER_DATA_DIRNoBrowser profile directory~/.cache/bwb-browser
BWB_SCREENSHOTS_DIRNoScreenshot save location~/bwb-screenshots/

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_gotoB

Navigate to a URL. Returns page title and URL.

browser_screenshotC

Take a screenshot of the current page.

browser_htmlB

Get HTML source of the page or a CSS selector.

browser_textB

Get visible text content of the page or a CSS selector.

browser_clickB

Click an element by CSS selector. Uses CDP Input.dispatchMouseEvent for native events.

browser_fillB

Clear and fill an input field with text using native CDP Input.insertText.

browser_elementsB

List interactive elements by kind: links, buttons, inputs, headings.

browser_titleA

Get current page title.

browser_urlA

Get current page URL.

browser_evalC

Execute JavaScript in the page context.

browser_statusA

Get browser and page status including connected tabs.

browser_watchA

GROUNDBREAKING: Live capture of page events (console, network, navigation, exceptions). Start recording, browse around, then poll to see everything that happened. First tool of its kind in any MCP browser server.

browser_waitForSelectorA

Wait for a CSS selector to appear (visible) or disappear from the DOM. Polls every 200ms until found or timeout.

browser_setViewportA

Change the viewport size (width × height). Useful for responsive testing or capturing full-page screenshots at specific dimensions.

browser_backA

Go back in browser history (like clicking the browser back button).

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/krshforever/bwb-browser'

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