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/

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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_screenshotB

Take a screenshot of the current page. Pass a CSS selector to capture just that element.

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_titleA

Get current page title.

browser_urlA

Get current page URL.

browser_backA

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

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_evalC

Execute JavaScript in the page context.

browser_setViewportA

Change the viewport size (width × height). Useful for responsive testing.

browser_actA

GROUNDBREAKING: Natural language page interaction. One tool call does what normally takes 5-10. Examples: 'search for laptops under $1000', 'click the login button', 'go to google.com', 'fill email with test@test.com', 'extract the prices', 'scroll down'. Uses rule-based DOM heuristics — no LLM dependency.

browser_watchA

GROUNDBREAKING: Live capture of page events (console, network, navigation, exceptions). Start recording, browse around, then poll to see everything that happened.

browser_diagnoseA

Full page health diagnostic. Returns performance metrics, console errors, broken images, meta tags, and a health score. Like Lighthouse for your agent.

browser_fingerprintA

Apply a realistic browser fingerprint to reduce false-positive automation detection in CI/testing. Normalizes navigator.webdriver, plugins, languages, chrome.runtime, and user-agent for more realistic test conditions.

browser_waitForSelectorA

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

browser_newTabA

Create a new browser tab, optionally navigate to a URL. Automatically switches to the new tab.

browser_closeTabA

Close a browser tab by targetId. If no targetId provided, closes the active tab. Cannot close the last remaining tab — use browser_restart instead.

browser_switchTabA

Switch to a different browser tab by targetId.

browser_listTabsA

List all open browser tabs with their IDs, titles, URLs, and active status.

browser_saveCookiesA

Save the current browser session (cookies) to disk. 'Login once, agent works for days.' Sessions persist across agent and server restarts.

browser_loadCookiesA

Load a saved browser session (cookies) from disk. Navigate to the target domain after loading for the cookies to take effect.

browser_listSessionsA

List all saved browser sessions with cookie counts and save dates.

browser_statusA

Get browser and page status including opened tabs and connection info.

browser_restartA

Cleanly restart the browser process. Useful for freeing memory, clearing state, or recovering from issues during long-running sessions.

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