brave-real-browser-mcp-server 2.29.0 โ†’ 2.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +127 -20
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -107,6 +107,115 @@ npm run dev
107
107
 
108
108
  ---
109
109
 
110
+ ## ๐Ÿ†• New in v2.28.1 - Advanced Enhancements
111
+
112
+ ### ๐ŸŒ Advanced Navigation
113
+ | Option | Description |
114
+ |--------|-------------|
115
+ | `blockResources` | Block images, fonts, CSS for faster loading |
116
+ | `customHeaders` | Set custom HTTP headers |
117
+ | `referrer` | Custom referrer URL |
118
+ | `waitForSelector` | Wait for specific element after load |
119
+ | `waitForContent` | Wait for specific text content |
120
+ | `scrollToBottom` | Auto-scroll for lazy loading |
121
+ | `randomDelay` | Human-like delay (100-500ms) |
122
+ | `bypassCSP` | Bypass Content Security Policy |
123
+
124
+ **Example:**
125
+ ```json
126
+ {
127
+ "url": "https://example.com",
128
+ "blockResources": ["image", "font"],
129
+ "waitForSelector": ".main-content",
130
+ "scrollToBottom": true,
131
+ "randomDelay": true
132
+ }
133
+ ```
134
+
135
+ ### ๐Ÿš€ Parallel Scraping (js_scrape)
136
+ | Option | Description |
137
+ |--------|-------------|
138
+ | `urls` | Array of multiple URLs to scrape |
139
+ | `concurrency` | Max concurrent scrapes (1-10) |
140
+ | `continueOnError` | Continue even if some URLs fail |
141
+ | `delayBetween` | Delay between scrapes (ms) |
142
+
143
+ **Example:**
144
+ ```json
145
+ {
146
+ "urls": ["https://site1.com", "https://site2.com", "https://site3.com"],
147
+ "concurrency": 3,
148
+ "extractSelector": "article"
149
+ }
150
+ ```
151
+
152
+ ### ๐Ÿ“„ Auto-Pagination (link_harvester)
153
+ | Option | Description |
154
+ |--------|-------------|
155
+ | `followPagination` | Auto-follow pagination links |
156
+ | `maxPages` | Maximum pages to scrape (1-20) |
157
+ | `paginationSelector` | Custom next page selector |
158
+ | `delayBetweenPages` | Delay between pages (ms) |
159
+
160
+ **Example:**
161
+ ```json
162
+ {
163
+ "followPagination": true,
164
+ "maxPages": 10,
165
+ "filter": "movie"
166
+ }
167
+ ```
168
+
169
+ ### ๐Ÿ”Œ API Interceptor (network_recorder)
170
+ | Option | Description |
171
+ |--------|-------------|
172
+ | `interceptMode` | `record`, `intercept`, or `mock` |
173
+ | `blockPatterns` | URL patterns to block |
174
+ | `mockResponses` | Fake responses for URLs |
175
+ | `modifyHeaders` | Modify request headers |
176
+ | `capturePayloads` | Capture POST/PUT bodies |
177
+
178
+ **Example:**
179
+ ```json
180
+ {
181
+ "interceptMode": "intercept",
182
+ "blockPatterns": ["ads", "tracking"],
183
+ "capturePayloads": true
184
+ }
185
+ ```
186
+
187
+ ### ๐Ÿ›ก๏ธ Anti-Detection Enhancements
188
+
189
+ | Feature | Description |
190
+ |---------|-------------|
191
+ | **Fingerprint Randomizer** | Canvas, Audio, Hardware randomization |
192
+ | **Human Behavior Simulation** | Natural mouse/scroll patterns |
193
+ | **WebGL Spoofing** | Random GPU from 8 configs (Intel, NVIDIA, AMD) |
194
+ | **Proxy Rotation** | round-robin, random, least-used, on-error strategies |
195
+ | **Rate Limiter** | Per-second/minute limits, domain-specific |
196
+ | **Error Auto-Recovery** | Smart retry with different strategies |
197
+
198
+ ### ๐Ÿ”„ Internal Systems
199
+
200
+ ```javascript
201
+ // Rate Limiter
202
+ initRateLimiter({ requestsPerSecond: 5, requestsPerMinute: 100 });
203
+ setDomainRateLimit('api.example.com', 2); // 2 req/sec for this domain
204
+
205
+ // Proxy Rotation
206
+ initProxyRotation(['proxy1:8080', 'proxy2:8080'], 'round-robin');
207
+ rotateProxy('error'); // Rotate on error
208
+
209
+ // Error Recovery
210
+ executeWithRecovery(operation, {
211
+ toolName: 'navigate',
212
+ page: pageInstance,
213
+ restartBrowser: () => browser.restart()
214
+ });
215
+ ```
216
+
217
+ ---
218
+
110
219
  ## ๐ŸŒ Unified MCP+LSP+SSE Ecosystem
