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 摘要。