crawlforge-mcp-server 3.0.8 → 3.0.9
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/CLAUDE.md +2 -10
- package/package.json +1 -2
- package/src/tools/search/searchWeb.js +1 -1
package/CLAUDE.md
CHANGED
|
@@ -418,21 +418,13 @@ export class ToolName {
|
|
|
418
418
|
|
|
419
419
|
### Search Provider Architecture
|
|
420
420
|
|
|
421
|
-
|
|
421
|
+
All search requests are proxied through the CrawlForge.dev API:
|
|
422
422
|
|
|
423
|
-
**Production (users with CrawlForge API key):**
|
|
424
423
|
- `crawlforgeSearch.js` - Proxies through CrawlForge.dev API (Google Search backend)
|
|
425
424
|
- No Google API credentials needed from users
|
|
425
|
+
- Users only need their CrawlForge API key
|
|
426
426
|
- Credit cost: 2 credits per search
|
|
427
427
|
|
|
428
|
-
**Creator Mode (development with Google API credentials):**
|
|
429
|
-
- `googleSearch.js` - Direct Google Custom Search API
|
|
430
|
-
- Requires: `GOOGLE_API_KEY` and `GOOGLE_SEARCH_ENGINE_ID` environment variables
|
|
431
|
-
- Console shows: "🔍 Creator Mode: Using Google Search API directly"
|
|
432
|
-
- Get credentials at:
|
|
433
|
-
- API Key: https://console.cloud.google.com/apis/credentials
|
|
434
|
-
- Search Engine ID: https://programmablesearchengine.google.com/
|
|
435
|
-
|
|
436
428
|
Factory in `src/tools/search/adapters/searchProviderFactory.js`
|
|
437
429
|
|
|
438
430
|
### Browser Management
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crawlforge-mcp-server",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "CrawlForge MCP Server - Professional Model Context Protocol server with 19 comprehensive web scraping, crawling, and content processing tools.",
|
|
5
5
|
"main": "server.js",
|
|
6
6
|
"bin": {
|
|
@@ -95,7 +95,6 @@
|
|
|
95
95
|
"compromise": "^14.14.4",
|
|
96
96
|
"diff": "^8.0.2",
|
|
97
97
|
"dotenv": "^17.2.1",
|
|
98
|
-
"duck-duck-scrape": "^2.2.7",
|
|
99
98
|
"franc": "^6.2.0",
|
|
100
99
|
"isomorphic-dompurify": "^2.26.0",
|
|
101
100
|
"jsdom": "^26.1.0",
|
|
@@ -79,7 +79,7 @@ export class SearchWebTool {
|
|
|
79
79
|
throw new Error('CrawlForge API key is required for search functionality');
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
// Create the search adapter (CrawlForge API or
|
|
82
|
+
// Create the search adapter (CrawlForge API proxy or Google Search API direct in Creator Mode)
|
|
83
83
|
try {
|
|
84
84
|
this.searchAdapter = SearchProviderFactory.createAdapter(apiKey, {
|
|
85
85
|
apiBaseUrl,
|