111
220
 
112
221
  **เคเค• command เคธเฅ‡ เคธเคฌ active:**
@@ -117,7 +226,7 @@ npm run dev
117
226
 
118
227
  ### Output:
119
228
  ```
120
- ๐Ÿฆ Brave Real Browser - Unified Server v2.22.0
229
+ ๐Ÿฆ Brave Real Browser - Unified Server v2.28.1
121
230
  โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
122
231
  ๐Ÿ“ก HTTP Server: http://localhost:3000
123
232
 
@@ -185,14 +294,14 @@ brave-real-launcher
185
294
  ### Navigation
186
295
  | Tool | Description |
187
296
  |------|-------------|
188
- | `navigate` | Navigate to URL |
297
+ | `navigate` | Navigate to URL with advanced options (resource blocking, custom headers, auto-scroll) |
189
298
  | `wait` | Wait for conditions |
190
299
 
191
300
  ### Content
192
301
  | Tool | Description |
193
302
  |------|-------------|
194
303
  | `get_content` | Get page HTML/text |
195
- | `find_element` | Find by selector/text/AI |
304
+ | `find_element` | Find by selector/text/AI with batch mode |
196
305
  | `save_content_as_markdown` | Save as markdown file |
197
306
 
198
307
  ### Interaction
@@ -204,34 +313,32 @@ brave-real-launcher
204
313
  | `random_scroll` | Natural scrolling |
205
314
  | `solve_captcha` | Solve CAPTCHAs |
206
315
 
207
- ### Media Extraction
316
+ ### Media & Streaming
317
+ | Tool | Description |
318
+ |------|-------------|
319
+ | `stream_extractor` | Extract streams with multi-quality selector, VidSrc/Filemoon/StreamWish support |
320
+ | `player_api_hook` | Hook into JWPlayer, Video.js, HLS.js, Plyr, Vidstack, DASH.js |
321
+ | `iframe_handler` | Deep iframe scraping with video source extraction |
322
+
323
+ ### Scraping
208
324
  | Tool | Description |
209
325
  |------|-------------|
210
- | `media_extractor` | Extract video/audio |
211
- | `m3u8_parser` | Parse HLS streams |
212
- | `stream_extractor` | Direct download URLs |
326
+ | `js_scrape` | JavaScript-rendered scraping with parallel URL support |
327
+ | `link_harvester` | Harvest links with auto-pagination |
328
+ | `network_recorder` | Record traffic with API interception |
329
+ | `extract_json` | Extract embedded JSON with AES decryption |
330
+ | `search_regex` | Regex search like regex101.com |
213
331
 
214
332
  ### Advanced
215
333
  | Tool | Description |
216
334
  |------|-------------|
217
- | `search_content` | Search patterns |
218
- | `extract_json` | Extract embedded JSON |
219
335
  | `scrape_meta_tags` | Meta/OG tags |
220
- | `deep_analysis` | Full page analysis |
221
- | `network_recorder` | Record traffic |
222
- | `api_finder` | Discover APIs |
223
- | `ajax_content_waiter` | Wait for AJAX |
224
- | `link_harvester` | Harvest links |
225
- | `batch_element_scraper` | Batch scrape |
226
- | `extract_schema` | Schema.org data |
227
- | `element_screenshot` | Screenshot element |
228
- | `breadcrumb_navigator` | Navigate breadcrumbs |
336
+ | `deep_analysis` | Full page analysis with screenshot |
229
337
  | `redirect_tracer` | Trace redirects |
230
338
  | `progress_tracker` | Track progress |
231
339
  | `cookie_manager` | Manage cookies |
232
340
  | `file_downloader` | Download files |
233
- | `iframe_handler` | Handle iframes |
234
- | `popup_handler` | Handle popups |
341
+ | `execute_js` | Run custom JavaScript |
235
342
 
236
343
  ---
237
344
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brave-real-browser-mcp-server",
3
- "version": "2.29.0",
3
+ "version": "2.29.1",
4
4
  "description": "๐Ÿฆ MCP server for Brave Real Browser - NPM Workspaces Monorepo with anti-detection features, SSE streaming, and LSP compatibility",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@modelcontextprotocol/sdk": "latest",
52
52
  "@types/turndown": "latest",
53
- "brave-real-browser": "^2.9.0",
53
+ "brave-real-browser": "^2.9.1",
54
54
  "puppeteer-core": "^24.35.0",
55
55
  "turndown": "latest",
56
56
  "vscode-languageserver": "^9.0.1",