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

stacklok / toolhive / 29594760160

17 Jul 2026 04:05PM UTC coverage: 68.592% (+0.006%) from 68.586%
29594760160

push

github

web-flow
Serve prompts per-session in vMCP (#5857)

vMCP aggregated and listed backend prompts but never served prompts/get:
injectCoreSessionCapabilities injected tools and resources per session
but skipped prompts, because the mcpcompat shim had no per-session prompt
interface. Every prompts/get returned -32602 "unknown prompt", while
prompts/list only worked because it returned the aggregated list. MCP
conformance run against a vMCP endpoint caught this (all prompts-get-*
scenarios failed).

toolhive-core v0.0.30 adds SessionWithPrompts (mirroring
SessionWithResources). Wire it in, mirroring the resource path exactly:
setSessionPromptsDirect installs the session's prompts on the SDK
session, coreSessionPrompts adapts the core's advertised prompts to SDK
prompts, and corePromptHandler routes prompts/get through core.GetPrompt
with the same identity binding, audit labelling, and authorization-denial
mapping (vmcp.DenyMessagePromptGet) the resource handler uses. Prompts are
now injected in injectCoreSessionCapabilities alongside tools and
resources.

Bumps github.com/stacklok/toolhive-core to v0.0.30.

Refs #5844

60 of 76 new or added lines in 2 files covered. (78.95%)

9 existing lines in 2 files now uncovered.

75047 of 109410 relevant lines covered (68.59%)

72.82 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 · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc