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
Adopt mcpcompat MetaKeyServerInfo and remove modernServerInfoKey #7033
ToolHive duplicates the standard MCP server-info metadata key (modernServerInfoKey) in its Modern response builder, because toolhive-core/mcpcompat/mcp did not export it. toolhive-core now exports mcp.MetaKeyServerInfo (aliasing the go-sdk constant), so the duplicate can be removed.
Blocked on
A toolhive-core release that includes the MetaKeyServerInfo export (commit 7c77e35, in the mcpcompat-meta-comments PR).
Tasks
Bump toolhive-core to the release containing mcp.MetaKeyServerInfo
Remove modernServerInfoKey and use mcp.MetaKeyServerInfo for metadata maps
Keep the literal Go struct tag
Add an assertion on both the wire key and the server identity. The core test only checks that the shim equals the SDK constant; it does not pin the protocol literal.
Notes
Additive API in core: no wire or negotiation change, and no dependency upgrade.
Activity
jhrozek commentedon Nov 3, 2026
also take into account #7032 (comment)