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/ |
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
| 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_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
| 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