Return merged cache hints from list_all_* client methods
Los mantenedores suelen responder en 3 días
@gocamille ya está trabajando en esto.
Desde el 29/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The Peer::list_all_* methods (tools, prompts, resources, resource templates, skills) follow the cursor across pages and return only the items. On 2026-07-28 each page carries ttlMs and cacheScope, and the merged list drops them, so a client that uses list_all_* cannot cache the result correctly.
Proposal: also expose a cache hint for the merged list.
ttlMs: the earliest expiry across pages. Each page's hint is relative to when that page arrived, so take the minimum ofrequestTime + ttlMsand convert it back to a TTL relative to the end of the walk.cacheScope:publiconly if every page ispublic, otherwiseprivate.- A page without hints (legacy peers, or a server that omits them) makes the merged hint absent.
Changing the return type of the existing methods would be a breaking change, so this would add new API next to them, for example a ListAll<T> { items, ttl_ms, cache_scope } returned by new methods, or a single generic helper.
Suggested by @tsarlandie-oai in https://github.com/modelcontextprotocol/rust-sdk/pull/1392#discussion_r4416288583.
- Lenguaje dominante
- Rust
- Estrellas
- 4.1k
- Forks
- 680
- Merge medio
- 3 d 23 h
- PR fusionados (30 d)
- 34
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de modelcontextprotocol/rust-sdk
-
auth: refresh_token() requests offline_access that was never granted, so refreshes fail with invalid_scopePosiblemente ocupada @jstar0 la tomó hace 22 días. Abiertobug P1 ready for work T-security T-transport
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
modelcontextprotocol/rust-sdk#1330 ·
Los mantenedores suelen responder en 3 días
-
auth: refresh_token() always sends `scope`, so refresh fails against Salesforce ("scope parameter not supported")Posiblemente ocupada @gocamille la tomó hace 1 día. Abiertobug P1 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1408 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
Enterprise-managed auth: ID-JAG `resource` claim should be optionalPosiblemente ocupada @gocamille la tomó hace 2 días. Abiertobug P1 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1404 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
Auto discovery timeout rejects a late probe response during legacy initializationPosiblemente ocupada @gocamille la tomó hace 3 días. Abiertobug P1 ready for work T-service
modelcontextprotocol/rust-sdk#1400 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
URL mode elicitation requires elicitationId, which the 2026-07-28 schema removedPosiblemente ocupada @gocamille la tomó hace 3 días. Abiertobug P1 ready for work T-model
modelcontextprotocol/rust-sdk#1399 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de modelcontextprotocol/rust-sdk
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
dekobon/big-code-analysis#1729 ·
Los mantenedores suelen responder en 1 día
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
-
Cline: allowlist capture drops every event because the capture gate ignores `workspaceRoots`Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
akitaonrails/ai-memory#1888 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
peteonrails/voxtype#941 ·
Los mantenedores suelen responder en 4 días
-
bug priority:medium triage:maintainable
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ccusage/ccusage#2000 · 3 comentarios ·
Los mantenedores suelen responder en 1 día