fix: start the MCP servers from a script the plugin ships

Aperta Adatta ai principianti
#214 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
bash, dart, shell
Ambito
tooling

Direzione di ricerca

Inizia da plugin/.mcp.json e dalla sezione MCP Integration di plugin/README.md; verifica come gli hook esistenti invocano gli script e come il plugin risolve ${CLAUDE_PLUGIN_ROOT}. Aggiungi un launcher distribuito per ciascun server in plugin/mcp/, poi conferma che entrambe le configurazioni passino argomenti semplici a questi launcher. Il lavoro è completato quando entrambi i server si avviano da un'installazione marketplace, Validate accetta i comandi, i nomi degli strumenti restano invariati e i controlli CI/CD passano.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug p1

Description

Validate refuses the version with "MCP server command wasn't read" for both servers in plugin/.mcp.json. They start dart and very_good straight from the user's PATH.

The portal wants each local server started from a file the plugin ships, run with node, python3, python, bash or sh. That file may start a program the user has installed.

The proposal is one small script per server under plugin/mcp/, each running exec dart mcp-server --enable dart_format or exec very_good mcp. .mcp.json then runs bash with the script path under ${CLAUDE_PLUGIN_ROOT} and plain arguments.

Requirements

  • Both servers start through a shipped script, with plain arguments
  • Tool names stay the same, so allowed-tools, hooks and evals keep matching
  • Both servers still start in Claude Code from the marketplace install
  • Validate no longer reports "MCP server command wasn't read"
  • plugin/README.md MCP Integration section is up to date
  • All CI/CD checks are passing

Additional Context

  • Windows: bash starts only if Windows finds one on the PATH. Same as our hooks today.
Lingua principale
Shell
Stelle
180
Fork
25
Merge medio
1g 7h
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di VeryGoodOpenSource/vgv-ai-flutter-plugin

Tutte le issue di VeryGoodOpenSource/vgv-ai-flutter-plugin

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.