Commit Graph
257 Commits
Author SHA1 Message Date
mogery 3788f1ec57 feat: add parse fn 2026-04-21 18:05:57 +01:00
Eric Ciarla a90089f050 Minor copy updates 2026-04-14 20:27:27 -04:00
Nicolas 6fef044379 (feat/interact) Interact (#193)
* Nick:

* Update index.ts

* Update index.ts

* Update README.md

* Nick:
2026-03-23 17:05:47 -03:00
Developers Digest d267d9beb2 expand firecrawl_agent not-recommended list to reduce false triggers 2026-03-13 12:56:43 -04:00
Developers Digest b97e107358 add query format support (#187) (#190)
* add query format support to scrape tool

* bump version to 3.12.0

* prefer markdown over query format in scrape tool description

MCP agents can read and reason over scraped content directly —
the query format is redundant when the agent already has the
scrape result. default guidance now recommends markdown.
2026-03-12 15:59:01 -07:00
Nicolas 655c9f6635 Update package.json 2026-03-12 10:02:42 -07:00
Nicolas b4a4347c45 Update package.json 2026-03-12 10:01:12 -07:00
Developers Digest 4e03036c98 Merge pull request #188 from firecrawl/revert-185-remove-agent
Revert "Bump version; remove firecrawl agent tools"
2026-03-12 16:54:46 +00:00
Developers Digest cd168a2b3b Revert "Bump version; remove firecrawl agent tools" 2026-03-12 12:54:32 -04:00
Developers Digest 9585ec36ce Merge pull request #185 from firecrawl/remove-agent
Bump version; remove firecrawl agent tools
2026-03-12 00:22:25 +00:00
Developers Digest 8ea8263f5e Bump version; remove firecrawl agent tools
Update package version to 3.11.0 and remove the asynchronous agent features from the server API. The firecrawl_agent and firecrawl_agent_status tool registrations (and their detailed usage/polling docs) were deleted from src/index.ts and the usage guidance was simplified to prefer firecrawl_map + scrape (use map when scrape fails). Consumers should stop calling the removed agent endpoints and migrate workflows to map+scrape or other supported tools.
2026-03-11 20:11:30 -04:00
Nicolas caf6e6b235 Nick: bump version 2026-03-03 12:22:47 -08:00
Nicolas d86de741d0 Revert "Nick: integration"
This reverts commit 68278765d9.
2026-03-03 10:43:38 -08:00
Nicolas 68278765d9 Nick: integration 2026-03-03 10:41:12 -08:00
Leonardo Grigorio a44a3c2386 Merge pull request #165 from firecrawl/fix/gemini-anyof-schema-compat
fix(schema): replace anyOf unions with flat params for Gemini compatibility
2026-03-03 09:42:46 -03:00
Developers Digest 1435e45469 Add browser profile support and bump version (#171) 2026-02-26 14:39:43 -08:00
firecrawl-spring[bot] 4e8da309a3 fix(schema): replace anyOf unions with flat params for Gemini compatibility
Google Gemini's function calling API rejects tool schemas that use
anyOf alongside other fields. This replaces all z.union() usages with
flat parameter alternatives:

- formats: now a simple string enum array (added 'json' to the enum)
- jsonOptions: new param for JSON extraction prompt/schema
- screenshotOptions: new param for screenshot fullPage/quality/viewport
- parsers: now a simple string enum array
- pdfOptions: new param for PDF maxPages
- webhook (crawl): now a simple string, with separate webhookHeaders

Helper functions (buildFormatsArray, buildParsersArray, buildWebhook,
transformScrapeParams) reassemble the nested format the API expects
from the flat MCP params at execution time.

Closes #164
2026-02-20 04:09:52 +00:00
Nicolas d2af56feb8 Update pnpm-lock.yaml 2026-02-16 18:57:06 -08:00
Nicolas 7dd9674a0d Update package.json 2026-02-16 18:55:54 -08:00
Developers DigestandNicolas 998d27b6fa b (#162)
* init browser

* Bump firecrawl and update session API

Upgrade @mendable/firecrawl-js to 4.13.0-beta.3 and update the session API: rename TTL parameters (ttlTotal -> ttl, ttlWithoutActivity -> activityTtl), adjust documentation and zod schemas/types accordingly, and change the execute-language options by replacing 'js' with 'node' and adding 'bash' (including examples and types).

* Add npm tag logic; update browser execute docs

CI: Change publish workflow to run on pushes to main when package.json changes and keep manual dispatch. Add a step to determine npm tag (beta if version contains "beta", otherwise latest) and pass that tag to pnpm publish. Only run MCP publisher install/login/publish steps when the tag is "latest" to avoid publishing prereleases to the MCP registry.

Code: Update firecrawl_browser_execute docs and parameter ordering in src/index.ts. The description now recommends using bash agent-browser commands by default (with examples and command reference), provides a Python example for Playwright scripting, and adjusts the language enum/default ordering accordingly. These docs clarify usage and preferred workflows for browser automation.

* revert beta release ci back

* update readme

* Update package.json

---------

Co-authored-by: Nicolas <20311743+nickscamara@users.noreply.github.com>
2026-02-16 18:54:26 -08:00
Leonardo Grigorio 0159dda1b0 Merge pull request #157 from firecrawl/feat/scrape-map-fallback-guidance
docs(scrape): add map tool as fallback step for SPA/JS-heavy pages
2026-02-05 13:27:48 -08:00
firecrawl-spring[bot]andleonardogrig ab3292ec1c docs(map): emphasize map+scrape workflow before using agent
- Enhanced map tool description to highlight its role in finding
  specific page URLs when scrape returns empty results
- Added search parameter example showing the recommended workflow
- Removed waitFor from default scrape JSON example (it's optional,
  only needed when JS rendering requires extra wait time)

Co-Authored-By: leonardogrig <leo@sideguide.dev>
2026-02-05 20:59:51 +00:00
firecrawl-spring[bot]andleonardogrig 051b49d5f5 docs(scrape): add map tool as fallback step for SPA/JS-heavy pages
When scrape returns empty or minimal content from JavaScript-rendered
pages, guide users to try firecrawl_map with a search parameter to
discover the specific page URL before falling back to firecrawl_agent.

This is more efficient than immediately using the agent, as many large
documentation sites spread content across multiple URLs that can be
discovered via map.

Co-Authored-By: leonardogrig <leo@sideguide.dev>
2026-02-05 20:55:56 +00:00
Leonardo Grigorio 72b0f4ab7c Merge pull request #156 from firecrawl/fix/json-format-preference-and-spa-recovery
fix(tools): improve JSON format preference and SPA handling
2026-02-05 12:39:14 -08:00
firecrawl-spring[bot]andleonardogrig 10fb2a02c5 fix(tools): improve JSON format preference and SPA handling
- Scrape tool: Add stronger JSON format guidance with clear decision heuristics
- Scrape tool: Add JavaScript/SPA troubleshooting section (waitFor, URL strategies)
- Scrape tool: Remove references to non-existent batch_scrape (fixes #130)
- Agent tool: Add patient polling guidance (2-3 min minimum, expected wait times)
- Agent status tool: Emphasize not giving up early on polling
- Search tool: Fix sources examples to use object format (fixes #127)

The key changes ensure agents:
1. Use JSON format when extracting specific data points (not markdown)
2. Try waitFor and URL strategies before giving up on JavaScript pages
3. Poll agent status for at least 2-3 minutes before timing out

Co-Authored-By: leonardogrig <leo@sideguide.dev>
2026-02-05 20:36:21 +00:00
Leonardo Grigorio d86c35efdf Merge pull request #155 from firecrawl/feat/json-format-default
feat(scrape): make JSON format the default, markdown for full content only
2026-02-05 11:58:26 -08:00
firecrawl-spring[bot]andleonardogrig ec42a7add0 feat(scrape): make JSON format the default, add async agent, add branding example
Change tool guidance to recommend JSON format by default for scraping.
This prevents context window overflow by extracting only the specific
data needed rather than dumping entire page content.

Changes:
- Update firecrawl_scrape description to prioritize JSON format
- Add branding format example and description
- Change firecrawl_agent to async pattern (returns job ID immediately)
- Agent now uses startAgent() instead of blocking agent() wrapper
- Add polling workflow: start agent → do other work → poll status
- Add comprehensive agent documentation to README

Co-Authored-By: leonardogrig <leo@sideguide.dev>
2026-02-05 19:55:50 +00:00
Leonardo Grigorio 2269638141 Merge pull request #154 from firecrawl/docs/json-format-token-limit-guidance
docs(scrape): add JSON format guidance for token limit issues
2026-02-05 09:15:56 -08:00
firecrawl-spring[bot]andleonardogrig d27fbec0e8 docs(scrape): add JSON format guidance for token limit issues
- Remove outdated 'use extract' recommendation from scrape tool description
- Add Token Limit Issues section explaining how to use JSON format
- Add JSON format example with schema and prompt for structured extraction

This helps users who encounter 'tokens exceeds maximum allowed tokens' errors
by guiding them to use the JSON format which returns only the specific data
they need instead of the full page content.

Co-Authored-By: leonardogrig <leo@sideguide.dev>
2026-02-05 16:59:14 +00:00
Nicolas 40499b2857 Update package.json 2026-01-29 16:31:34 -08:00
firecrawl-spring[bot]andnickscamara d9e12f00dc feat: add enhanced proxy option (#148)
Add "enhanced" as a new proxy option in the MCP server. This aligns with the API changes that add "enhanced" as an alias for "stealth".

Co-authored-by: firecrawl-spring[bot] <254786068+firecrawl-spring[bot]@users.noreply.github.com>
Co-authored-by: nickscamara <nick@sideguide.dev>
2026-01-29 16:30:25 -08:00
Gergő Móricz fd1bd2d021 fix ci 2026-01-20 23:34:17 +01:00
Gergő Móricz f2975a0b37 fix ci 2026-01-20 23:23:19 +01:00
Gergő Móricz 969d80551a pnpm 2026-01-19 21:43:26 +01:00
Nicolas dcd123d656 Nick: update schema 2025-12-24 13:42:25 -03:00
Nicolas 0449da728b Nick: 2025-12-24 13:39:44 -03:00
Nicolas 8a2b05c25b Update server.json 2025-12-24 13:39:13 -03:00
Nicolas f1333e997c Update package.json 2025-12-24 13:36:24 -03:00
Nicolas c940a970e9 Update package.json 2025-12-24 13:36:18 -03:00
Nicolas c0cdb470a5 Update package.json 2025-12-24 13:34:56 -03:00
Nicolas 31e5e45720 Update publish.yml 2025-12-24 13:34:48 -03:00
Himanshu GuptaandNicolas ac5d7eba0b feat: add proxy parameter to scrapeParamsSchema (#138)
* feat: add proxy parameter to scrapeParamsSchema

Add support for the 'proxy' parameter with values 'basic', 'stealth',
or 'auto' to enable proxy control for scraping websites with anti-bot
solutions.

This parameter is now available in:
- firecrawl_scrape (direct parameter)
- firecrawl_search (via scrapeOptions)
- firecrawl_crawl (via scrapeOptions)

* Update package.json

---------

Co-authored-by: Nicolas <20311743+nickscamara@users.noreply.github.com>
2025-12-24 22:02:00 +05:30
Leonardo Grigorio 0d798a8a5f Merge pull request #139 from firecrawl/feat/agent
Feat/agent
2025-12-18 18:00:19 -03:00
Leonardo Grigorio 3421a797ca Update index.ts 2025-12-18 15:44:17 -03:00
Leonardo Grigorio a9b6bf7101 Add enterprise options to search parameters
Introduces an optional 'enterprise' parameter to the search API, allowing users to specify 'zdr' for zero data retention or 'anon' for anonymous mode. Updates documentation to describe these new options.
2025-12-18 15:18:10 -03:00
Leonardo Grigorio d89c64a186 Add firecrawl agent and agent status tools
Introduces two new tools: 'firecrawl_agent' for autonomous web data gathering based on a prompt, and 'firecrawl_agent_status' to check the status of agent jobs. Also updates @mendable/firecrawl-js dependency to version 4.9.3.
2025-12-18 14:54:42 -03:00
Nicolas d757025e2e Nick: 2025-11-22 18:00:18 -03:00
Nicolas a74788c2ac Nick: fastmcp upgrade 2025-11-15 14:03:08 -03:00
Abimael Martell 186c4571c8 Add Branding Format to Scrape (#132)
* Add Branding Format to Scrape

* version bump
2025-11-06 15:04:29 -08:00
Nicolas e35ab3267e Nick: 3.5.2 2025-10-19 12:08:40 -03:00