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

stacklok / toolhive / 24903886531
67%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 05:56PM UTC
Jobs 1
Files 664
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Apr 2026 05:51PM UTC coverage: 66.267% (+0.04%) from 66.229%
24903886531

push

github

web-flow
Expose hook for embedder-driven MCP elicitation (#4934)

Embedders that wrap the vMCP composer in their own pipeline cannot
today target elicitation at the mark3labs MCPServer instance that
actually serves /mcp: the field is unexported, there is no accessor,
and the SDK adapter constructor is also unexported. A parallel
MCPServer built by the embedder does not work because ClientSession
correlation is keyed to the server that received initialize.

Add two additive, read-only seams on pkg/vmcp/server:

  - (*Server).MCPServer() returns the authoritative serving instance.
  - NewSDKElicitationAdapter exports the existing adapter constructor
    so embedders can obtain a composer.SDKElicitationRequester bound
    to the serving MCPServer.

Doc comments spell out the in-process trust boundary, lifecycle
ownership, the "prefer per-session over global tool registration"
footgun, and MCP 2025-06-18 elicitation caller obligations (ctx
propagation with a bounded deadline, elicitation capability on the
client, distinct accept/decline/cancel handling, flat-schema shape,
no secrets or internal addressing in prompts).

Closes #4930

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

5 of 5 new or added lines in 2 files covered. (100.0%)

5 existing lines in 2 files now uncovered.

59203 of 89340 relevant lines covered (66.27%)

61.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
2
66.67
-8.33% pkg/process/kill_unix.go
Jobs
ID Job ID Ran Files Coverage
1 24903886531.1 24 Apr 2026 05:56PM UTC 664
66.27
GitHub Action Run
Source Files on build 24903886531
  • Tree
  • List 664
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24903886531
  • b11bcf20 on github
  • Prev Build on main (#24886077856)
  • Next Build on main (#24904854536)
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