firecrawl-mcp 3.1.1 → 3.1.3
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/index.js +5 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import dotenv from 'dotenv';
|
|
3
|
-
import { FastMCP } from 'fastmcp';
|
|
3
|
+
import { FastMCP } from 'firecrawl-fastmcp';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import FirecrawlApp from '@mendable/firecrawl-js';
|
|
6
6
|
dotenv.config();
|
|
@@ -196,8 +196,8 @@ This is the most powerful, fastest and most reliable scraper tool, if available
|
|
|
196
196
|
const { url, ...options } = args;
|
|
197
197
|
const client = getClient(session);
|
|
198
198
|
const cleaned = removeEmptyTopLevel(options);
|
|
199
|
-
log.info('Scraping URL', { url });
|
|
200
|
-
const res = await client.scrape(url, { ...cleaned, origin: ORIGIN });
|
|
199
|
+
log.info('Scraping URL', { url: String(url) });
|
|
200
|
+
const res = await client.scrape(String(url), { ...cleaned, origin: ORIGIN });
|
|
201
201
|
return asText(res);
|
|
202
202
|
},
|
|
203
203
|
});
|
|
@@ -233,8 +233,8 @@ Map a website to discover all indexed URLs on the site.
|
|
|
233
233
|
const { url, ...options } = args;
|
|
234
234
|
const client = getClient(session);
|
|
235
235
|
const cleaned = removeEmptyTopLevel(options);
|
|
236
|
-
log.info('Mapping URL', { url });
|
|
237
|
-
const res = await client.map(url, { ...cleaned, origin: ORIGIN });
|
|
236
|
+
log.info('Mapping URL', { url: String(url) });
|
|
237
|
+
const res = await client.map(String(url), { ...cleaned, origin: ORIGIN });
|
|
238
238
|
return asText(res);
|
|
239
239
|
},
|
|
240
240
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firecrawl-mcp",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "MCP server for Firecrawl web scraping integration. Supports both cloud and self-hosted instances. Features include web scraping, search, batch processing, structured data extraction, and LLM-powered content analysis.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@mendable/firecrawl-js": "^4.3.4",
|
|
31
31
|
"dotenv": "^17.2.2",
|
|
32
|
-
"fastmcp": "^
|
|
32
|
+
"firecrawl-fastmcp": "^1.0.0",
|
|
33
33
|
"typescript": "^5.9.2",
|
|
34
34
|
"zod": "^4.1.5"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
37
|
+
"node": ">=18.0.0"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
40
40
|
"mcp",
|