Skip to content

fix: forward SEP-2243 parameter headers - #109

Draft
lucarlig wants to merge 13 commits into
user/luca/add-client-conformancefrom
user/luca/sep2243-rmcp-headers
Draft

fix: forward SEP-2243 parameter headers#109
lucarlig wants to merge 13 commits into
user/luca/add-client-conformancefrom
user/luca/sep2243-rmcp-headers

Conversation

@lucarlig

@lucarlig lucarlig commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • forward client-supplied Mcp-Param-* headers unchanged on upstream tools/call
  • keep those headers protected from backend pass-through, add, and remove configuration
  • leave plugin payload handling unchanged; argument rewrites do not rewrite the copied headers
  • let RMCP regenerate Mcp-Method, the routed Mcp-Name, and MCP-Protocol-Version

The dataplane does not fetch tool schemas, call tools/list, decode, validate, or reconstruct parameter headers. The upstream MCP server owns validation.

Stacked on #107. No control-plane change, RMCP update, or new runtime dependency is required.

Related: IBM/mcp-context-forge#6256.

Verification

  • cargo fmt --all -- --check
  • cargo clippy --locked --workspace --all-targets -- -D warnings
  • cargo nextest run --locked --workspace (223 passed, 3 skipped)
  • workspace build, dependency-policy, shear, and wiki checks
  • MCP_CONFORMANCE_COLOR=never make conformance (four shell-adapter generation check IDs baselined; no unexpected failures)
  • focused tests cover opaque mismatched-value forwarding, backend-config protection, and plugin payload rewrites

@lucarlig lucarlig changed the title fix: generate SEP-2243 parameter headers fix: require stateless metadata and generate SEP-2243 headers Aug 21, 2026
@lucarlig lucarlig changed the title fix: require stateless metadata and generate SEP-2243 headers fix: validate and generate SEP-2243 headers Aug 21, 2026
@lucarlig lucarlig changed the title fix: validate and generate SEP-2243 headers fix: validate and forward SEP-2243 headers Aug 21, 2026
@lucarlig lucarlig changed the title fix: validate and forward SEP-2243 headers fix: forward SEP-2243 parameter headers Aug 21, 2026
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant