Stop telling firecrawl users to keep the MCP server beside the CLI, and state its idle cost

未關閉
#21,071 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
73/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
shell

研究方向

Start with plugins/firecrawl/skills/firecrawl/context/mcp-or-cli.md, especially the routing guidance at lines 5–8 and the “Running both” section at lines 22–27; check SKILL.md for any related MCP routing. Update the guidance so the CLI is the default, existing MCP access remains an optional route, and the costs page explains idle overhead without adding cost figures. Then update the changelog fragment and eval expectations named in the issue; done when both CLI-only and MCP-only sessions have a working route.

由索引模型根據 Issue 內容生成。

描述

Problem

plugins/firecrawl/skills/firecrawl/context/mcp-or-cli.md:24 says "When a session has both, keep
both". The page routes one-page and one-search calls to the MCP tools (:5-8) and everything else
to the CLI. The plugin ships neither interface (:24), so the MCP server comes from the user's own
registration, and it starts in every session whether or not the session uses it. On a machine that
runs many sessions at once, "keep both" costs a server per session for calls the CLI also covers.

Evidence

  • Read on origin/main this pass: the "Running both" section (:22-27) and the one-page routing
    (:5-8). The page already cites Anthropic's
    Reduce MCP server overhead (:34).
  • Measured by another session on 2026-12-04 with 16 concurrent sessions (not re-measured here): each
    firecrawl MCP server was about 71 MB, plus about 68 MB for the npx wrapper that stays alive beside
    it, plus a cmd.exe and conhost on Windows. 15 servers came to about 1.07 GB, and the wrappers to
    about 1 GB more.
  • Reported, not re-checked here: the CLI (firecrawl-cli 1.28.0) covers the one-page and one-search
    case, with -o and a partial read, and runs only when called.

Proposed approach

Owner decided option 1 (2026-12-04):

  1. Chosen: make the CLI the default for every call, the MCP tools optional when a session
    already has the server; replace "keep both" with the idle per-session cost so a user running many
    sessions can drop the registration.
  2. Not chosen: keep today's routing, and add only the idle-cost note to "Running both".

Either way the plugin keeps working for a consumer who has only the MCP server (consumer-agnostic
rule: no option removed). Files: mcp-or-cli.md, SKILL.md if it routes to the MCP tools, the
firecrawl changelog fragment, evals whose expected route changes.

Acceptance criteria

  • mcp-or-cli.md no longer says to keep both without stating the idle per-session cost.
  • One-page and one-search calls route to the CLI by default; the MCP tools are named as optional.
  • A session with only the MCP server, and one with only the CLI, each still get a working route.
  • No price or per-task cost figures (.claude/rules/cost-claims.md); point at the costs page.

Constraints and gotchas

  • Memory figures belong in this issue, not the skill body (cost-claims rule; volatile numbers stay
    out of skills).
  • The same question applies to @playwright/mcp (14 servers, about 1 GB plus wrappers in the same
    measurement), but the playwright plugin ships no guidance that keeps the MCP server, so there the
    choice is user configuration only.

Context

Reported by a peer Performance session measuring per-session overhead. Related: #20549 (hook and
session-overhead epic).

主要語言
Shell
星號
22
分支
2
平均合併
3 小時 20 分鐘
30 天內合併 PR
956

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。