firecrawl-mcp 3.23.8 → 3.23.9

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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -18,8 +18,10 @@ var MAX_PASSAGE_CHARS = 1200;
18
18
  function fmtDeveloper(results) {
19
19
  if (!results || results.length === 0) return "(no results)";
20
20
  return results.map((r) => {
21
- const kind = r.type ? ` (${r.type})` : "";
22
- const lines = [`## [${r.id ?? "?"}]${kind} ${r.title ?? "(untitled)"}`];
21
+ const id = r.id ?? "?";
22
+ const kind = r.id?.split(":", 1)[0];
23
+ const kindLabel = kind ? ` (${kind})` : "";
24
+ const lines = [`## [${id}]${kindLabel} ${r.title ?? "(untitled)"}`];
23
25
  if (r.url) lines.push(r.url);
24
26
  const body = (r.passages ?? []).map((p) => p.text ?? "").join("\n---\n").trim();
25
27
  lines.push(body ? body.slice(0, MAX_PASSAGE_CHARS) : "(no content)");
@@ -586,7 +588,7 @@ function fmtGithub(results) {
586
588
  if (!results || results.length === 0) return "(no results)";
587
589
  return results.map((r) => {
588
590
  const lines = [];
589
- if (r.resultType === "repo_readme") {
591
+ if (r.number == null && r.pageType == null) {
590
592
  lines.push(`[${r.repo ?? "?"}] README`);
591
593
  } else {
592
594
  const ref = r.number != null ? `#${r.number}` : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl-mcp",
3
- "version": "3.23.8",
3
+ "version": "3.23.9",
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",