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
Forward resource-read _meta in vMCP and the transport bridge #6028
Transport bridge — pkg/transport/bridge.go:226,241, same shape, same
loss.
The client side needs no change: vmcp.ResourceReadResult.Meta is already
populated on both the Legacy and Modern paths
(pkg/vmcp/client/client.golegacyReadResource / modernReadResource).
Also fix the stale comment
pkg/vmcp/client/meta_integration_test.go:217 says resource _meta is
impossible "Due to MCP SDK constraints". That is wrong — go-sdk supports it;
the gap was mcpcompat's mcp-go-shaped handler signature. Update the comment and
turn the test into a real preservation assertion.
Why it matters
Closes the Legacy/Modern fork introduced by #6024: Modern preserves-and-strips
resource _meta (its hand-rolled envelope bypasses the SDK handler), Legacy
drops it. Same backend, same request, different client-visible metadata
depending on the negotiated revision.
Also finishes the resource half of #2640, which shipped tools/call and prompts/get and closed with this item open.
Acceptance
A backend's non-reserved resource-read _meta (trace ids, custom fields)
reaches the client on both revisions.
Activity
Forward resource-read _meta in vMCP and the transport bridge
Forward resource-read _meta in vMCP and the transport bridge (stacklo…