firecrawl-mcp 1.7.0 → 1.7.1

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 +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -767,6 +767,10 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
767
767
  if (options.formats?.includes('extract') && response.extract) {
768
768
  contentParts.push(JSON.stringify(response.extract, null, 2));
769
769
  }
770
+ // If options.formats is empty, default to markdown
771
+ if (!options.formats || options.formats.length === 0) {
772
+ options.formats = ['markdown'];
773
+ }
770
774
  // Add warning to response if present
771
775
  if (response.warning) {
772
776
  safeLog('warning', response.warning);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl-mcp",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "MCP server for FireCrawl web scraping integration. Supports both cloud and self-hosted instances. Features include web scraping, batch processing, structured data extraction, and LLM-powered content analysis.",
5
5
  "type": "module",
6
6
  "bin": {