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

Đang mở
#21,071 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
73/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
3 giờ 20 phút
Pull request đã merge (30 ngày)
956

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.