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

stacklok / toolhive / 19136370073

06 Nov 2025 12:56PM UTC coverage: 48.359% (-0.03%) from 48.386%
19136370073

push

github

web-flow
Support MCP servers with partial capabilities in vmcp (#2416)

The vmcp was rejecting backends that don't implement all three MCP
capabilities (tools, resources, prompts). This violated the MCP
specification, which explicitly makes all capabilities optional.

The oci-registry MCP server only implements tools, causing vmcp to
fail during aggregation when it tried to unconditionally query
resources and prompts.

Changes:
- Query server capabilities during MCP initialization handshake
- Conditionally query only advertised capabilities
- Return empty results for unsupported capabilities
- Add tests for backends with partial capability support

This allows vmcp to successfully aggregate backends that implement
any subset of tools, resources, and prompts, as intended by the
MCP specification.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

13 of 62 new or added lines in 1 file covered. (20.97%)

6 existing lines in 2 files now uncovered.

22092 of 45683 relevant lines covered (48.36%)

37.14 hits per line

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

82.27
/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

© 2025 Coveralls, Inc