bwb-browser
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BWB_CDP_PORT | No | Remote debugging port (0 for random free port) | 0 |
| BWB_HEADLESS | No | Run headless (true/false) | true |
| BWB_CHROME_PATH | No | Path to Chrome/Chromium binary | auto-detected |
| BWB_NAV_TIMEOUT | No | Navigation timeout in ms | 30000 |
| BWB_USER_DATA_DIR | No | Browser profile directory | ~/.cache/bwb-browser |
| BWB_SCREENSHOTS_DIR | No | Screenshot save location | ~/bwb-screenshots/ |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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