• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 30335474873

28 Jul 2026 06:38AM UTC coverage: 69.766% (+0.02%) from 69.748%
30335474873

push

github

web-flow
Complete Modern client-facing dispatch (#6050)

Serve the MCP 2026-07-28 client-facing surface that vMCP was missing.

Add subscriptions/listen as a capability-negative conformant handler. The
honored subscription set is computed by intersecting the client's request
against the same advertised capabilities server/discover publishes, so the
acknowledgement cannot promise what discover denies. vMCP advertises no push
capabilities today, so the set is always empty and the stream closes at once
rather than holding a socket open with no delivery mechanism behind it.

Without this a go-sdk v1.7 client could not complete Connect at all: it is
Modern-first, and once server/discover succeeds it opens a listen stream
whenever a list-changed handler is registered.

Add nextCursor pagination to the four Modern list verbs using keyset cursors.
Cursors are opaque to clients, which is what licenses encoding position into
the token rather than holding server-side iteration state -- necessary under a
revision that removed sessions.

The paginator is collision-safe. Keys are unique for tools but not for
resources, templates or prompts, which the aggregator appends without conflict
resolution; resuming past a key dropped every item sharing it, losing items
permanently at page boundaries.

Refs #5959, #6033, #5743, #6060, #6065.

289 of 357 new or added lines in 4 files covered. (80.95%)

12 existing lines in 5 files now uncovered.

81101 of 116248 relevant lines covered (69.77%)

97.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.56
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc