brave-real-browser-mcp-server 2.14.11 → 2.14.13

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 (3) hide show
  1. package/README.md +43 -226
  2. package/dist/index.js +1 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -59,206 +59,47 @@ npx brave-real-browser-mcp-server@latest
59
59
  ### Installation
60
60
 
61
61
  ```bash
62
- # Install globally
63
- npm install -g brave-real-browser-mcp-server@latest
64
-
65
- # Or use with npx (no installation needed)
62
+ # Recommended: Use directly with npx (No install needed)
66
63
  npx brave-real-browser-mcp-server@latest
67
- ```
68
-
69
- ### For MCP IDEs (Claude, Cursor, Windsurf)
70
-
71
- **Add to your IDE config file:**
72
64
 
73
- ```json
74
- {
75
- "mcpServers": {
76
- "brave-real-browser": {
77
- "command": "npx",
78
- "args": ["-y", "brave-real-browser-mcp-server@latest"]
79
- }
80
- }
81
- }
65
+ # Alternative: Install globally
66
+ npm install -g brave-real-browser-mcp-server@latest
82
67
  ```
83
68
 
84
- **Config file locations:**
85
-
86
- - **Claude Desktop:** `%APPDATA%\Claude\claude_desktop_config.json` (Windows) or `~/Library/Application Support/Claude/claude_desktop_config.json` (Mac)
87
- - **Cursor:** `%APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings<tool_call>_mcp_settings.json`
88
- - **Windsurf:** `%APPDATA%\Windsurf\mcp.json`
89
-
90
- ### For Qoder AI
91
-
92
- **Qoder AI supports MCP servers through **STDIO** (Standard Input/Output).
93
-
94
- **Complete step-by-step guide:** [See Qoder AI Integration Guide](#-qoder-ai---complete-integration-guide)
95
-
96
- **Quick setup (STDIO):**
97
- 1. Add to config: `{"command": "npx", "args": ["-y", "brave-real-browser-mcp-server@latest"]}`
98
- 2. Restart Qoder AI
99
- 3. Use 108 browser automation tools!
100
-
101
69
  ---
102
70
 
103
- ## 🤖 Qoder AI - Complete Integration Guide
104
-
105
- **Qoder AI** supports MCP servers through **STDIO** (Standard Input/Output).
106
-
107
- [Official Documentation](https://docs.qoder.com/user-guide/chat/model-context-protocol)
108
-
109
- ---
110
-
111
- ### 🟢 Method 1: STDIO Transport (Recommended for Local)
112
-
113
- **STDIO** uses stdin/stdout streams for communication. Perfect for local MCP servers.
114
-
115
- #### Step 1: Find Qoder AI MCP Config File
116
-
117
- **Config file locations:**
118
-
119
- ```bash
120
- # Windows
121
- %APPDATA%\Qoder\mcp_settings.json
122
-
123
- # Mac
124
- ~/Library/Application Support/Qoder/mcp_settings.json
125
-
126
- # Linux
127
- ~/.config/Qoder/mcp_settings.json
128
- ```
71
+ ## 🎨 IDE Configurations
129
72
 
130
- #### Step 2: Add STDIO Configuration
73
+ ### 1. Claude Desktop
74
+ **File:** `%APPDATA%\Claude\claude_desktop_config.json` (Windows) or `~/Library/Application Support/Claude/claude_desktop_config.json` (Mac)
131
75
 
132
- **Windows Configuration:**
133
76
  ```json
134
77
  {
135
78
  "mcpServers": {
136
79
  "brave-real-browser": {
137
80
  "command": "npx",
138
- "args": ["-y", "brave-real-browser-mcp-server@latest"],
139
- "env": {
140
- "BRAVE_PATH": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
141
- }
81
+ "args": ["-y", "brave-real-browser-mcp-server@latest"]
142
82
  }
143
83
  }
144
84
  }
145
85
  ```
146
86
 
147
- **Mac Configuration:**
148
- ```json
149
- {
150
- "mcpServers": {
151
- "brave-real-browser": {
152
- "command": "npx",
153
- "args": ["-y", "brave-real-browser-mcp-server@latest"],
154
- "env": {
155
- "BRAVE_PATH": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser"
156
- }
157
- }
158
- }
159
- }
160
- ```
87
+ ### 2. Cursor AI
88
+ **File:** `%APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\mcp_settings.json`
161
89
 
162
- **Linux Configuration:**
163
90
  ```json
164
91
  {
165
92
  "mcpServers": {
166
93
  "brave-real-browser": {
167
94
  "command": "npx",
168
- "args": ["-y", "brave-real-browser-mcp-server@latest"],
169
- "env": {
170
- "BRAVE_PATH": "/usr/bin/brave-browser"
171
- }
172
- }
173
- }
174
- }
175
- ```
176
-
177
- #### Step 3: Restart Qoder AI
178
-
179
- Close and reopen Qoder AI completely.
180
-
181
- #### Step 4: Verify Integration
182
-
183
- In Qoder AI, test:
184
-
185
- ```
186
- "List all available MCP tools"
187
- → Expected: 108 tools from Brave Real Browser
188
-
189
- "Use browser_init to start the browser"
190
- → Expected: Browser opens
191
-
192
- "Navigate to https://example.com and get content"
193
- → Expected: Page content extracted
194
- ```
195
-
196
- ---
197
-
198
- ### ⚡ Quick Troubleshooting for Qoder AI
199
-
200
- **Problem 1: "MCP Server timeout" or "Connection failed"**
201
-
202
- **Solution:**
203
- ```bash
204
- # Install globally for faster startup
205
- npm install -g brave-real-browser-mcp-server@latest
206
- ```
207
-
208
- Then update config to:
209
- ```json
210
- {
211
- "mcpServers": {
212
- "brave-real-browser": {
213
- "command": "brave-real-browser-mcp-server",
214
- "args": []
95
+ "args": ["-y", "brave-real-browser-mcp-server@latest"]
215
96
  }
216
97
  }
217
98
  }
218
99
  ```
219
100
 
220
- **Problem 2: "Tools not showing in Qoder AI"**
221
-
222
- **Solution:**
223
- 1. Check config file path is correct
224
- 2. Verify JSON format is valid
225
- 3. Restart Qoder AI completely
226
- 4. Check Qoder AI logs for errors
227
-
228
- **Problem 3: "Browser not opening"**
229
-
230
- **Solution:**
231
- ```bash
232
- # Set Brave path explicitly in config
233
- "env": {
234
- "BRAVE_PATH": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
235
- }
236
- ```
237
-
238
- ---
239
-
240
- ### 📊 Available Tools in Qoder AI
241
-
242
- All **108 tools** are available:
243
-
244
- ✅ **Browser Management:** `browser_init`, `browser_close`
245
- ✅ **Navigation:** `navigate`, `wait`, `click`, `type`
246
- ✅ **Content Extraction:** `get_content`, `scrape_table`, `extract_json`, `scrape_meta_tags`
247
- ✅ **Media Tools:** `video_link_finder`, `image_scraper`, `media_extractor`
248
- ✅ **CAPTCHA Solving:** `solve_captcha`, `ocr_engine`
249
- ✅ **Data Processing:** `price_parser`, `date_normalizer`, `contact_extractor`
250
- ✅ **Visual Tools:** `full_page_screenshot`, `pdf_generation`
251
- ✅ **And 87+ more tools!**
252
-
253
- ---
254
-
255
- ## 🎨 IDE Configurations
256
-
257
- ### Claude Desktop
258
-
259
- **Step 2: Add Configuration**
260
-
261
- Copy and paste this configuration:
101
+ ### 3. Windsurf
102
+ **File:** `%APPDATA%\Windsurf\mcp.json` (Windows) or `~/.windsurf/mcp.json` (Mac)
262
103
 
263
104
  ```json
264
105
  {
@@ -271,33 +112,24 @@ Copy and paste this configuration:
271
112
  }
272
113
  ```
273
114
 
274
- **Advanced Configuration (Optional):**
115
+ ### 4. Antigravity IDE
116
+ **Auto-Detection:** Automatically detects installed MCP servers.
117
+ **Manual Config:** Add to project config if needed:
275
118
 
276
119
  ```json
277
120
  {
278
121
  "mcpServers": {
279
122
  "brave-real-browser": {
280
123
  "command": "npx",
281
- "args": ["-y", "brave-real-browser-mcp-server@latest"],
282
- "env": {
283
- "BRAVE_PATH": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe",
284
- "HEADLESS": "false"
285
- }
124
+ "args": ["-y", "brave-real-browser-mcp-server@latest"]
286
125
  }
287
126
  }
288
127
  }
289
128
  ```
290
129
 
291
- **Configuration Locations:**
292
- - Windows: `%APPDATA%\Claude\claude_desktop_config.json`
293
- - Mac: `~/Library/Application Support/Claude/claude_desktop_config.json`
294
- - Linux: `~/.config/Claude/claude_desktop_config.json`
130
+ ### 5. Warp AI
131
+ **File:** `~/.warp/mcp_config.json`
295
132
 
296
- ### Cursor AI
297
-
298
- **Step 3: Add Configuration**
299
-
300
- **Basic Configuration:**
301
133
  ```json
302
134
  {
303
135
  "mcpServers": {
@@ -309,45 +141,22 @@ Copy and paste this configuration:
309
141
  }
310
142
  ```
311
143
 
312
- **Advanced Configuration (with Brave path):**
313
- ```json
314
- {
315
- "mcpServers": {
316
- "brave-real-browser": {
317
- "command": "npx",
318
- "args": ["-y", "brave-real-browser-mcp-server@latest"],
319
- "env": {
320
- "BRAVE_PATH": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe",
321
- "HEADLESS": "false"
322
- }
323
- }
324
- }
325
- }
326
- ```
144
+ ### 6. Zed AI
145
+ **File:** `.zed/settings.json`
327
146
 
328
- **For Mac:**
329
147
  ```json
330
148
  {
331
- "mcpServers": {
149
+ "mcp_servers": {
332
150
  "brave-real-browser": {
333
151
  "command": "npx",
334
- "args": ["-y", "brave-real-browser-mcp-server@latest"],
335
- "env": {
336
- "BRAVE_PATH": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser"
337
- }
152
+ "args": ["-y", "brave-real-browser-mcp-server@latest"]
338
153
  }
339
154
  }
340
155
  }
341
156
  ```
342
157
 
343
- ### Windsurf
344
-
345
- **File:** `mcp.json`
346
-
347
- **Location:**
348
-
349
- - Windows: `%APPDATA%\Windsurf\mcp.json`
350
- - Mac: `~/.windsurf/mcp.json`
158
+ ### 7. Cline (VSCode Extension)
159
+ **File:** `cline_mcp_settings.json`
351
160
 
352
161
  ```json
353
162
  {
@@ -360,26 +169,26 @@ Copy and paste this configuration:
360
169
  }
361
170
  ```
362
171
 
363
- ### Cline (VSCode Extension)
364
-
365
- **File:** `cline_mcp_settings.json`
366
-
367
- **Location:**
368
-
369
- - Windows: `%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings<tool_call>_mcp_settings.json`
370
- - Mac: `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
172
+ ### 8. Qoder AI
173
+ **File:** `%APPDATA%\Qoder\mcp_settings.json` (Windows) or `~/.config/Qoder/mcp_settings.json` (Linux)
174
+ **Note:** Qoder AI uses STDIO.
371
175
 
372
176
  ```json
373
177
  {
374
178
  "mcpServers": {
375
179
  "brave-real-browser": {
376
180
  "command": "npx",
377
- "args": ["-y", "brave-real-browser-mcp-server@latest"]
181
+ "args": ["-y", "brave-real-browser-mcp-server@latest"],
182
+ "env": {
183
+ "BRAVE_PATH": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
184
+ }
378
185
  }
379
186
  }
380
187
  }
381
188
  ```
382
189
 
190
+ ---
191
+
383
192
  ## 🛠️ Available Tools (108)
384
193
 
385
194
  ### 🌐 Browser Management (2 tools)
@@ -560,7 +369,6 @@ Copy and paste this configuration:
560
369
  | Tool | Description |
561
370
  | ----------------------- | ------------------------- |
562
371
  | `progress_tracker` | Track automation progress |
563
-
564
372
  | `success_rate_reporter` | Report success rates |
565
373
  | `data_quality_metrics` | Data quality metrics |
566
374
  | `performance_monitor` | Monitor performance |
@@ -578,15 +386,24 @@ Copy and paste this configuration:
578
386
 
579
387
  ## 🔧 Environment Variables
580
388
 
389
+ ## 🔧 Environment Variables
390
+
391
+ You can configure the server using the local `.env` file directly.
392
+
393
+ Edit `.env` to set your preferences:
394
+
581
395
  ```bash
582
396
  # Optional: Specify Brave browser path
583
397
  BRAVE_PATH="C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe"
584
398
 
585
- # Optional: Run in headless mode
399
+ # Optional: Run in headless mode (default: false)
586
400
  HEADLESS=true
587
401
 
588
402
  # Optional: Disable content priority
589
403
  DISABLE_CONTENT_PRIORITY=true
404
+
405
+ # Optional: Proxy URL
406
+ PROXY_URL=http://localhost:8080
590
407
  ```
591
408
 
592
409
  ## 📊 Supported Protocols
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  // Debug logging setup - Log process start
3
+ import 'dotenv/config';
3
4
  console.error(`🔍 [DEBUG] Process starting - PID: ${process.pid}, Node: ${process.version}, Platform: ${process.platform}`);
4
5
  console.error(`🔍 [DEBUG] Working directory: ${process.cwd()}`);
5
6
  console.error(`🔍 [DEBUG] Command args: ${process.argv.join(" ")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brave-real-browser-mcp-server",
3
- "version": "2.14.11",
3
+ "version": "2.14.13",
4
4
  "description": "Universal AI IDE MCP Server - Auto-detects and supports all AI IDEs (Claude Desktop, Cursor, Windsurf, Cline, Zed, VSCode, Qoder AI, etc.) with Brave browser automation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",