firecrawl-mcp 3.1.0 → 3.1.2

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/dist/index.js +5 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ function removeEmptyTopLevel(obj) {
37
37
  }
38
38
  class ConsoleLogger {
39
39
  debug(...args) {
40
- console.debug('[DEBUG]', new Date().toISOString(), ...args);
40
+ // console.debug('[DEBUG]', new Date().toISOString(), ...args);
41
41
  }
42
42
  error(...args) {
43
43
  console.error('[ERROR]', new Date().toISOString(), ...args);
@@ -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.0",
3
+ "version": "3.1.2",
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,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@mendable/firecrawl-js": "^4.3.4",
31
31
  "dotenv": "^17.2.2",
32
- "fastmcp": "^3.16.0",
32
+ "fastmcp": "git+https://github.com/firecrawl/fastmcp.git",
33
33
  "typescript": "^5.9.2",
34
34
  "zod": "^4.1.5"
35
35
  },