This document explains the versioning system for the Firecrawl MCP Server, which supports both legacy (V1) and modern (V2) versions of the Firecrawl API.
The server provides versioned endpoints to maintain backward compatibility while supporting the latest Firecrawl features:
- V1 (Legacy): Uses Firecrawl JS 1.29.3 with extended tools
- V2 (Current): Uses Firecrawl JS 3.1.0 with modern API
When running in cloud mode, the server provides versioned endpoints:
- SSE:
/:apiKey/sse - Messages:
/:apiKey/messages
- SSE:
/:apiKey/v2/sse - Messages:
/:apiKey/v2/messages
- Health:
/health
Local services (stdio, SSE local, HTTP streamable) use the V2 implementation by default.
Available Tools:
firecrawl_scrape- Usesclient.scrapeUrl()firecrawl_map- Usesclient.mapUrl()firecrawl_crawl- Usesclient.asyncCrawlUrl()firecrawl_check_crawl_status- Usesclient.checkCrawlStatus()firecrawl_search- Web search functionalityfirecrawl_extract- LLM-powered extractionfirecrawl_deep_research- Deep research capabilitiesfirecrawl_generate_llmstxt- Generate LLMs.txt files
Key Features:
- Legacy API parameter names (
ScrapeParams,MapParams,CrawlParams) - Deep research functionality
- LLMs.txt generation
- System prompt support in extraction
Available Tools:
firecrawl_scrape- Usesclient.scrape()firecrawl_map- Usesclient.map()firecrawl_crawl- Usesclient.crawl()firecrawl_check_crawl_status- Usesclient.getCrawlStatus()firecrawl_search- Enhanced web searchfirecrawl_extract- Improved extraction
Key Features:
- Modern API parameter names (
ScrapeOptions,MapOptions) - Enhanced JSON extraction with schema support
- Improved format handling
- Better caching with
maxAgedefaults - Support for multiple search sources (web, images, news)
-
Update Endpoint URLs:
Old: /:apiKey/sse New: /:apiKey/v2/sse Old: /:apiKey/messages New: /:apiKey/v2/messages -
Tool Changes:
- Remove usage of
firecrawl_deep_researchandfirecrawl_generate_llmstxt - Update extraction calls to use the new schema format
- Leverage enhanced JSON extraction capabilities
- Remove usage of
-
Parameter Updates:
maxAgenow defaults to 172800000ms (48 hours) instead of 0onlyMainContentdefaults totrue- Enhanced format options with JSON extraction support
Use the provided test script to verify endpoint functionality:
# Test all endpoints
npm run test:endpoints
# Test with custom URL and API key
TEST_BASE_URL=http://localhost:8080 TEST_API_KEY=your-key npm run test:endpoints# Start versioned cloud server
npm run start:cloud# Start local server (V2 by default)
npm start
# Start SSE local server
SSE_LOCAL=true npm start
# Start HTTP streamable server
HTTP_STREAMABLE_SERVER=true npm startCLOUD_SERVICE=true- Enable versioned cloud endpointsFIRECRAWL_API_KEY- Your Firecrawl API keyFIRECRAWL_API_URL- Custom Firecrawl API URL (optional)PORT- Server port (default: 3000)
V1 endpoints will continue to be supported to ensure existing integrations work without modification. However, new features will only be added to V2.
For issues or questions about versioning:
- Check the health endpoint:
/health - Review the endpoint documentation above
- Test with the provided test script
- Open an issue on GitHub with version information