Return merged cache hints from list_all_* client methods
Maintainer antworten meist innerhalb von 3 Tagen
@gocamille arbeitet bereits daran.
Seit 29.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- Rust
- Sterne
- 4.1k
- Forks
- 680
- Ø Merge
- 3 T. 23 Std.
- Gemergte PRs (30 T.)
- 34
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus modelcontextprotocol/rust-sdk
-
auth: refresh_token() requests offline_access that was never granted, so refreshes fail with invalid_scopeEvtl. vergeben @jstar0 hat das vor 21 Tagen übernommen. Offenbug P1 ready for work T-security T-transport
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
modelcontextprotocol/rust-sdk#1330 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
auth: refresh_token() always sends `scope`, so refresh fails against Salesforce ("scope parameter not supported")Evtl. vergeben @gocamille hat das vor 1 Tag übernommen. Offenbug P1 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1408 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Enterprise-managed auth: ID-JAG `resource` claim should be optionalEvtl. vergeben @gocamille hat das vor 2 Tagen übernommen. Offenbug P1 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1404 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Auto discovery timeout rejects a late probe response during legacy initializationEvtl. vergeben @gocamille hat das vor 2 Tagen übernommen. Offenbug P1 ready for work T-service
modelcontextprotocol/rust-sdk#1400 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
URL mode elicitation requires elicitationId, which the 2026-07-28 schema removedEvtl. vergeben @gocamille hat das vor 3 Tagen übernommen. Offenbug P1 ready for work T-model
modelcontextprotocol/rust-sdk#1399 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in modelcontextprotocol/rust-sdk
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:ci kind:bug priority:p3 ready
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
srikanth235/centraid#1155 ·
Maintainer antworten meist innerhalb von 1 Tag
-
dotfiles: failed batch untrack removes earlier tracking declarationsEvtl. vergeben @jdx hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 2 Tagen