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

Ouverte
#21,071 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
73/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
shell

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Shell
Étoiles
22
Forks
2
Merge moyen
3 h 20 min
PR mergées (30 j)
956

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de melodic-software/claude-code-plugins

Toutes les issues de melodic-software/claude-code-plugins

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.