firecrawl-mcp 3.20.1 → 3.20.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.
package/README.md CHANGED
@@ -428,6 +428,7 @@ Scrape content from a single URL with advanced options.
428
428
  ```
429
429
 
430
430
  **Branding format:** Extracts comprehensive brand identity (colors, fonts, typography, spacing, logo, UI components) for design analysis or style replication.
431
+ **Privacy:** Set `redactPII: true` to return content with personally identifiable information redacted.
431
432
 
432
433
  **Returns:**
433
434
 
@@ -565,7 +566,8 @@ Search the web and optionally extract content from search results.
565
566
  "country": "us",
566
567
  "scrapeOptions": {
567
568
  "formats": ["markdown"],
568
- "onlyMainContent": true
569
+ "onlyMainContent": true,
570
+ "redactPII": true
569
571
  }
570
572
  }
571
573
  }
package/dist/index.js CHANGED
@@ -199,7 +199,7 @@ const server = new FastMCP({
199
199
  const envCred = resolveCredentialFromEnv();
200
200
  if (process.env.CLOUD_SERVICE === 'true') {
201
201
  if (!headerCred) {
202
- throw new Error('Firecrawl credentials required: OAuth access token (Authorization: Bearer fco_) or API key (x-firecrawl-api-key)');
202
+ throw new Error('Firecrawl credentials required: OAuth access token (Authorization: Bearer fco_...) or API key (x-firecrawl-api-key)');
203
203
  }
204
204
  return { firecrawlApiKey: headerCred };
205
205
  }
@@ -213,7 +213,7 @@ const server = new FastMCP({
213
213
  process.exit(1);
214
214
  }
215
215
  if (httpStreaming && !credential && !process.env.FIRECRAWL_API_URL) {
216
- console.error('HTTP MCP transport requires FIRECRAWL_API_URL and/or credentials (OAuth: Authorization Bearer fco_…, or FIRECRAWL_API_KEY / FIRECRAWL_OAUTH_TOKEN)');
216
+ console.error('HTTP MCP transport requires FIRECRAWL_API_URL and/or credentials (OAuth: Authorization Bearer fco_..., or FIRECRAWL_API_KEY / FIRECRAWL_OAUTH_TOKEN)');
217
217
  process.exit(1);
218
218
  }
219
219
  return { firecrawlApiKey: credential };
@@ -380,6 +380,7 @@ const scrapeParamsSchema = z.object({
380
380
  })
381
381
  .optional(),
382
382
  onlyMainContent: z.boolean().optional(),
383
+ redactPII: z.boolean().optional(),
383
384
  includeTags: z.array(z.string()).optional(),
384
385
  excludeTags: z.array(z.string()).optional(),
385
386
  waitFor: z.number().optional(),
@@ -525,6 +526,7 @@ If JSON extraction returns empty, minimal, or just navigation content, the page
525
526
  **Branding format:** Extracts comprehensive brand identity (colors, fonts, typography, spacing, logo, UI components) for design analysis or style replication.
526
527
  **Performance:** Add maxAge parameter for 500% faster scrapes using cached data.
527
528
  **Lockdown mode:** Set \`lockdown: true\` to serve the request only from the existing index/cache without any outbound network request. For air-gapped or compliance-constrained use where the request URL itself is considered sensitive. Errors on cache miss. Billed at 5 credits.
529
+ **Privacy:** Set \`redactPII: true\` to return content with personally identifiable information redacted.
528
530
  **Returns:** JSON structured data, markdown, branding profile, or other formats as specified.
529
531
  ${SAFE_MODE
530
532
  ? '**Safe Mode:** Read-only content extraction. Interactive actions (click, write, executeJavascript) are disabled for security.'
@@ -1361,6 +1363,7 @@ if (process.env.CLOUD_SERVICE !== 'true') {
1361
1363
  })
1362
1364
  .optional(),
1363
1365
  onlyMainContent: z.boolean().optional(),
1366
+ redactPII: z.boolean().optional(),
1364
1367
  includeTags: z.array(z.string()).optional(),
1365
1368
  excludeTags: z.array(z.string()).optional(),
1366
1369
  removeBase64Images: z.boolean().optional(),
@@ -1402,6 +1405,7 @@ This is the fastest and most reliable way to extract content from a document on
1402
1405
 
1403
1406
  **Supported file types:** .html, .htm, .xhtml, .pdf, .docx, .doc, .odt, .rtf, .xlsx, .xls
1404
1407
  **Unsupported options:** actions, screenshot/branding/changeTracking formats, waitFor > 0, location, mobile, proxy values other than "auto" or "basic".
1408
+ **Privacy:** Set \`redactPII: true\` to return content with personally identifiable information redacted.
1405
1409
 
1406
1410
  **CRITICAL - Format Selection (same rules as firecrawl_scrape):**
1407
1411
  When the user asks for SPECIFIC data points from a document, you MUST use JSON format with a schema. Only use markdown when the user needs the ENTIRE document content.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl-mcp",
3
- "version": "3.20.1",
3
+ "version": "3.20.2",
4
4
  "description": "MCP server for Firecrawl — search, scrape, and interact with the web. Supports both cloud and self-hosted instances. Features include web search, scraping, page interaction, batch processing, and LLM-powered content analysis.",
5
5
  "type": "module",
6
6
  "mcpName": "io.github.firecrawl/firecrawl-mcp-server",