brave-real-browser-mcp-server 2.9.21 → 2.11.0
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.
- package/dist/handlers/advanced-extraction-handlers.js +483 -0
- package/dist/handlers/advanced-video-media-handlers.js +150 -43
- package/dist/handlers/api-integration-handlers.js +2 -1
- package/dist/handlers/captcha-handlers.js +2 -1
- package/dist/handlers/dynamic-session-handlers.js +41 -9
- package/dist/handlers/pagination-handlers.js +5 -5
- package/dist/handlers/smart-data-extractors.js +4 -4
- package/dist/handlers/visual-tools-handlers.js +2 -1
- package/dist/index.js +231 -106
- package/dist/mcp-response-validator.js +145 -0
- package/dist/tool-definitions.js +50 -0
- package/package.json +1 -1
package/dist/tool-definitions.js
CHANGED
|
@@ -1420,6 +1420,56 @@ export const TOOLS = [
|
|
|
1420
1420
|
properties: {},
|
|
1421
1421
|
},
|
|
1422
1422
|
},
|
|
1423
|
+
// Advanced Extraction Tools (Ad-Bypass & Obfuscation)
|
|
1424
|
+
{
|
|
1425
|
+
name: 'advanced_video_extraction',
|
|
1426
|
+
description: 'Advanced video source extractor with ad-protection bypass and comprehensive network monitoring. Extracts direct video URLs, HLS/DASH streams, iframe sources, detects obfuscated content, and identifies video hosting platforms.',
|
|
1427
|
+
inputSchema: {
|
|
1428
|
+
type: 'object',
|
|
1429
|
+
properties: {
|
|
1430
|
+
waitTime: {
|
|
1431
|
+
type: 'number',
|
|
1432
|
+
default: 10000,
|
|
1433
|
+
description: 'Time to wait (in ms) for dynamic content and video sources to load'
|
|
1434
|
+
},
|
|
1435
|
+
},
|
|
1436
|
+
},
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
name: 'deobfuscate_js',
|
|
1440
|
+
description: 'Deobfuscate JavaScript code and extract hidden URLs, domains, and base64-encoded content. Detects eval, atob, hex encoding, and identifier obfuscation.',
|
|
1441
|
+
inputSchema: {
|
|
1442
|
+
type: 'object',
|
|
1443
|
+
properties: {},
|
|
1444
|
+
},
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
name: 'multi_layer_redirect_trace',
|
|
1448
|
+
description: 'Follow multiple layers of redirects (URL redirects and iframe chains) to find final video source. Traces up to specified depth.',
|
|
1449
|
+
inputSchema: {
|
|
1450
|
+
type: 'object',
|
|
1451
|
+
required: ['url'],
|
|
1452
|
+
properties: {
|
|
1453
|
+
url: {
|
|
1454
|
+
type: 'string',
|
|
1455
|
+
description: 'Starting URL to trace redirects from'
|
|
1456
|
+
},
|
|
1457
|
+
maxDepth: {
|
|
1458
|
+
type: 'number',
|
|
1459
|
+
default: 5,
|
|
1460
|
+
description: 'Maximum redirect depth to follow'
|
|
1461
|
+
},
|
|
1462
|
+
},
|
|
1463
|
+
},
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
name: 'ad_protection_detector',
|
|
1467
|
+
description: 'Detect ad-protection mechanisms including ad-block detection, anti-debugger code, popup layers, and hidden elements.',
|
|
1468
|
+
inputSchema: {
|
|
1469
|
+
type: 'object',
|
|
1470
|
+
properties: {},
|
|
1471
|
+
},
|
|
1472
|
+
},
|
|
1423
1473
|
];
|
|
1424
1474
|
// Tool name constants for type safety
|
|
1425
1475
|
export const TOOL_NAMES = {
|