Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Filesystem README recommends deprecated MCP Roots protocol for restricting directory access

Aperta Adatta ai principianti
#4,844 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
documentation

Direzione di ricerca

Inizia con la sezione di README.md sulla limitazione dell’accesso al filesystem tramite Roots e confronta le indicazioni con la specifica MCP referenziata sulle funzionalità deprecate. Verifica se l’implementazione del server utilizza ListRootsRequest, come suggerisce l’issue, e annota qualsiasi follow-up necessario. Il lavoro è considerato completato quando README.md documenta le alternative attuali, contrassegna come legacy le indicazioni su Roots mantenute, se applicabile, e descrive chiaramente la configurazione di accesso supportata.

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

Descrizione

Summary

The README.md contains a section recommending the use of the MCP Roots protocol as the mechanism for restricting which directories the filesystem server can access. However, according to the current official MCP specification, Roots is deprecated as of protocol version 2026-07-28 and scheduled for removal.

Source: MCP Specification — Deprecated features

Why this matters

  • New users following the README will adopt a deprecated mechanism that is scheduled for removal from the protocol.
  • Roots-based access restriction may not work with newer MCP clients, so the documented guidance will break over time.
  • The project's documented access-control story should stay aligned with the current specification.

Suggested changes

  • Update the README section to stop recommending Roots as the primary way to restrict directory access
  • Document the alternatives recommended by the spec:
    • passing directories/files via tool parameters
    • resource URIs
    • server configuration (e.g., allowed directories passed via CLI arguments, which the server already supports)
  • If any Roots-related guidance or behavior is kept, mark it explicitly as legacy/deprecated with a pointer to the migration guidance
  • Check whether the server implementation itself relies on Roots (e.g., ListRootsRequest) and, if so, open a follow-up issue for migrating away from it

References

Lingua principale
TypeScript
Stelle
90.6k
Fork
11.7k
Merge medio
23h 41m
PR unite (30g)
3

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 modelcontextprotocol/servers

Tutte le issue di modelcontextprotocol/servers

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.