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

stacklok / toolhive / 19065673379

04 Nov 2025 10:30AM UTC coverage: 48.231% (+0.01%) from 48.22%
19065673379

push

github

web-flow
Add e2e tests for remote MCP servers (#2444)

This commit adds comprehensive end-to-end tests for remote MCP server
functionality, verifying that `thv run` works correctly with remote
servers as documented in the user guide.

The tests cover:
- Starting remote servers from the registry (mcp-spec)
- Starting remote servers with explicit URLs
- Verifying the `remote` flag is set correctly in workload metadata
- Testing MCP protocol operations (initialize, ping, list tools)
- Calling tools on remote servers (SearchModelContextProtocol)
- Server lifecycle management (stop, restart, logs)

All tests use JSON output parsing for robust validation and follow
existing e2e test patterns. Tests are labeled with "mcp" to run in
the appropriate CI worker group.

Tests verify:
- No containers are created for remote servers
- Package field shows "remote"
- Tool type is "remote"
- Remote boolean flag is true
- Transport defaults to streamable-http
- Full MCP protocol compliance

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

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

21771 of 45139 relevant lines covered (48.23%)

37.51 hits per line

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

81.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

© 2025 Coveralls, Inc