bwb-browser-termux
bwb-browser-termux
Browser Without Bloat — a lightweight browser automation MCP server using raw Chrome DevTools Protocol (CDP).
No Playwright. No Puppeteer. Just CDP.
Works on Termux/Android, Linux, macOS, and Windows.
Why bwb?
Feature | bwb | Playwright MCP | Puppeteer MCP |
Dependencies | 3 packages | 50+ packages | 30+ packages |
Install size | ~2MB | ~500MB+ | ~300MB+ |
Works on Termux | ✅ | ❌ | ❌ |
Works in CI | ✅ | ⚠️ Needs browser download | ⚠️ Needs browser download |
Uses existing Chrome | ✅ | ❌ Downloads its own | ❌ Downloads its own |
Installation
npm install -g bwb-browser-termuxOr run directly:
npx bwb-browser-termuxPrerequisites
You need Chrome or Chromium installed. bwb will auto-detect it.
Termux/Android:
pkg install chromiumLinux (Debian/Ubuntu):
sudo apt install chromium-browser
# or
sudo apt install google-chromemacOS:
brew install --cask google-chromeWindows: Download and install Google Chrome normally.
Usage
With Claude Desktop / OpenCode / any MCP client
Add to your MCP client config:
{
"mcpServers": {
"bwb": {
"command": "npx",
"args": ["bwb-browser-termux"]
}
}
}For Termux, you may need the full path:
{
"mcpServers": {
"bwb": {
"command": "node",
"args": ["/path/to/bwb-browser-termux/server.js"]
}
}
}Command line
# Start the MCP server (stdio)
bwb
# With custom browser path
bwb --browser-path /usr/bin/chromium
# Custom CDP port
bwb --port 9333
# Visible browser (not headless)
bwb --headless false
# See all options
bwb --helpConfiguration
CLI flag | Env var | Default | Description |
|
| auto-detected | Path to Chrome/Chromium binary |
|
|
| Remote debugging port |
|
|
| Browser profile directory |
|
|
| Run headless ( |
Tools (11)
Tool | Description |
| Navigate to a URL |
| Take a screenshot |
| Get page/selector HTML |
| Get page/selector text |
| Click an element by CSS selector |
| Fill an input field |
| List interactive elements (links, buttons, inputs, headings) |
| Get current page title |
| Get current URL |
| Execute JavaScript in page context |
| Browser connection status |
License
MIT © krsh