You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: run MCP conformance suite against ToolHive (thv run) #5803
Continuously verify that ToolHive's proxy/transport layer is faithful to the MCP
specification by running the upstream MCP conformance suite
against a ToolHive deployment in CI. This gives the epic (#5743) an automated,
spec-authored compliance signal that regresses loudly.
Background
ToolHive is a proxy in front of MCP servers, so pointing the conformance suite at
a thv run endpoint measures the composition ToolHive proxy ∘ server. Using the
conformance repo's own reference server (which implements the required fixtures)
isolates ToolHive's contribution.
A manual characterization run established:
Reference server direct = 44/44 (--suite all).
Through thv run (CLI proxy) = 44/44 — the CLI proxy is transport-transparent.
Proposed change
A per-PR CI job that:
packages the conformance repo's reference server dynamically (cloned at a pinned
version, built into a container image),
runs it through thv run --transport streamable-http,
runs the active suite against the proxied /mcp endpoint, gated by an expected-failures.yaml baseline (empty — any drop is a real regression),
plus a task conformance target for local runs.
A single CONFORMANCE_VERSION pins both the npm tool and the git server source
(repo tags map 1:1 to npm versions), keeping fixtures and tool in lockstep.
Scope
In: CLI (thv run) path, active suite.
Out (follow-ups):
k8s operator proxy — it rewrites the outbound Host header to the upstream
Service identity, which breaks MCP servers that validate Host per the spec's
DNS-rebinding guidance. Needs a fix before a k8s conformance gate is meaningful.
stdio→streamable-http bridge — the reference server is HTTP-only; covering
the bridge needs a stdio fixture server.
Activity
Add MCP conformance CI job for thv run proxy (#5806)