Skip to content

feat: advertise cacheable list results and server display metadata - #20

Merged
SVilgelm merged 1 commit into
mainfrom
feat/sdk-1.7-cacheable-lists
Aug 9, 2026
Merged

feat: advertise cacheable list results and server display metadata#20
SVilgelm merged 1 commit into
mainfrom
feat/sdk-1.7-cacheable-lists

Conversation

@SVilgelm

@SVilgelm SVilgelm commented Aug 9, 2026

Copy link
Copy Markdown
Member

Picks up two optional go-sdk v1.7.0 features that apply to this server.

Tool and prompt sets are registered once at startup and never change, so the listings now carry a one-hour ttlMs freshness hint (SEP-2549) instead of the SDK default of zero, which marks every listing immediately stale and keeps clients re-polling. Note that the SDK's own docs suggest AddSendingMiddleware for this, but on a server that only wraps requests the server itself initiates — tools/list arrives through the receiving path, so the middleware is registered there.

The server's Implementation also now carries Title, the new-in-1.7.0 Description, and WebsiteURL, giving hosts something friendlier than the binary name to display.

Nothing else in v1.7.0 needs action here: MRTR, custom methods, subscriptions/listen, stateless HTTP, and server/discover are either automatic or don't apply to a stdio read-only server, and the roots/sampling/logging deprecations touch nothing this server uses.

Assisted-By: Claude Opus 5 (1M context)
Signed-off-by: Sergey Vilgelm <sergey@vilgelm.com>
Copilot AI lite review requested due to automatic review settings August 9, 2026 00:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SVilgelm
SVilgelm merged commit d2cfe26 into main Aug 9, 2026
5 checks passed
@SVilgelm
SVilgelm deleted the feat/sdk-1.7-cacheable-lists branch August 9, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants